joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58e650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6609d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0xf70648]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push eax
push 0xf67788
push ecx
mov byte [esp + 0x2c], 1
call fcn.0064a216
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push 0xf67784
push eax
call fcn.0064d053
push 0xf67780
lea ecx, [esp + 0x30]
mov bl, 2
push eax
push ecx
mov byte [esp + 0x2c], bl
call fcn.0064cfdf
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.0064ce83
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], bl
call fcn.0064cd96
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.0064cd96
mov edi, dword [esi + 0x118]
mov eax, dword [esi + 0x114]
cmp edi, eax
jge 0x58e7a8
push ebp
mov ebp, dword [esp + 0x2c]
mov al, byte [esp + 0x34]
test al, al
je 0x58e71c
push 1
push 0xfc2584
jmp 0x58e78f
push ebp
lea edx, [esp + 0x34]
push edi
push edx
mov ecx, esi
call fcn.0058a660
mov eax, dword [eax]
mov ebx, dword [esp + 0x10]
push eax
mov byte [esp + 0x28], 4
call fcn.00624bd2
push ecx
lea eax, [esp + 0x1c]
fstp qword [esp]
push ebx
push eax
call fcn.0064a216
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 1
call fcn.0064cd96
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00624bd2
fcomp qword [0xe75fc0]
add esp, 4
fnstsw ax
test ah, 0x40
je 0x58e788
mov eax, dword [esi + 0x348]
test eax, eax
jne 0x58e798
push 1
push 0xfc2584
jmp 0x58e78f
mov edx, dword [esp + 0x14]
push 1
push edx
push ebp
push edi
mov ecx, esi
call fcn.00585240
mov eax, dword [esi + 0x114]
inc edi
cmp edi, eax
jl 0x58e70b
pop ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0064cd96
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0064cd96
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x591eb0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x660e46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0xf70648]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.0064f1cd
cmp dword [0xfc2598], ebx
je 0x591f20
lea ecx, [esp + 8]
mov dword [esp + 0xac], 0xffffffff
call fcn.0064cd96
pop esi
pop ebx
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
add esp, 0xa8
ret
mov edx, dword [0xf70648]
push ebp
push edi
mov edi, 1
mov dword [0xfc2598], edi
mov dword [esp + 0x40], edx
lea eax, [esp + 0x20]
mov byte [esp + 0xb4], 1
push eax
call fcn.0057e850
add esp, 4
cmp esi, ebx
jne 0x591f56
mov dword [esp + 0x20], ebx
jmp 0x591f5d
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, esi
call fcn.0065132d
mov edx, dword [esi + 0x84]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x88]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.0064ce83
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x591fbb
mov dword [esp + 0x14], ebx
jmp 0x591fc2
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x591fdc
mov eax, dword [eax + 0x3d0]
cmp eax, edi
je 0x591fd6
cmp eax, 2
jne 0x591fdc
mov dword [esp + 0x18], edi
jmp 0x591fe0
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x591fee
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0064e802
mov edi, eax
cmp edi, ebx
jne 0x591ffe
xor eax, eax
jmp 0x592001
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x592029
mov ecx, esi
call fcn.0065132d
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [edi + 0x1c]
push 0x4e
push eax
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x592041
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0xfc2598], 0
test eax, eax
je 0x59206a
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x59206a
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], 0
call fcn.0064cd96
lea ecx, [esp + 0x10]
mov dword [esp + 0xb4], 0xffffffff
call fcn.0064cd96
mov ecx, dword [esp + 0xac]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x593fd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x661038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00653a1f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.00593f10
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0065394d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x594097
cmp dword [esp + 0x40], 1
jne 0x594095
cmp ecx, eax
jge 0x594097
mov eax, ecx
cmp eax, 0x12c
jge 0x5940a3
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.005940f0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00653a91
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x599be0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x661636
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0xf70648]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb4], ebx
call fcn.0064f1cd
mov edx, dword [0xf70648]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x1c]
mov byte [esp + 0xb0], 1
push eax
call fcn.0057e850
add esp, 4
cmp esi, ebx
jne 0x599c47
mov dword [esp + 0x1c], ebx
jmp 0x599c4e
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
push edi
mov ecx, esi
call fcn.0065132d
mov edx, dword [esi + 0x3c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x40]
mov edi, 1
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.0064ce83
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x599c9f
mov dword [esp + 0x14], ebx
jmp 0x599ca6
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x599cc1
mov eax, dword [eax + 0x3d0]
cmp eax, edi
je 0x599cbb
cmp eax, 2
jne 0x599cc1
mov dword [esp + 0x18], edi
jmp 0x599cc5
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x599cd3
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0064e802
mov edi, eax
cmp edi, ebx
jne 0x599ce3
xor eax, eax
jmp 0x599ce6
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x599d0e
mov ecx, esi
call fcn.0065132d
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x599d2a
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x599d49
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x599d49
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 0
call fcn.0064cd96
lea ecx, [esp + 0xc]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0064cd96
mov ecx, dword [esp + 0xa8]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x59cb1d
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x40c
test ah, 8
push esi
mov esi, ecx
je 0x59cc38
push ebp
call fcn.0059c8b0
push eax
call sub.IMM32.dll_ImmGetContext
mov ebp, eax
test ebp, ebp
je 0x59cc2b
push ebx
push edi
lea eax, [esp + 0x34]
push 0x18e
push eax
push 0x800
push ebp
call sub.IMM32.dll_ImmGetCompositionStringW
cdq
sub eax, edx
mov ecx, esi
mov edi, eax
sar edi, 1
call fcn.005b0730
test al, al
je 0x59cba5
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.005b66e0
mov ebx, eax
lea edx, [esp + 0x1cc]
push ebx
push edx
lea eax, [esp + 0x44]
push edi
push eax
call fcn.005b6730
mov edx, dword [esi]
add esp, 0x18
lea eax, [esp + 0x1c4]
mov ecx, esi
push 0
push ebx
push eax
mov byte [esp + ebx + 0x1d0], 0
call dword [edx + 0x40]
jmp 0x59cbe6
push 0
push 0
lea ecx, [esp + 0x1cc]
push 0x18f
push ecx
lea edx, [esp + 0x44]
push edi
push edx
push 0
call fcn.0059cc60
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x59cbe6
mov al, byte [esp + edi + 0x1c4]
mov ecx, esi
push eax
call fcn.005aae50
inc edi
cmp edi, ebx
jl 0x59cbd2
mov ecx, dword [esi + 0x328c]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.005a46a0
mov ecx, eax
lea edx, [esp + 0x10]
push edx
push ebp
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call sub.IMM32.dll_ImmSetCompositionWindow
push ebp
mov ecx, esi
call fcn.0059c8b0
push eax
call sub.IMM32.dll_ImmReleaseContext
pop edi
pop ebx
pop ebp
xor eax, eax
pop esi
add esp, 0x40c
ret 8
push eax
mov eax, dword [esp + 0x418]
push eax
push 0x10f
mov ecx, esi
call fcn.0059c8b0
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
add esp, 0x40c
ret 8

Function at 0x59cc60
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
lea ecx, [esp]
push 0xa
push ecx
and eax, 0xffff
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x59cc8b
add esp, 0xc
ret
lea edx, [esp]
push edx
call fcn.00624cb4
add esp, 4
add esp, 0xc
ret
Function at 0x5a101d
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
push 0
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edi
push ebx
push edx
push eax
push ecx
push 0xfc2628
push 0
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
push 0xb
call fcn.0064f443
push eax
push 0
mov ecx, esi
call fcn.0064ed5e
test eax, eax
jne 0x5a1073
pop edi
pop esi
pop ebx
ret 0x1c
call fcn.00656f7e
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x1c]
push 0
push eax
push 0
push edx
push edi
push ebx
push 0
push 0
push 0x42300000
push str.Source
push 0xf67a84
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x888
push eax
mov dword [esi + 0x98], eax
call edi
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x98]
push 0
push 0
push 0x889
push eax
call edi
mov ecx, dword [esi + 0x98]
push 5
push ecx
mov dword [esi + 0xa0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
ret 0x1c
Function at 0x5ae810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x661da8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esi + 0x3378]
mov eax, dword [esi + 0xc34]
push ebx
mov dword [esp + 0x34], ebx
mov edx, dword [ecx + 0x4a4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
call fcn.0064cb00
mov edi, dword [esp + 0x3c]
push edi
call fcn.0064cad7
add esp, 8
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x5ae89d
xor eax, eax
cmp edi, ebx
mov dword [esp + 0x18], edi
jle 0x5ae8a1
push ebp
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov cl, byte [eax + ebp]
mov byte [eax + edx], cl
inc eax
cmp eax, edi
jl 0x5ae88b
pop ebp
jmp 0x5ae8a1
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
push eax
mov ecx, esi
mov byte [esp + 0x20], bl
call dword [edx + 0x78]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
push ecx
call fcn.0064cb00
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x5b3370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x661ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005b3720
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor eax, eax
push ebx
mov dword [esp + 0x20], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x30]
push ebp
push eax
lea edi, [esi + 0x10]
push ecx
push edx
push edi
mov dword [esi], 0xe77a10
call fcn.005b3410
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ebx
push ebp
push eax
push ecx
push edx
call fcn.005b3470
add esp, 0x2c
mov dword [esi + 0x4c], eax
push edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 0xc], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x5b4880
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 4]
test al, al
je 0x5b4897
mov eax, dword [ecx + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4

Function at 0x5b4cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x661f13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push 0x90
call fcn.0064cad7
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x5b4dc6
mov ecx, esi
call fcn.005b4c20
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], ebx
call fcn.005fedb0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], 5
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], 8
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi], 0xe77b94
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5b4e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x661f33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0xe77b94
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 1
je 0x5b4e5f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x28]
push eax
call fcn.0064cb00
mov eax, dword [esi + 0x34]
mov dword [esi + 0x28], ebx
push eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0064cb00
add esp, 8
lea ecx, [esi + 0x14]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x14], bl
call fcn.005fedd0
mov ecx, esi
call fcn.005b4c60
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5b7cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.005b7970
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x5b7ec5
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.005bb580
test al, al
jne 0x5b7ebf
mov ecx, edi
call fcn.005bb5b0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.005bbad0
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x5b7e9f
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x5b7d27
xor esi, esi
mov ecx, ebx
call fcn.005b9490
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.005bbae0
mov ebp, eax
cmp dword [ebp], 1
jne 0x5b7d82
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x420
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x5b7dc0
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x820
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005b9b00
lea ecx, [ebx + 8]
call fcn.005bbaf0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push esi
call fcn.005b7950
mov eax, dword [ebp]
mov dword [esp + 0x1c], esi
cmp eax, 1
jne 0x5b7e01
mov eax, dword [ebp + 0xc]
mov edi, 0x21
add eax, esi
mov dword [esp + 0x1c], eax
jmp 0x5b7e06
mov edi, 0x22
cmp dword [esp + 0x18], 1
jle 0x5b7e13
or edi, 0x80
mov ecx, ebx
call fcn.005b9490
sub eax, dword [esp + 0x20]
je 0x5b7e25
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
dec ecx
cmp edx, ecx
jne 0x5b7e46
mov cl, byte [esp + 0x12]
or edi, 0x100
test cl, cl
je 0x5b7e46
or edi, 0x1000
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
sub esp, 0x20
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005b9b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5b7d25
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.005bb5b0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x5b7ebf
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.005b9ac0
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x5b7ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.005b7970
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x5b80f8
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.005bb580
test al, al
jne 0x5b80f2
mov ecx, edi
call fcn.005bb5b0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.005bbba0
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x5b80d2
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x5b7f47
xor esi, esi
mov ecx, ebx
call fcn.005b9490
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.005bbae0
mov ebp, eax
cmp dword [ebp], esi
jne 0x5b7fa1
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x440
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x5b7fdf
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x840
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005b9b00
lea ecx, [ebx + 8]
call fcn.005bbbb0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.005b7950
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x5b8025
mov ecx, dword [ebp + 0xc]
mov esi, 0x41
add eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x5b802a
mov esi, 0x42
mov edi, dword [esp + 0x18]
cmp edi, 1
jle 0x5b8039
or esi, 0x80
mov ecx, ebx
call fcn.005b9490
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
je 0x5b804f
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x14]
lea eax, [edi - 1]
cmp edx, eax
jne 0x5b806e
mov al, byte [esp + 0x12]
or esi, 0x100
test al, al
je 0x5b806e
or esi, 0x1000
mov eax, dword [ebp + 4]
sub esp, 0x20
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], ecx
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005b9b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5b7f45
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.005bb5b0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x5b80f2
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.005b9ac0
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret