joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4871bf
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x48723f
cmp dword [ebp + 0xc], ecx
jne 0x48723f
cmp dword [ebx + 0x94], ecx
jne 0x48723f
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x487235
cmp eax, 0xffffffff
je 0x487235
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.00411315
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x48723f
xor eax, eax
jmp 0x48737f
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x48727a
cmp dword [ebp + 0xc], 0
jne 0x48727a
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.00411315
test eax, eax
jne 0x48722e
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x4872a0
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x4872a0
cmp eax, 0xffffffff
je 0x4872a0
cmp dword [ebx + 0x90], ecx
jne 0x4872a0
cmp dword [ebx + 0xa8], ecx
je 0x48722e
push dword [ebx + 0x6c]
push 0x567bcc
call fcn.00419418
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x4872d9
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x48733f
push edi
jmp 0x48733a
push dword [ebx + 0x6c]
push 0x567784
call fcn.00419418
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x487305
cmp eax, edi
je 0x487305
cmp dword [0x56d6d4], edi
jne 0x487305
push 1
push ebx
mov ecx, eax
call fcn.0046bf9f
jmp 0x487332
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48731d
push edi
call fcn.00427095
cmp eax, edi
je 0x48731d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x48722e
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x48733f
push ebx
call fcn.00429bd3
cmp dword [ebx + 0x6c], edi
je 0x48737c
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041a198
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x49b9a3
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x51d3c1
call fcn.004fdf0c
xor edi, edi
cmp dword [0x567664], edi
je 0x49ba6c
cmp dword [0x5683f4], 0xfffffffe
jne 0x49ba59
cmp dword [ebp + 8], 0xffffffff
je 0x49ba6c
test byte [0x56f3d8], 1
mov esi, 0x56f3b8
jne 0x49ba02
or dword [0x56f3d8], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004388fc
push 0x524221
call fcn.004fcb82
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.00438953
cmp dword [0x56f3b4], edi
je 0x49ba16
call fcn.0040fd4b
push edi
push edi
push 0x49b94b
call fcn.00502207
add esp, 0xc
mov dword [0x56f3b4], eax
cmp eax, edi
jbe 0x49ba46
cmp eax, 0xffffffff
je 0x49ba46
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x5683f4], eax
jmp 0x49ba4c
mov dword [0x56f3b4], edi
push 0x56f3c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x49ba6c
mov eax, dword [ebp + 8]
mov dword [0x5683f4], eax
cmp eax, 0xffffffff
jne 0x49ba6c
mov dword [0x56f3b4], edi
call fcn.004fdfe4
ret
Function at 0x4d61b0
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x51f99b
call fcn.004fdf75
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.004dbc0e
push 0x15c
call fcn.0040a360
pop ecx
mov ecx, eax
mov dword [ebp - 0x124], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4d61f4
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004dd53e
jmp 0x4d61f6
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004dbbe0
call fcn.00410730
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov byte [ebp + esi - 0x114], 0x5c
inc esi
mov dword [ebp - 0x124], esi
mov byte [ebp + esi - 0x114], bl
mov dword [ebp - 0x120], ebx
cmp edi, ebx
je 0x4d6390
cmp dword [edi + 4], ebx
jle 0x4d6390
lea ecx, [ebp - 0x118]
call fcn.0040a010
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4d6374
lea ecx, [ebp - 0x11c]
call fcn.0040a010
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4d62c5
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push 0x53e240
push eax
call fcn.004096e0
add esp, 0xc
jmp 0x4d62f7
jge 0x4d62e5
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__s
push eax
call fcn.004096e0
add esp, 0x10
jmp 0x4d62f7
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004095c0
push 0x15c
call fcn.0040a360
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4d631b
mov ecx, eax
call fcn.004af17d
mov esi, eax
jmp 0x4d631d
xor esi, esi
push dword [ebp - 0x11c]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.0040e42e
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x128]
push esi
call fcn.004dbbe0
mov ecx, dword [ebp - 0x11c]
inc dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.00409ff0
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00409ff0
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4d625e
call fcn.004fdff8
ret
Function at 0x4dacc3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4dacdb
mov edi, dword [esi + 0xc]
jmp 0x4dad1b
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4dacf4
call fcn.00416c1b
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4dad09
call fcn.00416c1b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4dad1b
call fcn.00416c1b
call fcn.00410730
cmp dword [eax + 0x3c], 0
je 0x4dad30
push edi
mov ecx, ebx
call fcn.004d9bb0
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004dabe9
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4dad4e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4dad5a
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4e231c
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4e2366
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e2366
call fcn.004e1ba8
test eax, eax
je 0x4e2366
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00409f20
xor eax, eax
inc eax
jmp 0x4e257e
cmp dword [ebx + 4], 0x100
push edi
jne 0x4e2575
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4e2463
push 0x11
call edi
test ax, ax
jl 0x4e2463
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e2463
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4e23d6
cmp eax, 0x20
jbe 0x4e2463
cmp eax, 0x24
jbe 0x4e23c9
cmp eax, 0x26
je 0x4e23c9
cmp eax, 0x28
jne 0x4e2463
call fcn.004e1ba8
test eax, eax
je 0x4e2463
mov ecx, esi
call fcn.00419224
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004e1ba8
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4e240b
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00409f20
jmp 0x4e2570
call fcn.0041484d
test eax, eax
je 0x4e2570
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.004148aa
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4e2439
xor edi, edi
jmp 0x4e243c
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.0041484d
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4e2570
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4e253f
sub eax, 0x12
je 0x4e2517
sub eax, 0xb
je 0x4e2485
dec eax
dec eax
jne 0x4e2575
push 0x12
call edi
test ax, ax
jl 0x4e2575
push 0x11
call edi
test ax, ax
jl 0x4e2575
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e2575
call fcn.004e1ba8
test eax, eax
jne 0x4e2570
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004e1b22
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.004134b3
test eax, eax
je 0x4e2570
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.004134b3
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4e2570
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4e252b
push 0
call fcn.004e1b22
mov ecx, esi
call fcn.00413fd0
test eax, eax
je 0x4e2575
mov ecx, esi
call fcn.00413fd0
jmp 0x4e2569
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.004134b3
test eax, eax
je 0x4e2575
push dword [esi + 0x20]
call edi
push eax
call fcn.004134b3
push 0
push esi
mov ecx, eax
call fcn.0040c3d1
mov ecx, eax
call fcn.00419224
xor eax, eax
inc eax
jmp 0x4e257d
push ebx
mov ecx, esi
call fcn.00411378
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4f7958
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp byte [ebp + 0xc], 0
jne 0x4f7998
test edi, edi
jl 0x4f7998
cmp al, 0x20
je 0x4f798d
cmp word [ebp + 8], 0x71
jne 0x4f7998
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x4fca4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x569f90]
jne 0x4fca56
repz ret
jmp fcn.005030f4

