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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a6ff8]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
rol ax, 8
movzx eax, ax
mov dword [0x4acb7c], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x440295
cmp dword [ebp - 0x108], 2
jne 0x440295
cmp dword [ebp - 0x114], 5
mov dword [0x4acb78], 1
jb 0x440295
mov eax, dword [0x4acb74]
cmp dword [ebp - 0x110], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x4acb74], eax
call fcn.004401a0
call fcn.004241f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046c6a6
mov esp, ebp
pop ebp
ret

Function at 0x4402b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
push 0x104
mov esi, ecx
call fcn.0046cf04
mov edi, eax
add esp, 8
test edi, edi
je 0x4402f6
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
mov esi, eax
call fcn.0046c747
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x440500
Capabilities:
Delete directory

Disassembly:
mov eax, dword [0x4acb10]
test eax, eax
je 0x440535
cmp dword [0x4acb44], 0
je 0x44051e
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4acb10]
test eax, eax
je 0x440535
push eax
call fcn.0046c747
add esp, 4
mov dword [0x4acb10], 0
mov eax, dword [0x4ac9c4]
test eax, eax
je 0x440551
push eax
call fcn.0046c747
add esp, 4
mov dword [0x4ac9c4], 0
mov eax, dword [0x4acb58]
test eax, eax
je 0x440561
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4acb5c]
test eax, eax
je 0x440571
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
ret

