joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401100
lea ebx, [ebx]
cmp esi, eax
jae 0x401104
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010f0
cmp esi, eax
jb 0x40110a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402750
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f058
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402790
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [0x4ba074]
cmp ecx, 6
mov dword [esp + 0x1c], 0
jne 0x4027be
or ebp, 0xffffffff
add eax, 0xfffffff0
jmp 0x4028c8
test ecx, ecx
jne 0x4027d5
mov ecx, dword [0x4ba088]
push ecx
push str._s_ALUpdateMutex_Silence
lea edx, [esp + 0x18]
push edx
jmp 0x4027e5
mov eax, dword [0x4ba088]
push eax
push str._s_ALUpdateMutex
lea ecx, [esp + 0x18]
push ecx
call fcn.00402730
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
or ebp, 0xffffffff
test eax, eax
mov dword [esi + 0xa4], eax
je 0x402863
cmp eax, ebp
je 0x402863
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40282e
lea ecx, [esp + 0x10]
call fcn.00401a80
jmp 0x4028e2
mov edx, dword [esi + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esi + 0xa4], 0
call fcn.00401a80
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push edi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4028b3
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40289e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov esi, dword [esi + 0xa4]
test esi, esi
je 0x4028c5
cmp esi, ebp
jne 0x402820
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
mov dword [esp + 0x1c], ebp
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4028e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4060b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48f858
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [esi + 0x28]
push ecx
sub eax, 0x10
mov dword [esp + 0x10], esp
mov edi, esp
push eax
call fcn.004019a0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 4]
sub eax, 0x10
mov dword [esp + 0x18], esp
mov edi, esp
push eax
mov dword [esp + 0x28], 0
call fcn.004019a0
mov esi, dword [esp + 0x30]
add eax, 0x10
add esp, 4
mov dword [edi], eax
push esi
mov dword [esp + 0x28], 0xffffffff
call fcn.0042a330
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4

