joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442bec
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
mov esi, 0x11c
lea eax, [ebp - 0x11c]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.005e1e60
add esp, 0xc
mov dword [ebp - 0x11c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x11c]
push eax
call esi
test eax, eax
jne 0x442c43
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x114
push eax
call esi
test eax, eax
je 0x442cea
mov eax, dword [ebp - 0x10c]
sub eax, 1
je 0x442cd5
sub eax, 1
jne 0x442cea
cmp dword [ebp - 0x118], 6
jne 0x442c9f
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x442c7c
xor ebx, ebx
cmp byte [ebp - 2], al
setne bl
add ebx, 8
jmp 0x442cea
test eax, eax
jne 0x442c8f
cmp byte [ebp - 2], 1
push 9
pop ebx
push 7
pop eax
cmove ebx, eax
jmp 0x442cea
cmp eax, 2
jne 0x442cea
cmp byte [ebp - 2], 1
jne 0x442cea
push 0xa
pop ebx
jmp 0x442cea
cmp dword [ebp - 0x118], 5
jne 0x442cc8
mov eax, dword [ebp - 0x114]
cmp eax, 2
jne 0x442cb7
push 5
jmp 0x442c9c
cmp eax, 1
jne 0x442cc0
push 6
jmp 0x442c9c
test eax, eax
jne 0x442cea
push 3
jmp 0x442c9c
cmp dword [ebp - 0x118], 4
ja 0x442cea
push 4
jmp 0x442c9c
mov eax, dword [ebp - 0x110]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb ebx, ebx
add ebx, 2
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448b05
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6105ab
call fcn.0060c3a8
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], eax
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x2c]
mov dword [edi + 0x28], ebx
mov dword [edi + 0x24], vtable.IContainer.0
call fcn.0046bfa2
lea ecx, [edi + 0x188]
mov byte [ebp - 4], 1
call fcn.0046bfa2
lea ecx, [edi + 0x2e4]
mov byte [ebp - 4], 2
call fcn.0046bfa2
mov dword [edi + 0x444], ebx
mov dword [edi + 0x440], 0x699dbc
mov dword [edi + 0x450], ebx
mov dword [edi + 0x448], ebx
mov dword [edi + 0x44c], ebx
mov byte [ebp - 4], 4
call fcn.00404f47
push eax
lea ecx, [edi + 0x474]
call fcn.004065d8
mov dword [edi + 0x4b4], ebx
mov dword [edi + 0x4b8], ebx
mov byte [ebp - 4], 6
call fcn.00404f47
push eax
lea ecx, [edi + 0x4bc]
call fcn.004065d8
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x4dc]
mov dword [edi + 0x4d8], eax
call fcn.0045133c
xor ecx, ecx
lea ebx, [edi + 0x518]
mov dword [ebx], vtable.CBkControlCreator.0
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [edi + 0x524], ecx
mov dword [edi + 0x528], ecx
mov dword [edi + 0x52c], ecx
mov dword [edi + 0x530], ecx
mov dword [edi + 0x534], ecx
add edi, 0x538
mov dword [ebp + 8], edi
mov dword [edi], ecx
mov eax, vtable.KEvent.0
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov byte [ebp - 4], 0xd
lea esi, [edi + 0x34]
mov dword [ebp - 0x14], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.004069f1
mov dword [esi], eax
xor edx, edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [edi + 0x3c], edx
inc ecx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], edx
or dword [eax + 0x4c8], 0xffffffff
mov dword [eax + 0x51c], edi
pop edi
mov dword [eax + 0x500], ecx
mov dword [eax + 0x4b0], ecx
mov dword [eax + 0x470], ecx
mov dword [eax + 0x4c0], ecx
mov dword [eax + 0x4cc], ecx
mov dword [eax + 0x504], ecx
mov dword [eax + 0x510], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x184], ebx
mov dword [eax + 0x2e0], ebx
mov dword [eax + 0x43c], ebx
pop esi
mov dword [eax + 0x454], edx
mov dword [eax + 0x458], edx
mov dword [eax + 0x464], edx
mov dword [eax + 0x468], edx
mov dword [eax + 0x488], edx
mov dword [eax + 0x48c], edx
mov dword [eax + 0x490], edx
mov dword [eax + 0x494], edx
mov dword [eax + 0x498], edx
mov dword [eax + 0x4a8], edx
mov dword [eax + 0x46c], edx
mov dword [eax + 0x4a0], edx
mov dword [eax + 0x4ac], edx
mov dword [eax + 0x4a4], edx
mov dword [eax + 0x4c4], edx
mov dword [eax + 0x4d0], edx
mov dword [eax + 0x4d4], edx
mov dword [eax + 0x45c], edx
mov dword [eax + 0x508], edx
mov dword [eax + 0x50c], edx
mov dword [eax + 0x49c], edx
mov dword [eax + 0x514], 0xff
mov dword [eax + 0x460], edx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x44ce88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44ced3
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x44cecc
cmp dword [ebp + 8], 0x1b
jne 0x44ceb4
push 0
push 2
jmp 0x44cebe
cmp dword [ebp + 8], 0xd
jne 0x44cecc
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x520], 0
pop esi
pop ebp
ret 0xc
Function at 0x44da3c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [edi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov esi, eax
test esi, esi
jne 0x44da8b
push 1
push dword [ebp + 0x10]
lea ecx, [edi + 0x188]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x44]
mov esi, eax
test esi, esi
jne 0x44da8b
push 1
push dword [ebp + 0x10]
lea ecx, [edi + 0x2e4]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x44]
mov esi, eax
xor ebx, ebx
cmp dword [edi + 0x45c], ebx
je 0x44db03
cmp dword [edi + 0x46c], ebx
je 0x44daa9
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi + 0x46c], ebx
cmp dword [edi + 0x45c], esi
jne 0x44dafd
mov ecx, esi
call fcn.0046b859
movzx edx, word [ebp + 0x10]
mov esi, eax
movzx ecx, word [ebp + 0xc]
shl edx, 0x10
or edx, ecx
mov ecx, esi
push edx
push dword [ebp + 8]
push 0x205
call fcn.0046b8a2
mov ecx, dword [edi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push 0x4e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x45c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x450993
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
movzx eax, dx
mov esi, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x450a0e
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4509d8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4509d8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4509dc
xor eax, eax
jmp 0x450a0d
mov ecx, dword [ebp + 8]
lea eax, [ebx + 1]
push eax
call fcn.00406a4b
test eax, eax
je 0x4509f7
push ebx
push edi
push eax
call fcn.005e0960
add esp, 0xc
mov ecx, dword [ebp + 8]
lea eax, [ebx + 1]
push eax
call fcn.00413e9a
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x450a12
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x60d26f
call fcn.0060c3a8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ebx, edi
mov eax, dword [esi]
mov dword [ebp - 0x10], ebx
cmp dword [eax - 0xc], ebx
je 0x450af2
call fcn.00404f47
push eax
lea ecx, [ebp + 8]
call fcn.004065d8
mov dword [ebp - 4], edi
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [esi]
push str._s_d._s
push eax
call fcn.00406cc8
mov esi, dword [ebp + 8]
add esp, 0x14
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x450aea
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x450ae0
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
and dword [ebp + 0x14], 0
push 0
push eax
push ebx
lea eax, [ebx + 0xa]
push eax
call fcn.00406a4b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x450ad6
cmp dword [ebp + 0x14], ebx
jne 0x450ad6
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.00413e9a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00404ea9
xor eax, eax
inc eax
jmp 0x450af4
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00406b5c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x450ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
jne 0x450d04
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
jmp 0x450d63
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x450d68
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
je 0x450d68
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x450d63
or byte [esi + 0x14], 4
mov al, byte [esi + 0x14]
test al, 2
jne 0x450d5a
push dword [ebp + 8]
or al, 2
mov ecx, esi
mov byte [esi + 0x14], al
call fcn.00451fe8
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x450d63
cmp dword [esi + 0x18], edi
je 0x450d63
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x450d77
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x450d7f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
jne 0x450de0
test byte [esi + 0x14], 2
je 0x450de0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub eax, edx
je 0x450dd1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
je 0x450dd1
sub edx, dword [esi + 0x10]
sub ecx, dword [esi + 0x10]
push 0x11
push 0
push 0
push edx
push ecx
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x450de0
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x450de7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
inc edi
cmp byte [esi + 0xd], 0
je 0x450eef
mov eax, dword [ebp + 0xc]
cmp eax, 0x18
ja 0x450e9b
je 0x450e7e
dec eax
sub eax, edi
je 0x450e5a
sub eax, edi
je 0x450ee5
dec eax
sub eax, edi
je 0x450e47
sub eax, 0xa
jne 0x450eac
cmp byte [esi + 0xc], al
jne 0x450eef
cmp byte [esi + 0x1c], al
je 0x450eef
push dword [ebp + 8]
call fcn.00451fe8
mov byte [esi + 0x1c], 0
jmp 0x450eef
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00450ce0
jmp 0x450eef
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
mov word [esi + 0xc], 0
jmp 0x450eef
test byte [esi + 0x14], 1
je 0x450eef
cmp dword [ebp + 0x10], 0
jne 0x450eef
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xf9
jmp 0x450eef
sub eax, 0x1a
je 0x450ed4
sub eax, 0x1fc
je 0x450eef
sub eax, 0x1c
je 0x450eb0
xor edi, edi
jmp 0x450eef
cmp byte [esi + 0xc], 0
je 0x450ec4
push dword [ebp + 8]
call fcn.00452148
mov byte [esi + 0xc], 0
jmp 0x450eef
test byte [esi + 0x14], 2
je 0x450eef
push dword [ebp + 8]
call fcn.00451fe8
jmp 0x450eef
mov eax, dword [ebp + 0x10]
cmp eax, 0x2f
je 0x450ee5
cmp eax, 0x18
je 0x450ee5
test eax, eax
jne 0x450eef
push ecx
push ecx
push dword [ebp + 8]
call fcn.00450d7f
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x452baf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor edi, edi
mov ebx, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x460], edi
je 0x452bde
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x460], edi
mov ecx, dword [esi + 0x454]
test ecx, ecx
je 0x452cbd
call fcn.0046b859
mov edi, eax
test edi, edi
je 0x452c71
mov edx, dword [edi]
mov ecx, edi
push 2
push 0
call dword [edx + 0x38]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x452c17
push 1
push edi
mov ecx, esi
call fcn.00452b6d
mov eax, dword [esi + 0x454]
cmp eax, dword [esi + 0x450]
jne 0x452c71
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.0046b8a2
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x452c63
xor ecx, ecx
cmp word [eax], cx
je 0x452c63
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x452c71
cmp dword [edi + 0xc], ebx
je 0x452c71
mov eax, dword [edi + 0xc]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [esi + 0x454], eax
test ebx, ebx
je 0x452cbd
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x14], eax
mov ecx, edi
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
call dword [eax + 8]
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45341f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x30
pop esi
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push edi
call fcn.005e1e60
push 0x110
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 0x114
push ebx
push eax
call fcn.005e1e60
add esp, 0x18
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x453473
cmp dword [ebp - 0x110], 6
jae 0x453476
push 0x2c
pop esi
mov dword [edi], esi
mov esi, dword [ebp + 0xc]
push esi
mov dword [edi + 4], ebx
call dword [sym.imp.USER32.dll_GetParent]
or dword [edi + 4], 1
mov dword [edi + 8], eax
mov dword [edi + 0xc], esi
mov eax, dword [0x6c45a8]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x24], eax
mov eax, edi
mov dword [edi + 0x28], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x459605
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.004597ca
test eax, eax
jne 0x459619
and dword [esi + 0x134], eax
pop esi
ret
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45964a
push 0
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0x140], 0
pop esi
ret

