joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba700
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
je 0x4ba778
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esi + 0xc], 1
mov dword [esp + 0x14], ebx
call edi
test eax, eax
je 0x4ba766
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x10], 0x103
jne 0x4ba765
mov edx, dword [esi + 8]
inc ebx
cmp ebx, 0xa
ja 0x4ba75c
push 0x64
push edx
call ebp
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
test eax, eax
jne 0x4ba733
jmp 0x4ba765
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop ebp
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4ba840
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x4ba7d0
mov esi, ecx
push 0
push 0
mov dword [esi], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 8], eax
je 0x4ba883
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret

Function at 0x4bc700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5288c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.00505af6
xor edi, edi
mov ecx, esi
mov dword [esp + 0x44], edi
call fcn.0044ea60
mov edx, dword [eax]
push edi
push esi
mov ecx, eax
call dword [edx + 0xd0]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.004675a0
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [edx + 0x148]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x25c]
mov ecx, dword [eax + 0x28]
add ebx, 4
cmp ecx, edi
jle 0x4bc7d0
test edi, edi
jl 0x4bc791
mov ecx, dword [eax + 0x28]
cmp edi, ecx
jge 0x4bc791
cmp edi, ecx
jge 0x4bc804
mov ecx, dword [eax + 0x24]
mov ebp, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
jmp 0x4bc793
xor ebp, ebp
mov edx, dword [ebp]
push 0
mov ecx, ebp
call dword [edx + 0x78]
test eax, eax
je 0x4bc7c2
mov eax, dword [ebp]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call dword [eax + 0x94]
mov eax, dword [eax + 4]
add eax, 4
cmp eax, ebx
jle 0x4bc7c2
mov ebx, eax
mov eax, dword [esi + 0x25c]
mov ecx, dword [eax + 0x28]
inc edi
cmp edi, ecx
jl 0x4bc777
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call fcn.004675f0
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], 0xffffffff
call fcn.00505b51
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
jmp fcn.004f9708
Function at 0x4bc71a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5288c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.00505af6
xor edi, edi
mov ecx, esi
mov dword [esp + 0x44], edi
call fcn.0044ea60
mov edx, dword [eax]
push edi
push esi
mov ecx, eax
call dword [edx + 0xd0]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.004675a0
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [edx + 0x148]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x25c]
mov ecx, dword [eax + 0x28]
add ebx, 4
cmp ecx, edi
jle 0x4bc7d0
test edi, edi
jl 0x4bc791
mov ecx, dword [eax + 0x28]
cmp edi, ecx
jge 0x4bc791
cmp edi, ecx
jge 0x4bc804
mov ecx, dword [eax + 0x24]
mov ebp, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
jmp 0x4bc793
xor ebp, ebp
mov edx, dword [ebp]
push 0
mov ecx, ebp
call dword [edx + 0x78]
test eax, eax
je 0x4bc7c2
mov eax, dword [ebp]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call dword [eax + 0x94]
mov eax, dword [eax + 4]
add eax, 4
cmp eax, ebx
jle 0x4bc7c2
mov ebx, eax
mov eax, dword [esi + 0x25c]
mov ecx, dword [eax + 0x28]
inc edi
cmp edi, ecx
jl 0x4bc777
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call fcn.004675f0
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], 0xffffffff
call fcn.00505b51
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
jmp fcn.004f9708
Function at 0x4c02b0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov eax, dword [0x582ddc]
push esi
mov esi, ecx
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x4c0391
mov eax, dword [esi + 8]
test eax, eax
je 0x4c02d1
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4c02fd
call fcn.00517c07
mov eax, dword [eax + 4]
test eax, eax
je 0x4c02e9
mov ecx, dword [eax + 0x50]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0x64]
mov dword [esi + 0xc], edx
mov eax, dword [esi + 8]
test eax, eax
je 0x4c02f7
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4c02fd
xor eax, eax
pop esi
ret 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x14]
test ebp, ebp
push edi
mov ecx, esi
jne 0x4c0339
mov eax, dword [esi]
push ebp
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x4c0330
mov ecx, dword [esp + 0x14]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov dword [esi + 0x10], eax
push edi
je 0x4c037f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov ebx, dword [esp + 0x1c]
push 0x2001f
push eax
call dword [edx + 8]
test ebx, ebx
mov edi, eax
jne 0x4c0360
test edi, edi
je 0x4c0330
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x4c0322
test edi, edi
je 0x4c0330
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4c0322
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop esi
ret 0xc
Function at 0x4c6bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x528f88
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esi + 0x1bc]
cmp al, 0xff
jne 0x4c6c00
mov ecx, esi
call fcn.005001a9
and al, 0xf
cmp al, 7
jne 0x4c6c97
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x4c6c97
mov eax, dword [esi + 0x60]
test eax, eax
jne 0x4c6c97
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x60]
mov ebx, dword [edi]
push eax
call fcn.00505d4e
push eax
mov ecx, edi
call dword [ebx + 0x28]
mov ebp, dword [edi]
push 0xf
mov ecx, esi
mov ebx, eax
call fcn.00469ec0
push eax
mov ecx, edi
call dword [ebp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0xc], edx
push edi
mov ecx, esi
call dword [eax + 0x15c]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x28]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c6ca2
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00467260
push 0x135
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x64], 0
call fcn.004c50e0
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00505d4e
push eax
lea ecx, [esp + 0x24]
call fcn.00505e38
push 1
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00505272
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call dword [edx + 0x15c]
push edi
lea ecx, [esp + 0x24]
call fcn.00505e38
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.00467460
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 4
Function at 0x4cadd0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [ebp + 0x1dc]
test bl, bl
js 0x4caeaa
push esi
push edi
mov edi, ebx
and edi, 2
call fcn.0046ad30
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, edi
neg esi
sbb esi, esi
and esi, 3
add esi, 3
test bl, 8
jne 0x4cae37
test edi, edi
jne 0x4cae2b
and ebx, 4
or ebx, 0x10
shr ebx, 2
jmp 0x4cae35
and bl, 4
neg bl
sbb ebx, ebx
add ebx, 8
mov esi, ebx
mov eax, dword [ebp + 0x1e0]
test eax, eax
mov edi, 1
je 0x4cae4b
mov edi, 2
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 0x1c]
jne 0x4cae5d
mov edi, 3
jmp 0x4cae83
mov ebx, dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x4cae83
push 0
push 0
push 0x129
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x4cae83
mov edi, 4
mov ecx, ebp
call fcn.005002ef
test eax, eax
jne 0x4cae93
mov edi, 5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push edi
push esi
push eax
call fcn.00445a50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4cd210
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0xc8]
test esi, esi
mov dword [esp + 4], ecx
je 0x4cd2ad
mov eax, dword [esp + 0xc]
shr eax, 8
cmp al, 2
push edi
mov edi, dword [esi + 0x44]
jne 0x4cd2ac
test edi, edi
je 0x4cd2ac
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebx
push ebp
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4cd256
mov eax, dword [edi + 0x2c]
jmp 0x4cd278
mov eax, dword [esi + 4]
test eax, eax
mov ecx, ebx
jne 0x4cd261
mov ecx, ebp
mov eax, dword [esi + 0x20]
add eax, ecx
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jl 0x4cd276
mov edx, dword [edi + 0x38]
add ecx, edx
cmp eax, ecx
jl 0x4cd278
mov eax, ecx
mov edi, dword [esp + 0x10]
push eax
mov ecx, edi
call fcn.004cd150
cmp dword [esp + 0x18], 0x202
pop ebp
mov dword [esi], 1
pop ebx
je 0x4cd2a3
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4cd2ac
push 0
mov ecx, edi
call fcn.004cd090
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x4d5180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x529888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
push edi
je 0x4d51b0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4d51b0
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00402aa0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
mov dword [esp + 0x18], 0
jne 0x4d51ed
push 0x55de80
call fcn.0042c43d
add esp, 4
push eax
push 0x55de80
lea ecx, [esp + 0x14]
call fcn.00403390
push 0x5f
push 0x2e
lea ecx, [esp + 0x14]
call fcn.0047b0b0
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ecx, esi
mov dword [esi + 4], ebx
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.004d4e80
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
push str.TEXTFILE
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d526b
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4d524d
push ebx
mov ecx, esi
call fcn.004d50e0
mov edi, eax
test edi, edi
jne 0x4d526b
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4d5296
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4d52b6
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d52a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esi + 8]
shr eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esi + 0xc], edx
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d52fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4d59e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x529998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x30]
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x14], esp
mov esi, esp
push edi
mov dword [esp + 0x28], 1
call fcn.00403640
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov ebx, esp
push esi
mov byte [esp + 0x2c], 2
call fcn.00403640
add eax, 0x10
mov dword [ebx], eax
mov ebx, dword [esp + 0x34]
add esp, 4
push ebx
mov ecx, ebp
mov byte [esp + 0x2c], 1
call fcn.004d5320
mov byte [esp + 0x20], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5a74
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x20], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5a93
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0xc

Function at 0x4da950
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0x60]
test esi, esi
mov dword [esp + 4], ecx
je 0x4da9e7
mov eax, dword [esp + 0xc]
shr eax, 8
cmp al, 2
push edi
mov edi, dword [esi + 0x34]
jne 0x4da9e6
test edi, edi
je 0x4da9e6
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebx
push ebp
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4da993
mov eax, dword [edi + 0x2c]
jmp 0x4da9b8
mov edx, dword [esi + 0x34]
mov eax, dword [edx + 0x58]
test eax, eax
mov ecx, ebx
jne 0x4da9a1
mov ecx, ebp
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x4da9b6
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x4da9b8
mov eax, ecx
mov esi, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004da8c0
cmp dword [esp + 0x18], 0x202
pop ebp
pop ebx
je 0x4da9dd
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4da9e6
push 0
mov ecx, esi
call fcn.004da7d0
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x4dbb40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x529e08
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
push esi
mov dword [ebp + 8], 0
call fcn.00505db3
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x4dbb85
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
push ebx
push edi
mov edi, dword [esp + 0x48]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4dbbfc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4dbbfc
cmp ebx, 0xa
jb 0x4dbbfc
push 0
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.005110cc
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x44], 0
call fcn.004db9a0
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x40], 0xffffffff
call fcn.00511449
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
mov ecx, dword [esp + 0x38]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 8

Function at 0x4ddd30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x529fd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esi + 0x1a4]
mov ebp, dword [eax]
push edi
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.00505af6
mov ecx, esi
mov dword [esp + 0x54], 0
call fcn.0044ea60
mov edx, dword [eax]
push 0
push esi
mov ecx, eax
call dword [edx + 0xd0]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
call fcn.004675a0
mov ecx, esi
mov byte [esp + 0x54], 1
call fcn.0044ea60
mov edx, dword [eax]
push 0
push esi
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [edx + 0x80]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x5c]
add edi, eax
mov eax, dword [esp + 0x24]
mov edx, esi
mov dword [edx], ebp
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
lea ecx, [esp + 0x28]
mov dword [edx + 0xc], eax
mov byte [esp + 0x54], 0
call fcn.004675f0
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.00505b51
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x4e00c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52a169
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00500afa
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi], 0x55f368
call fcn.00501205
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x50], eax
mov ebx, 1
mov byte [esp + 0x18], bl
call fcn.00501205
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x54], eax
mov dword [esi + 0x68], 0x55f2d8
mov dword [esi + 0x6c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov ecx, esi
mov byte [esp + 0x18], 3
call fcn.0051cddc
or eax, 0xffffffff
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
lea eax, [esi + 0x40]
push eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x3c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x60], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x64], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4e6320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52a670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ecx, 0x55
mov eax, 0xaa
push esi
xor esi, esi
push edi
mov word [esp + 0x20], cx
mov word [esp + 0x22], ax
mov word [esp + 0x24], cx
mov word [esp + 0x26], ax
mov word [esp + 0x28], cx
mov word [esp + 0x2a], ax
mov word [esp + 0x2c], cx
mov word [esp + 0x2e], ax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], vtable.CBitmap.0
lea eax, [esp + 0x20]
push eax
push 1
push 1
push 8
push 8
mov dword [esp + 0x4c], esi
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x1c]
call fcn.00505d5c
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], vtable.CBrush.0
mov ecx, dword [esp + 0x1c]
push ecx
mov byte [esp + 0x3c], 1
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.00505d5c
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00505e38
mov edi, dword [esi]
push 0xf
mov ebp, eax
call fcn.00463b80
mov ecx, eax
call fcn.00463550
push eax
mov ecx, esi
call dword [edi + 0x2c]
mov edi, dword [esi]
push 0x14
mov ebx, eax
call fcn.00463b80
mov ecx, eax
call fcn.00463550
push eax
mov ecx, esi
call dword [edi + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, dword [eax + 8]
push 0xf00021
sub ecx, edx
push ecx
sub eax, edi
push eax
mov eax, dword [esi + 4]
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
push ebp
mov ecx, esi
call fcn.00505e38
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x10]
call fcn.00505db3
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
mov dword [esp + 0x10], esi
call fcn.00505db3
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x18], esi
call fcn.00505db3
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8