Function at 0x510cc5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0050326c
and dword [ebp - 4], 0
cmp dword [0x571108], 0
mov ebx, eax
jne 0x510d76
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x510e27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x54a6e4
push edi
call esi
test eax, eax
je 0x510e27
push eax
call fcn.005031fa
mov dword [esp], 0x54a6d4
push edi
mov dword [0x571108], eax
call esi
push eax
call fcn.005031fa
mov dword [esp], 0x54a6c0
push edi
mov dword [0x57110c], eax
call esi
push eax
call fcn.005031fa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x571110], eax
call esi
push eax
call fcn.005031fa
pop ecx
mov dword [0x571118], eax
test eax, eax
je 0x510d76
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005031fa
pop ecx
mov dword [0x571114], eax
mov eax, dword [0x571114]
cmp eax, ebx
je 0x510dce
cmp dword [0x571118], ebx
je 0x510dce
push eax
call fcn.00503275
push dword [0x571118]
mov esi, eax
call fcn.00503275
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x510dce
test edi, edi
je 0x510dce
call esi
test eax, eax
je 0x510dc5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x510dc5
test byte [ebp - 0xc], 1
jne 0x510dce
or dword [ebp + 0x10], 0x200000
jmp 0x510e07
mov eax, dword [0x57110c]
cmp eax, ebx
je 0x510e07
push eax
call fcn.00503275
pop ecx
test eax, eax
je 0x510e07
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x510e07
mov eax, dword [0x571110]
cmp eax, ebx
je 0x510e07
push eax
call fcn.00503275
pop ecx
test eax, eax
je 0x510e07
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x571108]
call fcn.00503275
pop ecx
test eax, eax
je 0x510e27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x510e29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4bb311
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3380
cmp edx, dword [eax]
je 0x4bb333
add eax, 8
inc ecx
cmp eax, 0x4c3410
jl 0x4bb324
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3380]
jne 0x4bb461
mov eax, dword [0x4c7d14]
cmp eax, 1
je 0x4bb43b
test eax, eax
jne 0x4bb364
cmp dword [0x4c32ac], 1
je 0x4bb43b
cmp edx, 0xfc
je 0x4bb461
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb39b
lea eax, [ebp - 0x1a4]
push 0x4c0830
push eax
call fcn.004bbcf0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc180
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb3de
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc180
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c082c
push edi
call fcn.004be050
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0810
push eax
call fcn.004bbcf0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbd00
lea eax, [ebp - 0xa0]
push 0x4c080c
push eax
call fcn.004bbd00
push dword [esi + 0x4c3384]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbd00
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c07e4
push eax
call fcn.004bdfc4
add esp, 0x2c
pop edi
jmp 0x4bb461
lea eax, [ebp + 8]
lea esi, [esi + 0x4c3384]
push 0
push eax
push dword [esi]
call fcn.004bc180
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4540e2
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x454104
mov eax, 0xfffffffd
jmp 0x4541e4
mov ebx, dword [0x8848f8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4541b2
mov ebx, dword [0x8848f8]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x454153
mov ebx, dword [0x8848f8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x454153
mov eax, 1
jmp 0x454158
mov eax, 0
test eax, eax
je 0x454184
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x45416d
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x8848f8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4541da
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4541e4
mov esp, ebp
pop ebp
ret 4

Function at 0x4543eb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x45449e
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x454e1d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004543eb
test eax, eax
je 0x454e60
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x454e60
cmp word [eax], 0x5a4d
jne 0x454e60
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x454e60
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004544bd
mov eax, dword [ebp + 8]
jmp 0x454e79
mov esp, ebp
pop ebp
ret 4

Function at 0x48a8b7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x48a96a
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x48ade6
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0048af96
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x48aee4
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x48ae87
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x48aeca
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x48ae9e
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x48aeb9
test al, 0x40
je 0x48aeb0
mov ecx, dword [edi + 0x20]
jmp 0x48aeb7
test al, 0x80
je 0x48aeca
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x48aeca
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x48ae56
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x48b7f3
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x48b815
mov eax, 0xfffffffd
jmp 0x48b8e7
cmp dword [0x884984], 0
je 0x48b8c0
cmp dword [0x884988], 5
jl 0x48b843
cmp dword [0x884988], 7
jg 0x48b843
mov eax, 1
jmp 0x48b848
mov eax, 0
test eax, eax
jne 0x48b861
cmp dword [0x884988], 0xfffffffb
je 0x48b861
xor eax, eax
jmp 0x48b866
mov eax, 1
test eax, eax
je 0x48b892
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x48b87b
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
cmp dword [0x884984], 0
jne 0x48b8dd
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x48b8e7
mov esp, ebp
pop ebp
ret 4
Function at 0x513720
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c1c5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.005b62f0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x5137a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005b3b3a
mov eax, dword [eax]
push 0x86ad78
push eax
call fcn.0059a1a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005b657b
test bl, bl
je 0x5137a2
push 0x86ad78
lea ecx, [esp + 0xc]
call fcn.005b690b
push 0x86ad84
lea ecx, [esp + 0xc]
call fcn.005b690b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x5137de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005b657b
jmp 0x5138a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x513862
lea edx, [esp + 0x7c]
push 0x86ad80
push edx
call fcn.0059a1a4
add esp, 8
test eax, eax
je 0x513862
lea eax, [esp + 0x7c]
push 0x86ad7c
push eax
call fcn.0059a1a4
add esp, 8
test eax, eax
je 0x513862
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5137f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.005b657b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x5140b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x514112
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc