joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447d60
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5563e8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x78]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.FCObjImage.0
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 + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
movzx eax, word [esp + 0x7c]
push 0x56c890
push eax
push ebx
mov dword [esp + 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x447e23
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
lea edi, [esp + 0x1c]
call fcn.00437a40
cmp dword [ebp + 0x120], ebx
jle 0x447e3b
push ebx
lea esi, [ebp + 0x110]
call fcn.004c9670
mov eax, dword [eax]
jmp 0x447e3d
xor eax, eax
add eax, 0x48
push eax
lea esi, [esp + 0x18]
call fcn.00449ed0
cmp dword [ebp + 0x120], ebx
jle 0x447e62
push ebx
lea esi, [ebp + 0x110]
call fcn.004c9670
mov eax, dword [eax]
jmp 0x447e64
xor eax, eax
mov edi, 0xff0000
mov dword [eax + 0x150], edi
cmp dword [ebp + 0x120], ebx
jle 0x447e87
push ebx
lea esi, [ebp + 0x110]
call fcn.004c9670
mov eax, dword [eax]
jmp 0x447e89
xor eax, eax
mov dword [eax + 0x154], 0xff
cmp dword [ebp + 0x120], ebx
jle 0x447ea9
push ebx
lea esi, [ebp + 0x110]
call fcn.004c9670
mov ebx, dword [eax]
lea esi, [esp + 0x14]
mov dword [ebx + 0x158], edi
mov dword [esp + 0x14], vtable.FCObjImage.0
call fcn.00432400
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
Function at 0x44dda0
Capabilities:
Identify system language via api

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push 0
and eax, 0x3ff
cmp ax, 4
push 0
push 0x190
jne 0x44ddcf
push 0x5a
push 0x56ea60
call fcn.0044d340
add esp, 0x14
pop ecx
ret
cmp ax, 0x11
push 0x50
jne 0x44dde6
push str.MS_UI_Gothic
call fcn.0044d340
add esp, 0x14
pop ecx
ret
push str.MS_Sans_Serif
call fcn.0044d340
add esp, 0x14
pop ecx
ret

Function at 0x44e310
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x547a26
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
lea esi, [edi + 0xc]
mov dword [edi], vtable.FCController_Fill.0
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi], vtable.FCObjImage.0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
lea ebp, [edi + 0x5c]
mov dword [esp + 0x1c], eax
mov dword [ebp], eax
mov ecx, 1
mov byte [esp + 0x1c], cl
mov dword [edi + 0x60], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], 0xffffff
call fcn.00432400
mov ebx, 0x5660e8
mov ecx, ebp
call fcn.00416850
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x44eac0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5479e8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esp + 0x10], eax
mov dword [esi], vtable.FCObjImage.0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call fcn.004327f0
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8
Function at 0x44ef60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x550738
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.FCCtrlXPPopupMenu.0
mov dword [esi + 8], vtable.FCCtrlXPPopupMenu.1.0
lea ecx, [esi + 0x4c]
mov dword [esp + 0x14], 0
mov dword [ecx], vtable.FCCtrlXPPopupMenu::FCCtrlXPPopupMenuPanel.0
mov dword [ecx + 0x30], vtable.FCCtrlXPPopupMenu::FCCtrlXPPopupMenuPanel.1.0
mov dword [ecx + 0x30], vtable.FCController_ColorScheme.0
call fcn.00451170
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00451010
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x44f0d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x548f58
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0x10]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
sub eax, ebx
sub eax, esi
cdq
sub eax, edx
mov edx, dword [edi + 0x14]
mov ecx, eax
mov eax, dword [ebp + 0x1c]
sub eax, edx
sar ecx, 1
add ecx, esi
mov esi, dword [ebp + 0x14]
sub eax, esi
cdq
sub eax, edx
mov edx, dword [edi + 0x14]
sar eax, 1
add eax, esi
xor esi, esi
mov dword [esp + 0x30], edx
mov edx, esi
mov dword [esp + 0x14], edx
push eax
mov edx, ebx
add ecx, 1
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
push ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_OffsetRect]
xor eax, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], vtable.FCObjImage.0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x90], esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x44]
push eax
call fcn.00432850
add esp, 0x14
push 0x64
lea ecx, [esp + 0x28]
push ecx
mov edx, ecx
push edx
push edi
lea eax, [esp + 0x44]
push eax
call fcn.0043a9e0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 4]
push eax
lea eax, [esp + 0x48]
call fcn.0043a980
add esp, 0x14
lea esi, [esp + 0x34]
mov dword [esp + 0x34], vtable.FCObjImage.0
call fcn.00432400
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x450b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5562b9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esp + 0x14], eax
mov dword [esi + 8], vtable.FCController_ColorScheme.0
mov dword [esi + 0xc], 1
mov dword [esi], vtable.FCCtrlPopupMenuBase.1.0
mov dword [esi + 8], vtable.FCCtrlPopupMenuBase.0
mov dword [esi + 0x1c], vtable.PCL_Interface_Composite_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t____.0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], vtable.PCL_Interface_Composite_class_CMenu_.0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov byte [esp + 0x14], 3
call fcn.0044dd30
test byte [0x5c3500], 1
mov dword [esi + 0x10], eax
jne 0x450bb7
or dword [0x5c3500], 1
mov dword [0x5c34fc], 0x56f4bc
mov dword [esi + 0x14], 0x5c34fc
call fcn.00450fa0
mov dword [esi + 0x18], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x450c50
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x548f58
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 0x10]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
sub eax, ebx
sub eax, esi
cdq
sub eax, edx
mov edx, dword [edi + 0x14]
mov ecx, eax
mov eax, dword [ebp + 0x1c]
sub eax, edx
sar ecx, 1
add ecx, esi
mov esi, dword [ebp + 0x14]
sub eax, esi
cdq
sub eax, edx
mov edx, dword [edi + 0x14]
sar eax, 1
add eax, esi
xor esi, esi
mov dword [esp + 0x30], edx
mov edx, esi
mov dword [esp + 0x14], edx
push eax
mov edx, ebx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
push ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_OffsetRect]
xor eax, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], vtable.FCObjImage.0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x90], esi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x44]
push eax
call fcn.00432850
add esp, 0x14
lea ecx, [esp + 0x24]
push 0x64
push ecx
mov edx, ecx
push edx
push edi
lea eax, [esp + 0x44]
push eax
call fcn.0043a9e0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 4]
push eax
lea eax, [esp + 0x48]
call fcn.0043a980
add esp, 0x14
lea esi, [esp + 0x34]
mov dword [esp + 0x34], vtable.FCObjImage.0
call fcn.00432400
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x452440
Capabilities:
Check os version

Disassembly:
sub esp, 0x28
push esi
push edi
call fcn.004f3785
mov esi, dword [eax + 8]
lea eax, [esp + 8]
push eax
push 0x56f870
push esi
call dword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x452503
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
movzx ecx, al
jae 0x45248c
cmp ecx, 5
ja 0x452482
jne 0x45248c
cmp ah, 1
jb 0x45248c
mov dword [esp + 8], 0x2000b
jmp 0x452494
mov dword [esp + 8], 0xb
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
push 0x7f00
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
add eax, 0x1b4
cmp eax, edi
jne 0x4524d3
mov dword [esp + 0x24], edi
jmp 0x4524da
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
lea eax, [esp + 8]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x56f870
call fcn.004f07f6
test eax, eax
jne 0x452503
call fcn.004e9ce7
xor eax, eax
pop edi
pop esi
add esp, 0x28
ret 4
pop edi
mov eax, 1
pop esi
add esp, 0x28
ret 4
Function at 0x45dd40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x555f78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5b2920]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
mov eax, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x45dd90
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004029f0
lea edi, [esp + 0x10]
mov dword [esp + 0x38], esi
call fcn.0045d9d0
cmp dword [esp + 0x24], 0x14
ja 0x45dddf
push 0x56828c
mov ebx, 2
xor eax, eax
mov edx, edi
call fcn.00404be0
cmp eax, 0xffffffff
jne 0x45dddf
call fcn.0045dc80
test al, al
je 0x45dde4
mov esi, 1
cmp dword [esp + 0x28], 8
jb 0x45ddf8
mov eax, dword [esp + 0x14]
push eax
call fcn.004e946d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0050fe87
add esp, 0x2c
ret
Function at 0x463df0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x556ec3
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], 0
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov edi, dword [esp + 0x24]
je 0x463ed1
test edi, edi
je 0x463e3d
mov eax, dword [edi]
jmp 0x463e3f
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463ed1
mov ecx, dword [ebp + 0x74]
test ecx, ecx
je 0x463e64
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebp + 0x74], 0
push 0xd4
call fcn.004e943d
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x18], 1
je 0x463e89
mov eax, ebp
call fcn.0046ffe0
jmp 0x463e8b
xor eax, eax
test edi, edi
mov byte [esp + 0x18], 0
push ecx
mov dword [ebp + 0x74], eax
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
je 0x463eaa
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebp + 0x74]
push ecx
call fcn.00464700
lea edi, [esp + 0x24]
call fcn.00417380
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 8
test edi, edi
je 0x463f09
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x463f09
mov eax, dword [edi]
test eax, eax
je 0x463ef0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x463f00
push eax
call fcn.004e946d
add esp, 4
push edi
call fcn.004e946d
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 8
Function at 0x466660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556d88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebx + 8]
lea esi, [ebx + 0xc]
lea edi, [ebx + 4]
mov dword [edi], 1
mov dword [esp + 0x24], eax
mov dword [eax], 0xffffff
mov dword [esp + 0x20], esi
call fcn.00432400
lea ecx, [ebx + 0x5c]
mov ebx, 0x5660e8
mov dword [esp + 0x10], ecx
call fcn.00416850
lea esi, [esp + 0x14]
mov dword [edi], 0
call fcn.00466890
mov dword [esp + 0x38], 0
mov eax, dword [eax]
test eax, eax
je 0x4666e3
mov eax, dword [eax]
jmp 0x4666e5
xor eax, eax
mov ebx, dword [ebp + 0xc]
push edi
mov edx, eax
mov ecx, ebx
call fcn.0044ec20
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x46673f
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x46673f
test esi, esi
je 0x46673f
mov eax, dword [esi]
test eax, eax
je 0x466726
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x466736
push eax
call fcn.004e946d
add esp, 4
push esi
call fcn.004e946d
add esp, 4
mov edi, dword [edi]
sub edi, 1
je 0x46683e
sub edi, 1
je 0x466777
sub edi, 2
jne 0x466875
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.004668d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [esp + 0x1c]
call fcn.004668b0
mov dword [esp + 0x38], 2
mov eax, dword [eax]
test eax, eax
je 0x466792
mov edx, dword [eax]
jmp 0x466794
xor edx, edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.0044b8e0
mov edi, dword [esp + 0x14]
mov esi, eax
add esp, 4
cmp edi, esi
je 0x4667c6
call fcn.00417380
mov eax, dword [esi]
test eax, eax
mov edx, edi
mov dword [edx], eax
je 0x4667c6
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x18]
call fcn.00417380
lea edi, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00417380
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
test esi, esi
je 0x46681d
cmp dword [esi + 4], 0
jne 0x4667fb
mov ecx, dword [esi]
push ecx
call fcn.005301e0
mov dword [esi + 4], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 4]
push edx
call fcn.0043da00
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
call fcn.0043da00
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [esp + 0x28]
call fcn.004668b0
mov dword [esp + 0x38], 1
mov eax, dword [eax]
test eax, eax
je 0x466859
mov eax, dword [eax]
jmp 0x46685b
xor eax, eax
mov ecx, dword [esp + 0x24]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.0044ec20
add esp, 4
lea edi, [esp + 0x28]
call fcn.00417380
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46a630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x547648
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
mov eax, edi
lea esi, [esp + 0xc]
call fcn.00449ac0
mov dword [esp + 0x30], 0
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x46a6b4
mov eax, dword [eax + 0x20]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call esi
test eax, eax
je 0x46a6b4
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x46a6b4
mov ecx, dword [eax + 0x20]
push ecx
call esi
test eax, eax
je 0x46a699
mov ecx, dword [ebx + 0x3c]
jmp 0x46a69b
xor ecx, ecx
call fcn.004f3a74
test eax, eax
jne 0x46a6b4
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
push 0x99a8ac
mov ecx, edi
call eax
jmp 0x46a709
cmp dword [ebx + 0x40], 0
jne 0x46a6e6
mov esi, ebx
call fcn.0044b630
test eax, eax
jne 0x46a6e6
mov eax, dword [esp + 0x4c]
mov ecx, ebp
mov edx, ebx
call fcn.0046a780
mov esi, dword [edi]
lea ecx, [ebx + 0xc]
call fcn.0044ea70
mov edx, dword [esi + 0x30]
push eax
mov ecx, edi
call edx
jmp 0x46a709
mov esi, dword [edi]
lea ecx, [ebx + 0xc]
mov eax, ebp
call fcn.0044ea70
push eax
mov eax, dword [esi + 0x30]
mov ecx, edi
call eax
push 1
push 1
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
push 1
mov ecx, edi
call fcn.004e9ba1
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 4]
lea ecx, [ebx + 0x14]
call eax
test eax, eax
jne 0x46a725
xor ecx, ecx
jmp 0x46a728
mov ecx, dword [eax + 4]
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
mov edx, dword [edi]
push esi
lea esi, [esp + 0x40]
push esi
push ecx
push eax
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
lea esi, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00449b30
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x28
ret 0x20