joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52a318
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52a4c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x52a4a4
mov dl, 1
mov eax, dword [0x43e23c]
call fcn.0044d37c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004071d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x52a493
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004a98b8
test al, al
je 0x52a486
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x52a4d4
lea eax, [ebp - 0x394]
call fcn.00420ac0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x52a486
xor eax, eax
push ebp
push 0x52a47f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x52a544
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x52a468
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407f34
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x52a468
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407f34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a486
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x52a389
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044d2b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a4ca
lea eax, [ebp - 0x3a0]
call fcn.004071d4
ret

Function at 0x52b07c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5de308]
cmp byte [eax + 0xb1], 0
jne 0x52b0ee
cmp dword [0x5de328], 0
jne 0x52b0ae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5d721c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5de328], eax
cmp dword [0x5de324], 0
jne 0x52b0c9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5de324], eax
cmp dword [0x5de32c], 0
jne 0x52b0ee
push esp
push 0
push 0
mov eax, dword [0x5d7218]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5de32c], eax
pop edx
ret
Function at 0x52b404
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x52b41b
add esp, 0xfffffff0
call fcn.00405ba4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00457b50
mov eax, dword [0x5d82fc]
cmp byte [eax], 0
jne 0x52b448
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x5d865c]
cmp word [eax + 2], 0
jne 0x52b462
mov eax, dword [0x5d865c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0052d590
mov eax, dword [0x5d87a4]
cmp word [eax + 2], 0
jne 0x52b47c
mov eax, dword [0x5d87a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0052d794
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x46b4a0]
call fcn.004718bc
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x52dd0c
mov dl, 1
mov eax, dword [0x43aac8]
call fcn.00405568
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x43aac8]
call fcn.00405568
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x46fff8]
call fcn.0047b17c
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x52b660
mov eax, dword [0x5d850c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0047b610
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x52dff4
mov dl, 1
mov eax, dword [0x43aac8]
call fcn.00405568
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5d850c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00420878
test eax, eax
je 0x52b590
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004205cc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0042085c
test eax, eax
je 0x52b5a8
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407f34
push ebx
push 0x52cf74
call fcn.00521090
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x5d82fc]
cmp byte [eax], 0
jne 0x52b5f9
mov eax, ebx
call fcn.0052b820
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.0052e228
mov eax, ebx
call fcn.0052ee54
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x52b656
call fcn.00405bfc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52bb48
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x52bbea
cmp dword [ebx + 0x98], 0
jne 0x52bbe4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x52ba84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x52bbe4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x52bbaa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x52bbe4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.00448d0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x52bbb9
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x52be08
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5de308]
cmp dword [eax + 0x178], 0
je 0x52bf6d
test bl, bl
jne 0x52bebb
cmp dword [esi + 0xa0], 0
jne 0x52beb0
mov eax, esi
call fcn.0052eca4
push eax
push 0x52bd14
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x52be81
mov eax, dword [0x5de308]
cmp byte [eax + 0xd7], 0
je 0x52be81
mov eax, dword [esi + 0xdc]
call fcn.00409158
mov edi, eax
cmp edi, 0
jl 0x52be81
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x52be6a
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x52beb0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00448d0c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x52be90
inc dword [esi + 0xa0]
jmp 0x52bf6d
cmp dword [esi + 0xa0], 0
jle 0x52bf6d
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x52bf6d
cmp dword [esi + 0x48], 0
je 0x52bf18
mov eax, dword [0x5de308]
cmp byte [eax + 0xd7], 0
je 0x52bf18
mov eax, dword [esi + 0xdc]
call fcn.00409158
mov edi, eax
cmp edi, 0
jl 0x52bf18
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x52bf01
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x52bf47
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00448d0c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x52bf27
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x51da54]
call fcn.00409304
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x52cbc0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x52cc2b
cmp byte [ebx + 0xd7], 0
jne 0x52cc2b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040735c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x52cc18
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x52cc38
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.004075b4
jmp 0x52cc38
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.004075b4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x52e410
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x52e47e
mov eax, esi
call fcn.004a38e4
test al, al
je 0x52e47e
mov eax, dword [ebx + 0x88]
call fcn.004a3538
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x52e47e
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x52e472
push 0
mov eax, dword [ebx + 0x88]
call fcn.004a3538
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.0049a368
jmp 0x52e47e
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.0052e248
pop esi
pop ebx
ret
Function at 0x534634
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5346ae
mov eax, dword [ebx + 8]
call fcn.004a3538
mov ecx, eax
mov dl, 1
mov eax, dword [0x4b3364]
call fcn.0049d988
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.004bb934
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x533f48
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004a3538
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004a3538
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x534724
mov eax, dword [ebx + 8]
call fcn.004a3538
mov ecx, eax
mov dl, 1
mov eax, dword [0x4b3364]
call fcn.0049d988
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.004bb934
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x533f94
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004a3538
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.004a3538
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x534790
mov eax, dword [ebx + 8]
call fcn.004a3538
mov ecx, eax
mov dl, 1
mov eax, dword [0x4b3da0]
call fcn.0049d988
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.004a3538
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.004a3538
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x53a244
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x53a25c
add esp, 0xfffffff0
call fcn.00405ba4
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x53a376
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.004045c8
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x53a360
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004c0014
xor eax, eax
push ebp
push 0x53a34d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004c0014
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00407f70
jmp 0x53a31e
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.0040829c
mov eax, dword [ebx + 4]
call fcn.00407698
dec eax
jle 0x53a332
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x53a30c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a354
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a37d
lea eax, [ebp - 4]
call fcn.0040721c
ret

Function at 0x53b3bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0053a978
test byte [ebx + 0x2ad], 4
jne 0x53b451
mov edx, esp
mov eax, ebx
call fcn.00499cd8
push esp
mov eax, ebx
call fcn.004a32d0
push eax
push 0
mov eax, ebx
test eax, eax
je 0x53b3f1
sub eax, 0xfffffd0c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x288]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x29c], 0
jne 0x53b422
mov ecx, dword [0x5d85e0]
mov dl, 1
mov eax, dword [0x4bf990]
call fcn.004251f8
call fcn.0040690c
mov eax, ebx
call fcn.0053c044
cmp byte [ebx + 0x61], 0
jne 0x53b458
mov eax, ebx
call fcn.004a3538
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x53b458
push 0
mov eax, ebx
call fcn.004a3538
push eax
call sub.user32.dll_ShowWindow
jmp 0x53b458
mov eax, ebx
call fcn.0049f204
add esp, 0x10
pop ebx
ret
Function at 0x543bd0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x543c37
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthW
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.0040800c
push edi
mov eax, dword [ebp - 4]
call fcn.00407ea0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004075b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543c3e
lea eax, [ebp - 4]
call fcn.004071d4
ret

Function at 0x54cba4
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xfffffecc
cmp byte [0x5d7574], 0
jne 0x54cc81
mov byte [0x5d7574], 1
xor eax, eax
mov dword [0x5d755c], eax
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 0x10], 3
ja 0x54cbec
cmp dword [esp + 0x10], 3
jne 0x54cc57
cmp dword [esp + 0x14], 0x33
jbe 0x54cc57
mov dword [esp + 4], 0x12
push esp
push 0x20019
push 0
push 0x54cc88
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x54cc81
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x54cce8
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x54cc81
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp word [esp + 0x120], 0x31
jne 0x54cc81
cmp word [esp + 0x122], 0
jne 0x54cc81
jmp 0x54cc6c
push 0
push 0x54cce8
push 0x54ccf4
call sub.kernel32.dll_GetProfileIntW
test eax, eax
je 0x54cc81
mov eax, dword [0x5d7558]
call fcn.00407ea0
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x5d755c], eax
add esp, 0x134
ret
Function at 0x552310
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x55233e
mov eax, ebx
call fcn.00552dcc
cmp dword [ebx + 0x40], 0
je 0x552337
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5523af
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5523a1
cmp dword [ebx + 8], 0
je 0x552360
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x552372
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5523a1
cmp dword [ebx + 8], 0
je 0x552353
cmp eax, 3
je 0x552385
dec eax
jne 0x552353
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x552353
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x552353
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5523cd
cmp dword [ebx + 0x14], 0xcc
je 0x5523cd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005523d8
pop ebx
ret
Function at 0x564a80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a904
mov eax, dword [ebp + 8]
call fcn.004072b8
xor eax, eax
push ebp
push 0x564bd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.0056311c
test al, al
je 0x564baf
xor eax, eax
push ebp
push 0x564ba1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040a890
push eax
push 0x564bec
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax]
cmp dword [ebp - 8], 0
je 0x564b97
xor eax, eax
push ebp
push 0x564b90
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x46f674]
call fcn.00478b68
mov ebx, eax
mov edx, dword [ebp + 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, edi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00446938
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
call fcn.00479488
call fcn.00473838
push eax
push esi
push 0
push 0
push 1
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x564b97
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 8]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x564baf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x564bdc
lea eax, [ebp - 8]
call fcn.0040a890
lea eax, [ebp - 4]
call fcn.0040a890
lea eax, [ebp + 8]
call fcn.004071d4
ret
Function at 0x565a5c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004072b8
xor eax, eax
push ebp
push 0x565c1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov dl, 1
mov eax, dword [0x4630ec]
call fcn.004651b4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x565bef
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x18]
call fcn.0046529c
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x565c3c
call fcn.004080e4
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.004653f4
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00465db0
mov eax, dword [ebp - 0x18]
call fcn.0046526c
push 0x565c3c
push dword [ebp - 4]
push 0x565c6c
push dword [ebp - 8]
push 0x565c7c
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.0040816c
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.004653f4
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00465db0
mov eax, dword [ebp - 0x18]
call fcn.0046526c
cmp dword [ebp - 8], 0
je 0x565bd9
mov edx, dword [ebp - 8]
mov eax, 0x565cb0
call fcn.00408400
test eax, eax
jle 0x565b91
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x565cb0
call fcn.00408400
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00408254
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x565b72
sub ebx, 4
mov ebx, dword [ebx]
mov esi, dword [ebp - 8]
test esi, esi
je 0x565b7e
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
lea edx, [ebx + 1]
mov ecx, esi
mov eax, dword [ebp - 8]
call fcn.00408254
jmp 0x565ba4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004075fc
lea eax, [ebp - 0xc]
call fcn.004071d4
mov byte [ebp - 0x11], 1
push 5
push 0x565cb4
mov eax, dword [ebp - 0xc]
call fcn.00407ea0
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407ea0
push eax
push 0x565cb8
mov eax, dword [0x5d876c]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x565bf6
mov eax, dword [ebp - 0x18]
call fcn.00405598
ret