joyce8/EMBER2024-capa huggingface dataset:
Function at 0x508a58
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d3350
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
call fcn.00596cc1
test eax, eax
je 0x508b1d
call fcn.005b2355
mov ecx, dword [eax + 4]
call fcn.00597060
lea eax, [esi + 0x110]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00597da7
mov ecx, dword [esp + 4]
mov byte [esp + 0x14], 1
mov eax, dword [ecx - 8]
test eax, eax
jne 0x508aa9
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.005943d1
lea eax, [esp + 4]
lea ecx, [esi + 0x114]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.00598261
mov eax, dword [eax]
push 0
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 8]
call fcn.00598032
mov eax, dword [esi + 0x1c]
push 1
push 0
push eax
mov dword [esi + 0x64], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00598032
mov dword [esp + 0x14], 0xffffffff
call fcn.005b2355
mov ecx, dword [eax + 4]
call fcn.00597075
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x509630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d3558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov esi, ecx
push 0xf
call edi
push 0x10
mov dword [esi + 8], eax
call edi
push 0x15
mov dword [esi + 0xc], eax
call edi
push 0x16
mov dword [esi + 0x1c], eax
call edi
push 0x14
mov dword [esi + 0x20], eax
call edi
push 0x12
mov dword [esi + 0x10], eax
call edi
push 0x11
mov dword [esi + 0x14], eax
call edi
push 6
mov dword [esi + 0x24], eax
call edi
push 0xd
mov dword [esi + 0x18], eax
call edi
push 0xe
mov dword [esi + 0x28], eax
call edi
mov edi, dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0xff0000
call edi
push 0x14
mov dword [esi + 4], eax
call edi
lea ebx, [esi + 0x34]
mov dword [esi], eax
mov ecx, ebx
call fcn.0059c0df
push 0xf
call edi
push eax
mov ecx, ebx
call fcn.0059c0b2
lea ebx, [esi + 0x3c]
mov ecx, ebx
call fcn.0059c0df
push 0xd
call edi
push eax
mov ecx, ebx
call fcn.0059c0b2
lea ebx, [esi + 0x4c]
mov ecx, ebx
call fcn.0059c0df
push 0x15
call edi
push eax
mov ecx, ebx
call fcn.0059c0b2
xor ebx, ebx
lea ecx, [esp + 0x14]
push ebx
call fcn.0059bebe
mov eax, dword [esp + 0x1c]
push 0xc
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
lea edi, [esi + 0x44]
mov dword [esi + 0xa0], eax
cmp edi, ebx
je 0x50972b
cmp dword [edi + 4], ebx
je 0x50972b
mov ecx, edi
call fcn.0059c109
cmp dword [esi + 0xa0], 8
jle 0x5097bf
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
shr ecx, 0x10
shr eax, 0x10
mov edx, ecx
and eax, 0xff
and edx, 0xff
mov bx, word [esi + 8]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, cl
xor ecx, ecx
mov ch, al
xor eax, eax
mov al, byte [esi + 0x11]
shr bx, 8
mov edx, ebx
and eax, 0xff
and edx, 0xff
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, bl
mov cl, al
xor eax, eax
mov al, byte [esi + 0x10]
shl ecx, 8
mov dword [esp + 0xc], ecx
mov cl, byte [esi + 8]
mov edx, ecx
and edx, 0xff
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add al, cl
mov ecx, dword [esp + 0xc]
and eax, 0xff
or eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0059c0b2
jmp 0x509827
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
mov ecx, esi
and eax, edx
push eax
call fcn.00509920
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.CBitmap.0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.0059c0b2
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, esi
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
mov ecx, edi
call fcn.0059c0b2
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.0059c109
mov byte [esp + 0x30], bl
call fcn.00537180
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0059bf30
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x509850
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d3578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esp + 0x10]
call fcn.0059bebe
lea eax, [esi + 0x64]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x64], 0
call fcn.0059b609
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.GDI32.dll_GetTextMetricsA]
lea ecx, [esp + 0x20]
mov edi, eax
push ecx
push edx
call ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
add ecx, eax
add ecx, edx
lea edx, [esi + 0x84]
mov dword [esi + 0xa4], ecx
push edx
lea ecx, [esp + 0x10]
call fcn.0059b609
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, edx
add eax, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esi + 0xa8], eax
call fcn.0059b609
lea ecx, [esp + 0xc]
mov dword [esp + 0x60], 0xffffffff
call fcn.0059bf30
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret

Function at 0x50a710
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0xc]
xor ebp, ebp
push eax
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x14]
push ebp
push ecx
push ebp
push edx
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebp
jne 0x50a7af
mov eax, dword [esp + 0xc]
cmp eax, ebp
jbe 0x50a7af
mov ebp, eax
inc eax
push ebx
push eax
call fcn.00596900
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x18]
push ebx
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x50a79a
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x50a79a
mov ecx, dword [esp + 0x20]
push ebx
call fcn.005981bb
push ebx
call fcn.00596929
add esp, 4
pop ebx
jmp 0x50a7b8
mov ecx, dword [esp + 0x20]
call fcn.00597fbd
push ebx
call fcn.00596929
add esp, 4
pop ebx
jmp 0x50a7b8
mov ecx, dword [esp + 0x1c]
call fcn.00597fbd
mov edx, dword [esp + 0x10]
mov dword [edi + 4], esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], ebp
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
sete al
add esp, 8
ret 8
Function at 0x511600
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x12c
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov esi, ecx
xor edi, edi
mov eax, dword [esi + 0x78]
push edi
push edi
push 0xb
push eax
call ebx
mov ecx, dword [esi + 0x78]
push edi
push edi
push 0x184
push ecx
call ebx
mov dword [esi + 0xa0], 1
mov eax, dword [esi + 0xa8]
cmp eax, edi
je 0x511645
mov eax, dword [eax]
cmp eax, edi
jne 0x51163f
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xa8], edi
call fcn.00591ee5
mov dword [esi + 0xb8], edi
mov edx, dword [esi + 0x98]
push 5
mov eax, dword [edx + 0xbc]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
cmp ebp, edi
je 0x5117ea
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5117d7
lea ecx, [esp + 0x3c]
push 0x100
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x3c]
push edx
push edi
push 0x180
push eax
call ebx
mov ecx, dword [esi + 0x78]
push ebp
push eax
push 0x19a
push ecx
call ebx
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x80000
jne 0x5116e6
mov dword [esi + 0xa0], edi
jmp 0x5117d7
push edi
push ebp
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edx, eax
cmp edx, edi
jne 0x5116ff
mov dword [esi + 0xa0], edi
jmp 0x5117d7
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x2c
push eax
push 0
push 0xf060
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
je 0x51173e
test byte [esp + 0x1c], 3
je 0x5117d5
mov eax, dword [esi + 0xb4]
mov edi, dword [esi + 0xac]
test eax, eax
jne 0x51178d
mov ecx, dword [esi + 0xbc]
push 0xc
lea edx, [esi + 0xb8]
push ecx
push edx
call fcn.00591ec5
mov ecx, dword [esi + 0xbc]
add eax, 4
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0xc]
jl 0x51178d
inc ecx
mov edx, dword [esi + 0xb4]
mov dword [eax], edx
mov dword [esi + 0xb4], eax
sub eax, 0xc
dec ecx
jne 0x511779
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax]
mov dword [esi + 0xb4], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov edi, dword [esi + 0xb0]
inc edi
mov dword [esi + 0xb0], edi
mov dword [eax + 8], 0
mov dword [eax + 8], ebp
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x5117c9
mov dword [ecx], eax
jmp 0x5117cf
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
xor edi, edi
push 2
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
cmp ebp, edi
jne 0x51168d
mov edx, dword [esi + 0x78]
push edi
push 1
push 0xb
push edx
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret
Function at 0x513c50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d480b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x10], esi
call fcn.005124a0
xor edi, edi
mov eax, vtable.CBrush.0
mov dword [esp + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], eax
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], eax
lea ebx, [esi + 0x78]
mov byte [esp + 0x18], 8
mov ecx, ebx
call fcn.004c60e0
mov dword [ebx], vtable.CPen.0
mov eax, 1
mov ecx, esi
mov byte [esp + 0x18], 9
mov dword [esi], 0x5f1e68
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], eax
mov dword [esi + 4], eax
mov dword [esi + 8], 4
call fcn.00513e60
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x527310
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
je 0x527327
mov dword [eax], 1
mov eax, dword [0x64b2b4]
test eax, eax
je 0x527369
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x527369
mov edx, dword [0x64b2b4]
mov ecx, dword [esp + 0x1c]
push 0
push ecx
mov eax, dword [edx + 0x1c]
push 0x100
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x527389
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
mov eax, dword [0x64b1fc]
test eax, eax
jne 0x5274a0
mov ebx, dword [0x64b06c]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x5273f5
mov eax, ebx
mov ebx, dword [ebx]
mov esi, dword [eax + 8]
mov edx, dword [esi + 0x1c]
push edx
call fcn.005939e7
test eax, eax
je 0x5273a4
mov ecx, esi
xor edi, edi
call fcn.005b97a0
test eax, eax
jle 0x5273a4
push edi
mov ecx, esi
call fcn.005a8490
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test eax, eax
jne 0x5273ed
mov ecx, esi
inc edi
call fcn.005b97a0
cmp edi, eax
jl 0x5273c9
jmp 0x5273a4
mov dword [esp + 0x14], 1
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
mov byte [esp + 0x17], 0
call esi
test ah, 0x80
je 0x52740e
mov byte [esp + 0x13], 8
push 0x12
call esi
test ah, 0x80
je 0x52741c
or byte [esp + 0x13], 0x10
push 0x10
call esi
test ah, 0x80
je 0x52742a
or byte [esp + 0x13], 4
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test edi, edi
jne 0x52746c
mov bl, byte [esp + 0x13]
mov eax, dword [ebp + 0x50]
or bl, 1
push 1
push eax
push ebx
push esi
call fcn.005072d0
add esp, 0x10
test eax, eax
jne 0x5274a0
mov ecx, dword [ebp + 0x50]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc0]
push eax
push ebx
push esi
call fcn.005072d0
add esp, 0x10
test eax, eax
jne 0x5274a0
cmp byte [esp + 0x13], 0x10
jne 0x52748e
push esi
mov ecx, ebp
call fcn.00528170
test eax, eax
je 0x52748e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
test edi, edi
je 0x5274a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5274a0
mov dword [eax], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x534840
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d635b
push eax
mov dword fs:[0], esp
sub esp, 0x528
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x534871
xor eax, eax
jmp 0x534a40
lea edi, [esi + 0x14]
push edi
call fcn.0059e929
mov ebx, dword [esp + 0x544]
lea ecx, [esp + 0xc]
push ebx
call fcn.005980a0
push 0x61e354
lea ecx, [esp + 0x10]
mov dword [esp + 0x540], 0
call fcn.0058f6e2
cmp eax, 0xffffffff
jne 0x534964
push 0x635148
lea ecx, [esp + 0x10]
call fcn.0058f6e2
cmp eax, 0xffffffff
jne 0x534964
push 0x61f0d0
lea ecx, [esp + 0x10]
call fcn.0058f6e2
cmp eax, 0xffffffff
jne 0x534964
lea eax, [esp + 0x22c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x534964
push 0
lea ecx, [esp + 0x130]
push 0
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x238]
push edx
push eax
call fcn.004f64dc
lea ecx, [esp + 0x40]
lea edx, [esp + 0x344]
push ecx
push edx
push 0
push 0
push ebx
call fcn.004f64dc
lea eax, [esp + 0x54]
lea ecx, [esp + 0x358]
push eax
lea edx, [esp + 0x158]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x464]
push eax
push ecx
call fcn.004f6257
add esp, 0x3c
lea edx, [esp + 0x430]
lea ecx, [esp + 0xc]
push edx
call fcn.005981bb
call fcn.005b2355
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 8]
push 0x3010
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
test eax, eax
mov dword [edi], eax
jne 0x5349a4
lea ecx, [esp + 0xc]
mov dword [esp + 0x53c], 0xffffffff
call fcn.00598032
xor eax, eax
jmp 0x534a40
lea edx, [esp + 0x14]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x5349dd
mov eax, dword [edi]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0xc]
mov dword [edi], 0
mov dword [esp + 0x53c], 0xffffffff
call fcn.00598032
xor eax, eax
jmp 0x534a40
lea ecx, [esp + 0xc]
mov ebx, 1
push ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], ebx
call fcn.0059816b
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test bl, al
je 0x534a07
mov dword [esi + 0x8c], ebx
cmp word [esp + 0x26], 8
jbe 0x534a1c
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.005364d0
mov ecx, esi
call fcn.00535340
mov ecx, esi
call fcn.005367e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x53c], 0xffffffff
call fcn.00598032
mov eax, ebx
mov ecx, dword [esp + 0x534]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x534
ret 4
Function at 0x537200
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x635528]
push esi
test eax, eax
je 0x5372ca
cmp dword [0x635834], 0xfffffffe
jne 0x5372b2
mov esi, dword [esp + 8]
cmp esi, 0xffffffff
je 0x5372ca
mov cl, byte [0x64b478]
mov al, 1
test al, cl
jne 0x537255
mov dl, cl
mov ecx, 0x64b458
or dl, al
mov byte [0x64b478], dl
call fcn.005372d0
push 0x537360
call fcn.004f609e
add esp, 4
push 0x64b460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0
push 0x5371a0
call fcn.004f990c
add esp, 0xc
mov dword [0x64b47c], eax
test eax, eax
jbe 0x53729b
cmp eax, 0xffffffff
je 0x53729b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x64b460
mov dword [0x635834], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
ret
push 0x64b460
mov dword [0x64b47c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
ret
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
mov dword [0x635834], eax
jne 0x5372ca
mov dword [0x64b47c], 0
pop esi
ret
Function at 0x5437e0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x5d7bee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x5f54f8
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x14], 2
call dword [eax + 0x58]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x543827
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
mov byte [esp + 0x14], 1
call fcn.00516260
lea ecx, [esi + 8]
mov byte [esp + 0x14], 0
call fcn.00598032
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x551380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d86fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push esi
push edi
mov esi, ecx
push eax
push 0x3f05
mov dword [esp + 0x10], esi
call fcn.00597905
lea edi, [esi + 0x5c]
mov dword [esp + 0x2c], 0
mov ecx, edi
call fcn.00593595
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0x98]
mov byte [esp + 0x2c], 1
mov ecx, edi
call fcn.00593595
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0xd4]
mov byte [esp + 0x2c], 2
mov ecx, edi
call fcn.00593595
mov dword [edi], vtable.CStatic.0
push esi
lea ecx, [esi + 0x110]
mov byte [esp + 0x30], 3
call fcn.0054ff70
mov ecx, dword [esp + 0x34]
lea edi, [esi + 0x1f4]
mov dword [esi + 0x1c4], ecx
mov ecx, edi
mov byte [esp + 0x2c], 4
call fcn.005b6590
mov dword [edi], 0x5f7168
lea ecx, [esi + 0x8a8]
mov byte [esp + 0x2c], 5
call fcn.00548d80
mov eax, dword [esi + 0x1c4]
lea edx, [esp + 0xc]
mov dword [esi], method.CDialog.virtual_0
push edx
mov ecx, dword [eax + 4]
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x1c8], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
mov dword [esi + 0x1cc], ecx
jne 0x55147d
mov eax, dword [esp + 0x1e]
and eax, 0xffff
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x1d0], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x55c4d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004f5aa0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x55c59b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x55c59b
mov bx, pe_nt_image_headers32
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x55c54e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x55c559
or bh, 8
and edi, 0x8000000
je 0x55c574
mov eax, dword [0x65567c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x55c59b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55c970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x55c99b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x55c9bf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x55c9da
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20