Function at 0x440dc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4acb50]
sub esp, 0x40
push esi
mov esi, ecx
test eax, eax
je 0x440e12
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x440dfc
cmp dword [ebp - 4], 0x103
jne 0x440dfc
cmp dword [0x4acb50], 0
jne 0x440e75
jmp 0x440e12
push dword [0x4acb50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4acb50], 0
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00470580
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x34], str.open
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0x48af24
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 1
mov dword [0x4acb54], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [0x4acb50]
test eax, eax
cmovne ecx, dword [ebp - 8]
mov dword [0x4acb50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4413f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x4ac9b4]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test esi, esi
jne 0x441410
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 0x100
jne 0x441453
cmp dword [ebp + 8], 9
jne 0x44147b
cmp dword [esi + 0x518], ecx
jle 0x44147b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x4ac9b4]
test ax, ax
js 0x441440
call fcn.0044ebb0
jmp 0x441445
call fcn.0044ed70
test eax, eax
je 0x441470
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 5
jne 0x44147b
mov eax, dword [0x4ac9ac]
test byte [eax + 0x14], 0x10
je 0x44147b
cmp byte [esi + 0x4c8], cl
je 0x44147b
call fcn.0042c070
mov edx, dword [ebp - 4]
mov esi, dword [0x4ac9b4]
xor ecx, ecx
movsx eax, word [esi + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4414c4
push edi
xor edi, edi
test eax, eax
jle 0x4414c3
push ebx
mov ebx, 0x1dc
push dword [ebp + 0xc]
mov eax, dword [ebx + esi]
push dword [ebp + 8]
push edx
push dword [ebp - 8]
push esi
call eax
movsx ecx, ax
test cl, 0x5c
jne 0x4414c2
inc edi
add ebx, 4
cmp edi, dword [ebp - 0xc]
jge 0x4414c2
mov esi, dword [0x4ac9b4]
mov edx, dword [ebp - 4]
jmp 0x441496
pop ebx
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4415b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x4415d7
push 0
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push esi
push edi
push 0x304
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 0
push dword [0x4ac988]
call ebx
mov esi, eax
test esi, esi
je 0x441627
jmp 0x441610
push pe_nt_image_headers32
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x441610
mov eax, dword [0x4ac9ac]
cmp dword [eax + 0x1fc], 0
jne 0x44167e
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x44167e
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea esp, [esp]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x441660
push dword [0x4ac984]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x4416a1
push 5
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x44b680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
lea eax, [ebp - 4]
push eax
push edx
mov dword [ebp - 0xc], ecx
call dword [0x4acaec]
mov edi, eax
cmp edi, 0xffffffff
je 0x44b6f2
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x44b6f2
push ebx
call fcn.0046c6b5
mov esi, eax
add esp, 4
test esi, esi
je 0x44b6eb
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jne 0x44b6e2
mov ecx, dword [ebp - 0xc]
push edi
mov dword [ecx], eax
call dword [0x4acabc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0046c747
add esp, 4
push edi
call dword [0x4acabc]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a6ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x1fc], 0
je 0x44c27b
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x44c28f
cmp dword [ebp - 0x14], 0xc
jne 0x44c28f
push 0
push dword [ebp - 0x10]
push esi
call fcn.0044c2a0
push 0
push dword [ebp - 0xc]
push esi
call fcn.0044c320
push 0
push dword [ebp - 8]
push esi
call fcn.0044c3a0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c6a6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046c6a6
mov esp, ebp
pop ebp
ret
Function at 0x450700
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov ebx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x4507d9
mov eax, dword [ebp + 8]
lea esp, [esp]
cmp ax, word [esi + 2]
jne 0x450773
mov al, byte [esi]
and al, 0x10
je 0x450730
test ebx, ebx
jne 0x450738
test al, al
jne 0x450770
test ebx, ebx
jne 0x450770
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 8
cwde
je 0x45074c
test eax, eax
jns 0x450770
jmp 0x450750
test eax, eax
js 0x450770
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 4
cwde
je 0x450764
test eax, eax
jns 0x45076c
jmp 0x450768
test eax, eax
js 0x45076c
movzx edi, word [esi + 4]
test edi, edi
jne 0x45077d
mov eax, dword [ebp + 8]
test byte [esi], 0x80
jne 0x4507d9
add esi, 8
jmp 0x450720
test byte [esi], 0x40
jne 0x4507b0
cmp edi, 0x7d0
jge 0x4507b8
mov esi, dword [ebp - 4]
movzx eax, di
push 0
or eax, 0x10000
push eax
push 0x111
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x7d0
jge 0x45078a
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x4507d9
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x4507d9
test al, 1
je 0x45078d
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450a50
Capabilities:
Log keystrokes

Disassembly:
push ebx
xor eax, eax
push edi
mov ebx, ecx
mov edi, edx
mov word [ebx], ax
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x450a9b
push esi
push 2
push 0x40
call fcn.0046cf04
add esp, 8
mov esi, eax
push 0x3f
push esi
push 0x65
push dword [0x4ac978]
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [edi - 0x60]
push ecx
push esi
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.0046c747
add esp, 0x10
pop esi
jmp 0x450ae7
lea eax, [edi - 0x70]
cmp eax, 0x17
ja 0x450ab8
lea eax, [edi - 0x6f]
push eax
push 0x48b230
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x450ae7
xor eax, eax
lea ebx, [ebx]
cmp dword [eax*8 + str._bf_tg_fh_ri], edi
je 0x450ad1
inc eax
cmp eax, 0x14
jl 0x450ac0
jmp 0x450ae7
push 0x3f
push ebx
push dword [eax*8 + 0x4ab31c]
push dword [0x4ac978]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebx], 0
jne 0x450aff
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [ebx], ax
xor eax, eax
mov word [ebx + 2], ax
pop edi
pop ebx
ret
Function at 0x450b10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0
mov ebx, ecx
push 0x78
mov edi, edx
push ebx
mov dword [ebp - 4], edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x79
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
movsx eax, word [edi + 0x12]
cmp esi, eax
jne 0x450b88
push 2
push 0x80
call fcn.0046cf04
mov edi, eax
mov eax, dword [ebp - 4]
add esp, 8
movsx edx, word [eax + esi*2]
mov ecx, edi
call fcn.00450a50
push edi
lea ecx, [esi + 0x6e]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.0046c747
mov edi, dword [ebp - 4]
add esp, 4
push 1
lea eax, [esi + 0x6e]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc esi
cmp esi, 8
jl 0x450b42
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4544c0
Capabilities:
Check os version
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4a6ff8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [0x4ac980], 0
mov dword [0x4acb98], 1
je 0x45460b
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45459a
cmp dword [ebp - 0x118], 2
jne 0x45459a
mov eax, dword [ebp - 0x124]
cmp eax, 6
ja 0x454542
jne 0x45459a
cmp dword [ebp - 0x120], 1
jbe 0x45459a
push str.Imm32.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x45459a
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmDisableIME
push esi
call ebx
mov edi, eax
test edi, edi
je 0x454593
push str.ImmIsIME
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x45458f
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
test eax, eax
je 0x45458f
push eax
call ebx
test eax, eax
je 0x454593
push 0xffffffffffffffff
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x4ac980]
call dword [sym.imp.MMFS2.dll_Ordinal_14]
push 0
mov dword [0x4ac980], 0
mov dword [0x4ac988], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x144]
push eax
call esi
test eax, eax
je 0x45460b
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x144]
push eax
call edi
test eax, eax
je 0x45460b
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x144]
push eax
call esi
test eax, eax
jne 0x4545e3
mov eax, dword [0x4acb14]
test eax, eax
je 0x454625
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_4]
mov dword [0x4acb14], 0
mov eax, dword [0x4ac990]
test eax, eax
je 0x45463f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x4ac990], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046c6a6
mov esp, ebp
pop ebp
ret
Function at 0x457280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
lea eax, [ebp - 8]
push eax
mov esi, ecx
push 1
cmp dword [esi + 0x1f6], 0
lea eax, [ebp - 1]
mov ebx, edx
push eax
push ebx
setne byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45735d
cmp byte [ebp - 1], 0
push edi
je 0x45734f
mov esi, dword [esi + 0x1f6]
mov edi, dword [0x4ac9ac]
cmp edi, esi
je 0x457336
test esi, esi
jne 0x4572d5
xor ecx, ecx
jmp 0x4572db
mov ecx, dword [esi + 0x1d8]
cmp dword [0x4ac9b0], ecx
je 0x4572ff
mov dword [0x4ac9b4], 0
test ecx, ecx
je 0x4572f9
mov eax, dword [ecx + 0x7c]
mov dword [0x4ac9b4], eax
mov dword [0x4ac9b0], ecx
mov dword [0x4ac9ac], esi
test esi, esi
je 0x45731c
mov eax, dword [esi + 0x1d0]
mov dword [0x4ac98c], eax
mov eax, dword [esi + 0x1d4]
jmp 0x457328
mov dword [0x4ac98c], 0
xor eax, eax
push eax
mov dword [0x4ac984], eax
call dword [sym.imp.MMFS2.dll_Ordinal_831]
mov esi, edi
mov ecx, ebx
call fcn.00447470
mov ecx, esi
mov edi, eax
call fcn.00402940
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x10]
push ecx
push 1
lea ecx, [ebp - 1]
mov eax, edx
push ecx
push eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4573f9
cmp byte [ebp - 1], 0
je 0x4573f4
push dword [ebx + 0x1fe]
mov edx, dword [ebx + 0x44]
push edi
mov ecx, ebx
call fcn.004567c0
mov ecx, dword [ebx + 0x1f6]
add esp, 8
test ecx, ecx
je 0x4573f9
call fcn.00402940
mov ecx, dword [ebx + 0x1f6]
xor edx, edx
mov esi, eax
call fcn.00405730
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00449060
mov ecx, esi
mov edi, eax
call fcn.00402940
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461fe0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a6ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push 6
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp + 8]
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x462028
push 0xa
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.00470552
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c6a6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046c6a6
mov esp, ebp
pop ebp
ret

Function at 0x4682e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
test ebx, ebx
je 0x46837e
mov edi, dword [ebp + 8]
test edi, edi
je 0x46837e
push 0x40
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x46837e
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x46837e
push esi
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x46836d
cmp dword [esi], 0x4550
jne 0x46836d
mov eax, dword [esi + 0x80]
test eax, eax
je 0x468377
lea esi, [eax + edi]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46835e
add eax, edi
push ebx
push eax
call fcn.0046ef11
add esp, 8
test eax, eax
je 0x46835e
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x468344
xor eax, eax
cmp dword [esi + 0xc], eax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push 1
push 0x57
call dword [sym.imp.USER32.dll_SetLastErrorEx]
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
push 1
push 0x57
call dword [sym.imp.USER32.dll_SetLastErrorEx]
pop edi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x468720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4aba38]
push edi
test eax, eax
je 0x468799
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x468799
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x468799
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x468781
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x468781
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x468781
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x54]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18
Function at 0x4687a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4aba38]
push edi
test eax, eax
je 0x468819
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x468819
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x468819
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x468801
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x468801
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x468801
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x58]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18

Function at 0x468820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4aba38]
push edi
test eax, eax
je 0x468899
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x468899
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x468899
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x468881
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x468881
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x468881
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x4c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18

Function at 0x4688a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4aba38]
push edi
test eax, eax
je 0x468919
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x468919
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x468919
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x468901
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x468901
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x468901
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18
Function at 0x468ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4aba38]
push edi
test eax, eax
je 0x468c04
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x468c04
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x468c04
push esi
mov esi, dword [ebp + 0xc]
push 4
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x468bf5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x468bf5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x468bf5
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x468bfe
push dword [ebp + 0x10]
mov eax, dword [edi + 0x3c]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0xc
xor eax, eax
pop edi
pop ebp
ret 0xc

Function at 0x468c10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4aba38]
push edi
test eax, eax
je 0x468c74
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x468c74
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x468c74
push esi
mov esi, dword [ebp + 0xc]
push 4
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x468c65
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x468c65
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x468c65
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x468c6e
push dword [ebp + 0x10]
mov eax, dword [edi + 0x40]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0xc
xor eax, eax
pop edi
pop ebp
ret 0xc