Function at 0x45dd60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x18]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
inc eax
xor ecx, ecx
cmp edi, 0xf
jne 0x45dda1
mov dword [esi + 0x134], eax
mov dword [ebx], ecx
cmp dword [esi + 0x134], ecx
jne 0x45dd9a
push ebx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.0046b8ce
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp edi, 2
jne 0x45dddf
push dword [esi + 0xc]
mov dword [esi + 0x134], eax
push dword [esi + 0x13c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x45ddd8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45ddd8
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
xor ecx, ecx
inc eax
jmp 0x45dd7e
cmp edi, 0x47
jne 0x45ddf6
push dword [ebp + 0x14]
mov ecx, esi
mov dword [esi + 0x134], eax
call fcn.0045dc77
jmp 0x45ddd8
cmp edi, 0x18
jne 0x45dd80
mov dword [esi + 0x134], eax
mov eax, dword [esi]
cmp dword [ebp + 0x10], ecx
je 0x45de0d
push 8
push ecx
jmp 0x45de10
push ecx
push 8
mov ecx, esi
call dword [eax + 0x38]
cmp dword [ebp + 0x10], 0
je 0x45de39
mov ecx, dword [esi + 8]
jmp 0x45de30
mov ecx, dword [eax + 0x30]
shr ecx, 3
not ecx
test cl, 1
je 0x45ddd8
mov ecx, dword [eax + 8]
call fcn.0046b859
test eax, eax
jne 0x45de20
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00464ef6
jmp 0x45ddd8
Function at 0x465788
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x610e65
call fcn.0060c3a8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
mov dword [edi], vtable.CBkWindow.0
call fcn.0046bda8
mov ebx, 0x6c8b04
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0046bda8
inc dword [eax + 0x60]
mov esi, dword [eax + 0x60]
push esi
call fcn.0046bda8
mov ecx, eax
call fcn.00465665
push ebx
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
lea esi, [edi + 0x10]
mov dword [edi + 0xc], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [edi + 0x20], ebx
call fcn.00404f47
push eax
lea ecx, [edi + 0x24]
call fcn.004065d8
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
call fcn.00404f47
push eax
lea ecx, [edi + 0x3c]
call fcn.004065d8
mov dword [edi + 0x40], ebx
call fcn.00404f47
push eax
lea ecx, [edi + 0x44]
call fcn.004065d8
call fcn.00404f47
push eax
lea ecx, [edi + 0x48]
call fcn.004065d8
or dword [edi + 0x4c], 0xffffffff
lea ecx, [edi + 0xbc]
or dword [edi + 0x50], 0xffffffff
xor eax, eax
or dword [edi + 0x60], 0xffffffff
mov dword [edi + 0x54], ebx
mov word [edi + 0x58], ax
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], 1
mov dword [edi + 0xac], ebx
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
call fcn.00467b13
call fcn.00467b13
mov byte [ecx + 0x28], 0xff
lea ecx, [edi + 0x100]
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf4], ebx
mov dword [edi + 0xf8], vtable.CBkWindow::BkAnimationHandler.0
mov dword [edi + 0xfc], edi
call fcn.00467b13
call fcn.00467b13
mov byte [ecx + 0x28], 0xff
mov byte [edi + 0x130], bl
push esi
mov dword [edi + 0x134], ebx
mov dword [edi + 0x138], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x46aab1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and dword [ebp - 4], 0
lea eax, [ebp - 0x214]
push 0x210
push 0
push eax
call fcn.005e1e60
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call fcn.00406173
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x46ad54
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x611102
call fcn.0060c3a8
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0046ad06
push dword [edi]
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0046ab0b
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x46ae74
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46ae71
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.Gdiplus::PrivateFontCollection.0
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.gdiplus.dll_GdipNewPrivateFontCollection]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call dword [sym.imp.gdiplus.dll_GdipPrivateAddFontFile]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.gdiplus.dll_GdipGetFontCollectionFamilyCount]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
test ebx, ebx
jle 0x46ae58
xor ecx, ecx
mov eax, ebx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x46ae25
push 0x417837
push 0x46ac6b
push ebx
lea esi, [eax + 4]
mov dword [eax], ebx
push 8
push esi
call fcn.0049a5bf
mov byte [ebp - 4], 1
mov dword [edi + 4], esi
test esi, esi
je 0x46ae58
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.0046ac75
test eax, eax
jne 0x46ae51
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x46ae51
mov dword [edi + 8], ebx
mov dword [edi + 0xc], eax
jmp 0x46ae58
mov ecx, edi
call fcn.0046ad06
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.Gdiplus::PrivateFontCollection.0
push eax
call dword [sym.imp.gdiplus.dll_GdipDeletePrivateFontCollection]
mov dword [ebp - 0x24], vtable.Gdiplus::FontCollection.0
pop ebx
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret