joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486a70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
jne 0x486a91
mov ebx, dword [0x54e40c]
test ebx, ebx
je 0x486c2f
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
call esi
test eax, eax
jne 0x486c31
push dword [ebp + 0xc]
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x100]
push 0x5359a0
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x100]
push eax
push ebx
call esi
test eax, eax
jne 0x486c31
push dword [ebp + 0xc]
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x100]
push 0x53599c
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x100]
push eax
push ebx
call esi
test eax, eax
jne 0x486c31
mov edi, 0x535998
lea eax, [ebp - 0x100]
push edi
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp + 0xc]
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x100]
push eax
push ebx
call esi
test eax, eax
jne 0x486c31
lea eax, [ebp - 0x100]
push edi
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp + 0xc]
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x100]
push 0x5359a0
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x100]
push eax
push ebx
call esi
test eax, eax
jne 0x486c31
lea eax, [ebp - 0x100]
push edi
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp + 0xc]
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x100]
push 0x53599c
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x100]
push eax
push ebx
call esi
test eax, eax
jne 0x486c31
and dword [ebp + 8], eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push dword [ebp + 0xc]
push 0x535990
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x100]
push eax
push ebx
call esi
test eax, eax
jne 0x486c31
add dword [ebp + 8], 4
cmp dword [ebp + 8], 0x50
jle 0x486bce
and dword [ebp + 8], eax
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push dword [ebp + 0xc]
push 0x535988
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x100]
push eax
push ebx
call esi
test eax, eax
jne 0x486c31
add dword [ebp + 8], 4
cmp dword [ebp + 8], 0x50
jle 0x486c00
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4892ee
Capabilities:
Accept command line arguments
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
xor ebx, ebx
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
push 0x3c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [0x54e5f0], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x535a7c
call esi
test eax, eax
jne 0x489337
push 0x535a6c
call esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 8
push eax
mov dword [ebp - 0xc], 0x100
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jne 0x48944e
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x54e554], eax
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xdc], 5
jb 0x489444
cmp dword [ebp - 0xd8], 1
jb 0x489444
lea eax, [ebp - 0x26c]
push 0x103
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0048afe0
lea eax, [ebp - 0x26c]
push 0x535a60
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x168]
mov byte [ebp - 0x168], 0x88
push 0x4000
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x489444
push 0x535a54
call esi
mov edi, eax
cmp edi, ebx
je 0x489444
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x535a44
push edi
call esi
push 0x535a34
push edi
mov dword [ebp - 8], eax
call esi
push 0x535a2c
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [ebp - 8]
mov esi, eax
cmp esi, ebx
je 0x489444
mov eax, 0xfcfcfe
push eax
mov dword [0x5359bc], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push esi
mov dword [0x54e558], eax
call edi
call fcn.00487797
test eax, eax
pop edi
jne 0x489452
xor eax, eax
jmp 0x489493
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.WINMM.dll_midiOutOpen]
push dword [ebp - 4]
call dword [sym.imp.WINMM.dll_midiOutReset]
push dword [ebp - 4]
call dword [sym.imp.WINMM.dll_midiOutClose]
push ebx
push str.ibeam
push 0xc
call fcn.00489674
push ebx
push str.arrow
push 0x12
call fcn.00489674
add esp, 0x18
push 1
pop eax
pop esi
pop ebx
leave
ret
Function at 0x489e51
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call sub.MSVCRT.dll_strlen
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
mov dword [esp], 0x535bec
push edi
lea ebx, [eax + edi - 5]
call esi
pop ecx
mov dword [ebp + 8], ebx
pop ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
cmp eax, ecx
jne 0x489f0e
lea eax, [ebp - 0x400]
push 0x3ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x489ec0
mov al, byte [eax]
cmp al, 0x6f
je 0x489f0e
cmp al, 0x4f
je 0x489f0e
cmp al, 0x63
je 0x489efa
cmp al, 0x43
je 0x489efa
cmp al, 0x77
je 0x489ed6
cmp al, 0x57
je 0x489ed6
lea eax, [ebp - 0x508]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
test eax, eax
jne 0x489efa
lea eax, [ebp - 0x400]
push 0x53511c
push eax
call esi
mov byte [eax], bl
lea eax, [ebp - 0x400]
push 0x535be0
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
xor eax, eax
cmp dword [ebp + 0x10], ebx
setne al
push eax
push ebx
lea eax, [ebp - 0x400]
push edi
push eax
jmp 0x489f1c
xor eax, eax
cmp dword [ebp + 0x10], ebx
setne al
push eax
push ebx
push dword [ebp + 0xc]
push edi
push 0x521a2c
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb esi, esi
neg esi
cmp esi, ebx
jne 0x489f50
push edi
push 0x535bc0
push 0x30
push 0x534e6c
call fcn.0047f4f4
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x489f57
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__access]
xor ebx, ebx
push edi
push ebx
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
je 0x48a04f
mov edi, 0x103
lea eax, [ebp - 0x208]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
xor ecx, ecx
cmp byte [ebp + eax - 0x209], bl
sete cl
cmp ecx, 0x5c
je 0x489fbf
lea eax, [ebp - 0x208]
push 0x535c0c
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
test eax, eax
je 0x48a03e
lea eax, [ebp - 0x208]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
xor ecx, ecx
cmp byte [ebp + eax - 0x209], bl
sete cl
cmp ecx, 0x5c
je 0x48a01e
lea eax, [ebp - 0x208]
push 0x535c0c
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
test eax, eax
jne 0x48a054
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
jmp 0x48a06d
push dword [ebp + 8]
push 0x535bf4
push 0x30
push 0x534e6c
call fcn.0047f4f4
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4fbd02
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509508
push 0x4fbe36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x559a5c], 0xffffffff
or dword [0x559a60], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x558188]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x558184]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x559a58], eax
call sym.stub.exe_php_module_shutdown_for_exec
cmp dword [0x54d460], 0
jne 0x4fbd85
push sym.stub.exe__php_stream_sock_open_unix
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004fbe24
push 0x51200c
push 0x512008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x558180]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x55817c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x512004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00402c99
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5aec274a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..text
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7c3675
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x441650
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push 0x110
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x114
call fcn.0049e6e0
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44169e
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x441695
cmp eax, 4
jne 0x44169e
cmp dword [esp + 8], 0x5a
jb 0x44169e
xor eax, eax
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret

Function at 0x4416b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push 0x110
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x114
call fcn.0049e6e0
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4416f3
cmp dword [esp + 4], 6
jb 0x4416f3
mov eax, 1
add esp, 0x114
ret
xor eax, eax
add esp, 0x114
ret

Function at 0x4417d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push esi
push 0x30
mov esi, ecx
push 0
push esi
call fcn.0049e6e0
push 0x110
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esi], 0x30
mov dword [esp + 0x1c], 0x114
call fcn.0049e6e0
add esp, 0x18
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441829
mov eax, dword [esp + 8]
cmp eax, 5
jae 0x44182f
cmp eax, 4
jne 0x441829
cmp dword [esp + 0xc], 0x5a
jae 0x44182f
mov dword [esi], 0x2c
mov eax, esi
pop esi
add esp, 0x114
ret
Function at 0x442e50
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x442e90
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x442e9d
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x442e9d
mov ecx, dword [esi]
mov edx, dword [esp + 0xc]
push 0
push ecx
mov ecx, dword [esp + 0x10]
push 0
push 0
push edx
push ecx
call eax
pop esi
ret 8
cmp dword [esi + 4], 0
je 0x442e9d
pop esi
jmp dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
pop esi
ret 8

Function at 0x443150
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x443170
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x443184
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x4437e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x218
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x220]
mov edx, dword [ebx]
push esi
push edi
or eax, 0x2001f
push eax
push ecx
xor esi, esi
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.004430d0
mov edi, eax
cmp edi, esi
je 0x44383d
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4438e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x218
ret 4
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push esi
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
push eax
mov dword [esp + 0x3c], pe_nt_image_headers32
call ebp
test eax, eax
jne 0x4438aa
lea ebx, [ebx]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.004437e0
mov edi, eax
cmp edi, esi
jne 0x4438ee
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
push edx
mov dword [esp + 0x3c], pe_nt_image_headers32
call ebp
test eax, eax
je 0x443870
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x4438bf
push eax
call ebp
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x22c]
push eax
mov ecx, ebx
mov dword [esp + 0x18], esi
call fcn.00442fa0
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4438df
push eax
call ebp
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x218
ret 4
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4438df
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x218
ret 4
Function at 0x447000
Capabilities:
Access peb ldr_data
Check os version
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bbec7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov ecx, dword [0x4da024]
mov dword [esi + 0x28], ecx
mov edx, dword [0x4da024]
mov dword [esi + 0x2c], edx
mov eax, 1
mov dword [esp + 0x188], edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi], vtable.CEditView.0
mov dword [esi + 0x4c], edi
push 0x5c
lea eax, [esp + 0x14]
push edi
push eax
mov byte [esp + 0x194], 2
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x468], edi
call fcn.0049e6e0
push 0x110
lea ecx, [esp + 0x80]
push edi
push ecx
mov dword [esp + 0x38], 0x190
mov dword [esp + 0x84], 0x114
call fcn.0049e6e0
add esp, 0x18
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44713f
cmp dword [esp + 0x70], 6
jb 0x44713f
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
mov ebx, eax
push 0x5a
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 9
call dword [sym.imp.KERNEL32.dll_MulDiv]
push ebx
neg eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push str.Segoe_UI
lea eax, [esp + 0x30]
push 0x20
push eax
call fcn.0049e538
add esp, 0xc
cmp eax, 0x50
ja case.0x44718a.1
movzx ecx, byte [eax + 0x4471e4]
jmp dword [ecx*4 + 0x4471d4]
push 0x8007000e
call fcn.004413b0
push 0x80004005
call fcn.004413b0
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
mov ebx, eax
push 0x5a
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
push ebx
neg eax
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x4be030
lea edx, [esp + 0x30]
push 0x20
push edx
call fcn.0049e538
add esp, 0xc
cmp eax, 0x50
ja case.0x44718a.1
movzx eax, byte [eax + 0x447248]
jmp dword [eax*4 + 0x447238]
push 0x80070057
call fcn.004413b0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [esp + 0x180]
mov dword [esi + 0x4c], eax
xor edx, edx
xor eax, eax
mov word [esi + 0x260], ax
pop edi
mov word [esi + 0x58], dx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x180
ret
Function at 0x448bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bbf0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
push edi
xor edi, edi
push 0x3c
mov esi, ecx
lea ecx, [esp + 0x30]
push edi
push ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
call fcn.0049e6e0
push 0x5c
lea edx, [esp + 0xf8]
push edi
push edx
call fcn.0049e6e0
push 0x80
lea eax, [esp + 0x84]
push edi
push eax
call fcn.0049e6e0
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x10c]
add esp, 0x24
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], 0x109
mov dword [esp + 0x4c], 0x447d90
mov dword [esp + 0x38], edx
mov dword [esp + 8], vtable.WTL::CFontDialog.0
mov ecx, dword [esi + 0x4c]
mov eax, edx
push eax
push 0x5c
push ecx
mov dword [esp + 0x158], edi
call dword [sym.imp.GDI32.dll_GetObjectW]
or dword [esp + 0x40], 0x40
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0xc]
call fcn.00447eb0
cmp eax, 1
jne 0x448ccc
mov edx, dword [esi + 0x4c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, edi
je 0x448cac
mov dword [esi + 0x4c], edi
lea eax, [esp + 0xe8]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 1
push eax
mov dword [esi + 0x4c], eax
mov ecx, dword [esi + 4]
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
cmp eax, edi
pop edi
mov dword [esp + 0x148], 0xffffffff
pop esi
je 0x448ce7
push eax
call fcn.0049bf47
mov ecx, dword [esp + 0x13c]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x148
ret 0x10
Function at 0x449200
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bbf2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x58
push eax
lea ebx, [esi + 0x20]
push ebx
mov dword [esp + 0x13c], eax
call fcn.0049e6e0
mov edx, dword [esp + 0x144]
xor eax, eax
xor ecx, ecx
lea edi, [esi + 0x27c]
push 0x110
mov word [edi], ax
push ecx
lea eax, [esp + 0x2c]
lea ebp, [esi + 0x7c]
push eax
mov word [ebp], cx
mov dword [esi + 0x78], edx
mov dword [ebx], 0x58
mov dword [esp + 0x2c], 0x114
call fcn.0049e6e0
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4492a9
mov eax, dword [esp + 0x18]
cmp eax, 5
jae 0x4492af
cmp eax, 4
jne 0x4492a9
cmp dword [esp + 0x1c], 0x5a
jae 0x4492af
mov dword [ebx], 0x4c
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0x13c]
mov ecx, dword [esp + 0x148]
or eax, 0x880020
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x14c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x5c], edx
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], pe_nt_image_headers32
mov dword [esi + 0x2c], ecx
mov edx, dword [0x4de188]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x140]
mov dword [esi + 0x28], edx
mov dword [esi + 0x64], 0x446ce0
test eax, eax
je case.0x449328.0
push 0xffffffffffffffff
push eax
push 0x104
push edi
call fcn.0049e59b
add esp, 0x10
cmp eax, 0x50
ja case.0x449328.1
movzx ecx, byte [eax + 0x44937c]
jmp dword [ecx*4 + 0x44936c]
push 0x8007000e
call fcn.004413b0
push 0x80070057
call fcn.004413b0
push 0x80004005
call fcn.004413b0
mov ecx, dword [esp + 0x128]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 0x18