joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c5d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4a7b74]
xor eax, eax
test ecx, ecx
jne 0x43c5e1
pop ebp
ret
mov edx, dword [ebp + 0xc]
cmp edx, 0x100
jne 0x43c627
cmp dword [ebp + 0x10], 9
jne 0x43c650
cmp dword [ecx + 0x518], eax
jle 0x43c650
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
push dword [0x4a7b74]
test ax, ax
js 0x43c614
call fcn.004496a0
jmp 0x43c619
call fcn.00449880
add esp, 4
test eax, eax
je 0x43c645
mov eax, 4
pop ebp
ret
cmp edx, 5
jne 0x43c650
mov eax, dword [0x4a7b6c]
test byte [eax + 0x14], 0x10
je 0x43c64e
cmp byte [ecx + 0x4c8], 0
je 0x43c64e
call fcn.00425e70
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x4a7b74]
xor eax, eax
push ebx
movsx ebx, word [ecx + 0x1d8]
test ebx, ebx
je 0x43c69a
push esi
xor esi, esi
test ebx, ebx
jle 0x43c699
push edi
mov edi, 0x1dc
lea esp, [esp]
push dword [ebp + 0x14]
mov eax, dword [edi + ecx]
push dword [ebp + 0x10]
push edx
push dword [ebp + 8]
push ecx
call eax
cwde
test al, 0x5c
jne 0x43c698
inc esi
add edi, 4
cmp esi, ebx
jge 0x43c698
mov ecx, dword [0x4a7b74]
mov edx, dword [ebp + 0xc]
jmp 0x43c670
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x43ca30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a6110]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
rol ax, 8
movzx eax, ax
mov dword [0x4a7d08], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43caa5
cmp dword [ebp - 0x108], 2
jne 0x43caa5
cmp dword [ebp - 0x114], 5
mov dword [0x4a7d0c], 1
jb 0x43caa5
mov eax, dword [0x4a7d10]
cmp dword [ebp - 0x110], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x4a7d10], eax
call fcn.0043cac0
call fcn.0041e160
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004689fb
mov esp, ebp
pop ebp
ret
Function at 0x440b70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov edi, dword [ebp + 8]
push 0
push eax
push 2
lea eax, [ebp - 4]
push eax
push edi
call ebx
test eax, eax
je 0x440c11
cmp dword [ebp - 8], 2
jb 0x440c11
movsx eax, word [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
sub eax, 0
je 0x440bdd
dec eax
je 0x440c08
dec eax
jne 0x440c08
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
test eax, eax
je 0x440c08
cmp dword [ebp - 8], 8
jb 0x440c08
movsd xmm0, qword [ebp - 0x14]
movsd qword [esi + 8], xmm0
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call ebx
test eax, eax
je 0x440c08
cmp dword [ebp - 8], 4
jb 0x440c08
mov eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, dword [ebp + 0xc]
push edi
movzx eax, word [esi]
mov edi, dword [ebp + 8]
push 0
mov dword [ebp + 0xc], eax
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp + 0xc]
push eax
push edi
call ebx
test eax, eax
jne 0x443b17
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp + 0xc]
sub eax, 0
je 0x443b61
sub eax, 2
jne 0x443b0e
mov eax, dword [esi]
sub eax, 0
je 0x443b3d
sub eax, 2
je 0x443b36
xorps xmm0, xmm0
jmp 0x443b46
movsd xmm0, qword [esi + 8]
jmp 0x443b46
movd xmm0, dword [esi + 8]
cvtdq2pd xmm0, xmm0
push 0
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0x10]
push eax
push edi
movsd qword [ebp - 0x10], xmm0
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
sub eax, 0
je 0x443b78
sub eax, 2
je 0x443b71
xor eax, eax
jmp 0x443b7b
cvttsd2si eax, qword [esi + 8]
jmp 0x443b7b
mov eax, dword [esi + 8]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447ff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a6110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x1fc], 0
je 0x44804f
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x448065
cmp dword [ebp - 0x14], 0xc
jne 0x448065
push 0
push dword [ebp - 0x10]
push esi
call fcn.00446690
push 0
push dword [ebp - 0xc]
push esi
call fcn.00446710
push 0
push dword [ebp - 8]
push esi
call fcn.00446790
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004689fb
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004689fb
mov esp, ebp
pop ebp
ret 8

Function at 0x448b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
push esi
push edi
push 0
push eax
push dword [ebp + 0xc]
call dword [0x4a7cac]
mov esi, eax
cmp esi, 0xffffffff
je 0x448b71
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x448b71
push ebx
call fcn.00467cbe
mov edi, eax
add esp, 4
test edi, edi
je 0x448b6a
push 0
lea eax, [ebp - 8]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
cmp dword [ebp - 8], ecx
jne 0x448b61
mov eax, dword [ebp + 8]
push esi
mov dword [eax], ecx
call dword [0x4a7c7c]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.00467c86
add esp, 4
push esi
call dword [0x4a7c7c]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a190
Capabilities:
Check os version
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4801e0
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4a6110]
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 [0x4a7b40], 0
mov dword [0x4a7d60], 1
je 0x44a2da
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44a26a
cmp dword [ebp - 0x118], 2
jne 0x44a26a
mov eax, dword [ebp - 0x124]
cmp eax, 6
ja 0x44a212
jne 0x44a26a
cmp dword [ebp - 0x120], 1
jbe 0x44a26a
push str.Imm32.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x44a26a
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmDisableIME
push esi
call ebx
mov edi, eax
test edi, edi
je 0x44a263
push str.ImmIsIME
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x44a25f
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
test eax, eax
je 0x44a25f
push eax
call ebx
test eax, eax
je 0x44a263
push 0xffffffffffffffff
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x4a7b40]
call sub.MMFS2.dll_Ordinal_14
push 0
mov dword [0x4a7b40], 0
mov dword [0x4a7b48], 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 0x44a2da
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 0x44a2da
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x144]
push eax
call esi
test eax, eax
jne 0x44a2b2
mov eax, dword [0x4a7d14]
test eax, eax
je 0x44a2f3
push eax
call sub.MMFS2.dll_Ordinal_4
mov dword [0x4a7d14], 0
mov eax, dword [0x4a7b50]
test eax, eax
je 0x44a30d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x4a7b50], 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.004689fb
mov esp, ebp
pop ebp
ret
Function at 0x44b460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0
push 0x78
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x79
push ebx
call esi
push eax
call edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov edi, edi
movsx eax, word [edi + 0x12]
cmp esi, eax
jne 0x44b4d6
push 2
push 0x80
call fcn.004688e4
mov edi, eax
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + esi*2]
push ecx
push edi
call fcn.0044b7d0
add esp, 0x10
lea ecx, [esi + 0x6e]
push edi
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.00467c86
mov edi, dword [ebp + 0xc]
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 0x44b490
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44b7d0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
mov word [ebx], ax
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x44b820
push esi
push 2
push 0x40
call fcn.004688e4
add esp, 8
mov esi, eax
push 0x3f
push esi
push 0x65
push dword [0x4a7b38]
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.00467c86
add esp, 0x10
pop esi
jmp 0x44b867
lea eax, [edi - 0x70]
cmp eax, 0x17
ja 0x44b83d
lea eax, [edi - 0x6f]
push eax
push 0x481980
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x44b867
xor eax, eax
nop
cmp dword [eax*8 + str._bf_tg_fh_ri], edi
je 0x44b851
inc eax
cmp eax, 0x14
jl 0x44b840
jmp 0x44b867
push 0x3f
push ebx
push dword [eax*8 + 0x4a5124]
push dword [0x4a7b38]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebx], 0
jne 0x44b87f
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
pop ebp
ret
Function at 0x44ece0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
test esi, esi
jne 0x44ecf4
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
jmp 0x44ed00
cmp ax, word [esi + 2]
jne 0x44ed53
mov al, byte [esi]
and al, 0x10
je 0x44ed10
test ebx, ebx
jne 0x44ed18
test al, al
jne 0x44ed50
test ebx, ebx
jne 0x44ed50
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 8
cwde
je 0x44ed2c
test eax, eax
jns 0x44ed50
jmp 0x44ed30
test eax, eax
js 0x44ed50
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 4
cwde
je 0x44ed44
test eax, eax
jns 0x44ed4c
jmp 0x44ed48
test eax, eax
js 0x44ed4c
movzx edi, word [esi + 4]
test edi, edi
jne 0x44ed5d
mov eax, dword [ebp + 0x10]
test byte [esi], 0x80
jne 0x44edb6
add esi, 8
jmp 0x44ed00
test byte [esi], 0x40
mov esi, dword [ebp + 8]
jne 0x44ed6f
cmp edi, 0x7d0
jl 0x44ed95
jmp 0x44ed77
cmp edi, 0x7d0
jge 0x44ed95
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x44edb6
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x44edb6
test al, 1
jne 0x44edb6
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 ebx
pop edi
pop esi
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x450720
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x1f6], 0
mov edi, dword [ebp + 0xc]
push 0
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push edi
setne byte [ebp + 0xb]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x450787
cmp byte [ebp + 0xb], 0
je 0x45077a
push dword [esi + 0x1f6]
call fcn.004056c0
push edi
mov esi, eax
call fcn.00443ba0
push esi
mov edi, eax
call fcn.004056c0
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, 1
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45d1b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a6110]
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 0x45d1f8
push 0xa
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.0046e609
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004689fb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004689fb
mov esp, ebp
pop ebp
ret

Function at 0x4634b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
test ebx, ebx
je 0x46354e
mov edi, dword [ebp + 8]
test edi, edi
je 0x46354e
push 0x40
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x46354e
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x46354e
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 0x46353d
cmp dword [esi], 0x4550
jne 0x46353d
mov eax, dword [esi + 0x80]
test eax, eax
je 0x463547
lea esi, [eax + edi]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46352e
add eax, edi
push ebx
push eax
call fcn.0046d99d
add esp, 8
test eax, eax
je 0x46352e
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x463514
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 0x4638f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a7e48]
push edi
test eax, eax
je 0x463969
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x463969
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x463969
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 0x463951
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x463951
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x463951
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 0x463970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a7e48]
push edi
test eax, eax
je 0x4639e9
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x4639e9
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x4639e9
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 0x4639d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4639d1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4639d1
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 0x4639f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a7e48]
push edi
test eax, eax
je 0x463a69
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x463a69
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x463a69
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 0x463a51
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x463a51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x463a51
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 0x463a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a7e48]
push edi
test eax, eax
je 0x463ae9
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x463ae9
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x463ae9
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 0x463ad1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x463ad1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x463ad1
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 0x463d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a7e48]
push edi
test eax, eax
je 0x463dd4
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x463dd4
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x463dd4
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 0x463dc5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x463dc5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x463dc5
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x463dce
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 0x463de0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a7e48]
push edi
test eax, eax
je 0x463e44
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x463e44
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x463e44
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 0x463e35
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x463e35
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x463e35
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x463e3e
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
Function at 0x4780e4
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a6110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0046fedc
mov dword [ebp - 0x14], eax
cmp dword [0x4a8be8], edi
jne 0x4781d5
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x478162
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4782b5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4782b5
push 0x490588
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4782b5
push eax
call ebx
push 0x490594
push esi
mov dword [0x4a8be8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4a8bec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4a8bf0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a8bf8], eax
test eax, eax
je 0x4781d2
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a8bf4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4781fa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4781ed
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x47820f
push 4
pop eax
jmp 0x4782b7
cmp dword [ebp - 0x14], edi
je 0x47820f
push dword [0x4a8be8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4781f4
mov eax, dword [0x4a8bf4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x47826d
cmp dword [0x4a8bf8], esi
je 0x47826d
push eax
call ebx
push dword [0x4a8bf8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47826d
test eax, eax
je 0x47826d
call ecx
test eax, eax
je 0x478262
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x478262
test byte [ebp - 8], 1
jne 0x47826d
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x47829d
mov eax, dword [0x4a8bec]
cmp eax, esi
je 0x47829a
push eax
call ebx
test eax, eax
je 0x47829a
call eax
mov edi, eax
test edi, edi
je 0x47829a
mov eax, dword [0x4a8bf0]
cmp eax, esi
je 0x47829a
push eax
call ebx
test eax, eax
je 0x47829a
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4a8be8]
call ebx
test eax, eax
je 0x4782b5
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4782b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004689fb
leave
ret
Function at 0x1001c18
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push 0x1001204
call fcn.01001b8c
test eax, eax
jne 0x1001c37
mov eax, 0x522
jmp 0x1001c8b
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x1001b00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
pop edi
je 0x1001c85
cmp eax, 0xffffffff
je 0x1001c85
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1001c85
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
jmp 0x1001c8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret 8