Function at 0x4066c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48f8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
call fcn.004236b0
cmp byte [esi + 0x59], bl
mov byte [esp + 0x30], 1
jne 0x40674d
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.004232d0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406736
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov ecx, esi
call fcn.00406480
lea ecx, [esi + 0x64]
push ecx
lea ecx, [esp + 0x18]
call fcn.00421410
lea edx, [esi + 0x80]
push edx
lea ecx, [esp + 0x18]
call fcn.004232a0
lea eax, [esi + 0x9c]
push eax
lea ecx, [esp + 0x18]
call fcn.004232b0
lea ecx, [esi + 0xb8]
push ecx
lea ecx, [esp + 0x18]
call fcn.004232c0
mov eax, dword [esi + 0x24]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.004019a0
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x18]
mov dword [edi], eax
call fcn.00423630
mov esi, dword [esi + 4]
push ecx
sub esi, 0x10
mov dword [esp + 0x14], esp
mov edi, esp
push esi
call fcn.004019a0
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x18]
mov dword [edi], eax
call fcn.004253e0
cmp eax, ebx
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
jne 0x40680b
call fcn.004232d0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40672a
call fcn.004232d0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406838
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x408630
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48fd48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
xor edi, edi
call fcn.00421c80
lea eax, [esi + 0x64]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edi
call fcn.00421c90
lea ecx, [esi + 0x80]
push ecx
lea ecx, [esp + 0x10]
call fcn.00421ca0
lea edx, [esi + 0x9c]
push edx
lea ecx, [esp + 0x10]
call fcn.00421cb0
lea eax, [esi + 0xb8]
push eax
lea ecx, [esp + 0x10]
call fcn.00421cc0
lea ecx, [esi + 0xd4]
push ecx
lea ecx, [esp + 0x10]
call fcn.00421cd0
cmp dword [esp + 0x30], edi
mov ecx, esi
je 0x4086cd
mov edx, dword [esp + 0x34]
push edx
push 1
call fcn.00408430
mov byte [esi + 0x58], 8
jmp 0x408736
cmp dword [esp + 0x38], edi
jne 0x4086da
mov eax, dword [esp + 0x34]
push eax
jmp 0x4086ea
call fcn.00406b60
test eax, eax
je 0x408703
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, esi
push edi
call fcn.00408430
test eax, eax
je 0x4086fd
lea ecx, [esp + 0xc]
call fcn.00423140
mov byte [esi + 0x58], 7
jmp 0x408736
movzx edx, byte [esi + 0x58]
movzx eax, byte [esi + 0x59]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.004231d0
test eax, eax
je 0x408722
push edi
mov ecx, esi
call fcn.00407d30
cmp dword [0x4ba074], edi
jne 0x408731
mov ecx, esi
call fcn.00406d80
mov edi, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00421ae0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0xc
Function at 0x409760
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x48feb8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x24]
call fcn.0045734e
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBitmap.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CBrush.0
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0x5c], 2
call dword [sym.imp.USER32.dll_GetClientRect]
call fcn.0045240a
movzx edx, word [esp + 0x70]
mov eax, dword [eax + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x18]
call fcn.00457b23
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x5c]
cmp edi, ebx
jne 0x409801
xor eax, eax
jmp 0x409804
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call fcn.0045785c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.00457bc9
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x60]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x70], eax
jle 0x409875
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push 0xcc0020
push ebx
push ebx
push edx
mov edx, dword [esp + 0x4c]
mov eax, ecx
imul eax, esi
push edx
push ecx
push ebx
push eax
mov eax, dword [edi + 4]
push eax
call ebp
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x60]
add esi, ecx
cmp esi, edx
jl 0x409840
mov eax, dword [esp + 0x70]
cmp eax, ebx
jne 0x40987d
xor eax, eax
jmp 0x409880
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00457bc9
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x64]
mov dword [esp + 0x68], ecx
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 1
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.00408cb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], bl
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.00408cb0
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], 0xffffffff
call fcn.004578d6
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x18
Function at 0x40c630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4904e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 0xc]
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esi - 0xc]
mov edi, dword [esp + 0x30]
mov edx, dword [ebx]
push 0x10
push edi
push eax
mov eax, dword [edx + 0x68]
push esi
mov ecx, ebx
call eax
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x10]
sub ecx, dword [edi]
cdq
idiv ecx
mov edx, dword [esp + 0x14]
add edx, 5
mov dword [esp + 0x20], 0xffffffff
add eax, 1
imul eax, edx
add dword [edi + 4], eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c6cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x40dd10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x490693
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0045734e
xor ecx, ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [esp + 0x28], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x30]
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov byte [esp + 0x28], 1
sete al
lea edi, [esi + 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
jne 0x40dd8e
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
push edi
mov ecx, ebx
call eax
xor ecx, ecx
jmp 0x40dda4
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
cmp dword [esi + 0x30], ecx
je 0x40de33
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0045785c
mov ecx, dword [ebx + 8]
push 2
push edi
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.00457b23
test ebp, ebp
je 0x40ddf2
mov ebp, dword [ebp + 4]
mov eax, dword [esi + 4]
push ebp
push eax
call fcn.00457bc9
mov dword [esi + 0x18], eax
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call fcn.0045720a
mov edx, dword [ebx + 8]
push 2
push edi
push edx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov eax, dword [esi + 0x24]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00457462
jmp 0x40de45
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
push 1
mov ecx, esi
call fcn.0045717f
cmp dword [esp + 0x38], 0
je 0x40de89
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x1c]
sub eax, dword [edi + 4]
sub ecx, dword [edi]
test edx, edx
mov ebx, dword [esi + 0x24]
mov edi, dword [edi]
je 0x40de6f
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x40de9c
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push edi
mov ecx, esi
call fcn.0045f180
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x416000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491157
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00459fea
mov dword [esp + 0x14], 0
mov dword [esi], vtable.CSkinProgress.0
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416055
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x60], eax
mov byte [esp + 0x14], 1
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416083
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x64], eax
mov byte [esp + 0x14], 2
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4160b1
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x68], eax
lea ecx, [esi + 0xdc]
mov byte [esp + 0x14], 3
call fcn.0045f876
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x30], 4
call fcn.00415f10
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c
Function at 0x417ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491578
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], vtable.CBrush.0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 8]
call fcn.00457b23
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax + 4]
lea edx, [esp + 0x24]
push edx
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 4], vtable.CBrush.0
call fcn.00408cb0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 0x18
Function at 0x41b110
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4919b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CBitmap.0
mov dword [esp + 0x20], 0
call fcn.0045240a
mov eax, dword [eax + 0xc]
movzx ecx, bx
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.00457b23
test eax, eax
jne 0x41b1d7
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], vtable.CBitmap.0
call fcn.00408cb0
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18
push edi
push 0
lea edx, [esi + 0x60]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041a4a0
test al, al
je 0x41b1a7
push edi
push 2
lea ecx, [esi + 0x68]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0041a4a0
test al, al
lea ecx, [esp + 0x10]
jne 0x41b235
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], vtable.CBitmap.0
call fcn.00408cb0
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18
push edi
push 1
lea eax, [esi + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.0041a4a0
test al, al
je 0x41b1a7
push edi
push 0
lea edx, [esi + 0x78]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041a4a0
test al, al
je 0x41b1a7
push edi
push 3
lea ecx, [esi + 0x80]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0041a4a0
test al, al
lea ecx, [esp + 0x10]
je 0x41b209
call fcn.00457b76
lea ecx, [esp + 0x10]
mov byte [esi + 0xa5], 1
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], vtable.CBitmap.0
call fcn.00408cb0
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18
Function at 0x420590
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x492359
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, dword [esp + 0x98]
mov dword [esp + 0x18], 0
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x6e7553
mov dword [esp + 0x40], 0x6e6f4d
mov dword [esp + 0x44], 0x657554
mov dword [esp + 0x48], 0x646557
mov dword [esp + 0x4c], 0x756854
mov dword [esp + 0x50], 0x697246
mov dword [esp + 0x54], 0x746153
mov dword [esp + 0x58], 0x6e614a
mov dword [esp + 0x5c], 0x626546
mov dword [esp + 0x60], 0x72614d
mov dword [esp + 0x64], 0x6c7041
mov dword [esp + 0x68], 0x79614d
mov dword [esp + 0x6c], 0x6e754a
mov dword [esp + 0x70], 0x6c754a
mov dword [esp + 0x74], 0x677541
mov dword [esp + 0x78], 0x706553
mov dword [esp + 0x7c], 0x74634f
mov dword [esp + 0x80], 0x766f4e
mov dword [esp + 0x84], 0x636544
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
add word [esp + 0x1c], 1
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x4978d6
mov ecx, esi
call fcn.00402f40
movzx edx, word [esp + 0x14]
movzx eax, word [esp + 0x12]
movzx ecx, word [esp + 0x10]
push edx
movzx edx, word [esp + 0xc]
push eax
movzx eax, word [esp + 0x12]
push ecx
push edx
movzx edx, word [esp + 0x1e]
lea ecx, [esp + eax*4 + 0x60]
movzx eax, word [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + eax*4 + 0x50]
push ecx
push str._s___d__s__d__d:_d:_d_GMT
push esi
mov dword [esp + 0xb4], 0
mov dword [esp + 0x3c], 1
call fcn.00402730
add esp, 0x24
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00473559
add esp, 0x8c
ret 4