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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4a7ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, dword [0x4ad9b4]
add edi, 0x2c
mov dword [ebp - 0x44], edi
mov dword [edi], 0
mov ecx, dword [0x4ad9b4]
cmp eax, dword [ecx + 0xc]
je 0x42d05d
cmp eax, dword [ecx + 0x10]
jne 0x42d171
push ebx
push esi
xor esi, esi
xor edx, edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edx
lea esp, [esp]
mov eax, dword [0x4ad9ac]
xor ebx, ebx
mov ecx, dword [eax + 0x254]
movzx eax, word [esi + ecx]
test eax, eax
jle 0x42d156
cmp eax, 4
jle 0x42d0c2
cmp eax, 5
jne 0x42d156
lea esi, [ecx + 0x16]
add esi, edx
lea edi, [ebx + 8]
nop
movzx eax, word [esi]
push eax
add ebx, ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x42d0b4
or ebx, 1
sub esi, 2
dec edi
jne 0x42d0a0
mov edi, dword [ebp - 0x44]
jmp 0x42d14e
lea esi, [eax - 1]
lea eax, [ebp - 0x38]
push eax
push esi
mov dword [ebp - 0x38], 0x34
mov dword [ebp - 0x34], 0x83
call dword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x42d14e
mov edx, dword [ebp - 0x30]
shl esi, 5
mov eax, dword [esi + 0x4ad9e8]
mov ecx, dword [esi + 0x4ad9ec]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x42d108
mov ebx, 4
jmp 0x42d118
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
mov eax, 8
cmovae ebx, eax
mov eax, dword [esi + 0x4ad9f0]
mov ecx, dword [esi + 0x4ad9f4]
mov edx, dword [ebp - 0x2c]
sub ecx, eax
sub edx, eax
mov eax, ecx
shr eax, 2
cmp edx, eax
ja 0x42d139
or ebx, 1
jmp 0x42d146
lea eax, [ecx + ecx*2]
shr eax, 2
cmp edx, eax
jb 0x42d146
or ebx, 2
mov eax, dword [ebp - 0x18]
shl eax, 4
or ebx, eax
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov byte [edi], bl
add edx, 0x10
add esi, 2
inc edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], edi
cmp edx, 0x40
jl 0x42d070
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046d049
mov esp, ebp
pop ebp
ret

Function at 0x431f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x104], ecx
sub ecx, dword [esi + 0x58]
mov dword [esi + 0x108], edx
sub edx, dword [esi + 0x5c]
add eax, ecx
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x64]
add eax, edx
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0xdc]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0xe8]
mov dword [esi + 0x118], ecx
mov dword [esi + 0x11c], edx
mov dword [esi + 0x110], eax
mov edx, 1
mov ecx, esi
pop esi
pop ebp
jmp fcn.00432000
Function at 0x440a60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a7ff8]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
rol ax, 8
movzx eax, ax
mov dword [0x4adb7c], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x440ad3
cmp dword [ebp - 0x108], 2
jne 0x440ad3
mov eax, dword [ebp - 0x114]
mov dword [0x4adb78], 1
cmp eax, 5
ja 0x440ac9
jne 0x440ad3
cmp dword [ebp - 0x110], 0
je 0x440ad3
mov dword [0x4adb74], 1
call fcn.004409e0
call fcn.004249e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046d049
mov esp, ebp
pop ebp
ret

Function at 0x440af0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
push 0x104
mov esi, ecx
call fcn.0046d8a4
mov edi, eax
add esp, 8
test edi, edi
je 0x440b36
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.0046d0ea
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 0x440d40
Capabilities:
Delete directory

Disassembly:
mov eax, dword [0x4adb10]
test eax, eax
je 0x440d75
cmp dword [0x4adb44], 0
je 0x440d5e
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4adb10]
test eax, eax
je 0x440d75
push eax
call fcn.0046d0ea
add esp, 4
mov dword [0x4adb10], 0
mov eax, dword [0x4ad9c4]
test eax, eax
je 0x440d91
push eax
call fcn.0046d0ea
add esp, 4
mov dword [0x4ad9c4], 0
mov eax, dword [0x4adb58]
test eax, eax
je 0x440da1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4adb5c]
test eax, eax
je 0x440db1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
ret

Function at 0x441600
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4adb50]
sub esp, 0x40
push esi
mov esi, ecx
test eax, eax
je 0x441652
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x44163c
cmp dword [ebp - 4], 0x103
jne 0x44163c
cmp dword [0x4adb50], 0
jne 0x4416b5
jmp 0x441652
push dword [0x4adb50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4adb50], 0
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00470f20
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], 0x48bf54
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 1
mov dword [0x4adb54], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [0x4adb50]
test eax, eax
cmovne ecx, dword [ebp - 8]
mov dword [0x4adb50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441cf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x4ad9b4]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov dword [ebp - 4], edx
test esi, esi
jne 0x441d10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 0x100
jne 0x441d53
cmp dword [ebp + 8], 9
jne 0x441d7b
cmp dword [esi + 0x518], ecx
jle 0x441d7b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x4ad9b4]
test ax, ax
js 0x441d40
call fcn.0044f4d0
jmp 0x441d45
call fcn.0044f690
test eax, eax
je 0x441d70
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 5
jne 0x441d7b
mov eax, dword [0x4ad9ac]
test byte [eax + 0x14], 0x10
je 0x441d7b
cmp byte [esi + 0x4c8], cl
je 0x441d7b
call fcn.0042c840
mov edx, dword [ebp - 4]
mov esi, dword [0x4ad9b4]
xor ecx, ecx
movsx eax, word [esi + 0x1d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x441dc4
push edi
xor edi, edi
test eax, eax
jle 0x441dc3
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 0x441dc2
inc edi
add ebx, 4
cmp edi, dword [ebp - 0xc]
jge 0x441dc2
mov esi, dword [0x4ad9b4]
mov edx, dword [ebp - 4]
jmp 0x441d96
pop ebx
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x441eb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 4], eax
test eax, eax
je 0x441ed7
push 0
push dword [0x4ad988]
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 [0x4ad988]
call ebx
mov esi, eax
test esi, esi
je 0x441f27
jmp 0x441f10
push 0x100
push 0
push 0
push esi
call edi
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x441f10
mov eax, dword [0x4ad9ac]
cmp dword [eax + 0x1fc], 0
jne 0x441f7e
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 0x441f7e
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 0x441f60
push dword [0x4ad984]
call dword [sym.imp.MMFS2.dll_Ordinal_35]
cmp dword [ebp - 4], 0
pop edi
pop esi
pop ebx
je 0x441fa1
push 5
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x447a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, edx
push edi
movzx eax, word [esi]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
mov edi, ecx
push eax
push edi
call ebx
test eax, eax
jne 0x447a55
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [ebp - 4]
sub eax, 0
je 0x447a9f
sub eax, 2
jne 0x447a4c
mov eax, dword [esi]
sub eax, 0
je 0x447a7b
sub eax, 2
je 0x447a74
xorps xmm0, xmm0
jmp 0x447a84
movsd xmm0, qword [esi + 8]
jmp 0x447a84
movd xmm0, dword [esi + 8]
cvtdq2pd xmm0, xmm0
push 0
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
movsd qword [ebp - 0x18], xmm0
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
sub eax, 0
je 0x447ab6
sub eax, 2
je 0x447aaf
xor eax, eax
jmp 0x447ab9
cvttsd2si eax, qword [esi + 8]
jmp 0x447ab9
mov eax, dword [esi + 8]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push edi
push 0
push eax
push 2
lea eax, [ebp - 4]
mov edi, ecx
push eax
push edi
mov esi, edx
call ebx
test eax, eax
je 0x449806
cmp dword [ebp - 8], 2
jb 0x449806
movsx eax, word [ebp - 4]
mov dword [esi], eax
sub eax, 0
je 0x4497db
dec eax
je 0x449806
dec eax
jne 0x449806
push eax
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
test eax, eax
je 0x449806
cmp dword [ebp - 8], 8
jb 0x449806
movsd xmm0, qword [ebp - 0x18]
movsd qword [esi + 8], xmm0
mov eax, 1
pop edi
pop esi
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 0x449806
cmp dword [ebp - 8], 4
jb 0x449806
mov eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bfa0
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 [0x4adaec]
mov edi, eax
cmp edi, 0xffffffff
je 0x44c012
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x44c012
push ebx
call fcn.0046d058
mov esi, eax
add esp, 4
test esi, esi
je 0x44c00b
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 0x44c002
mov ecx, dword [ebp - 0xc]
push edi
mov dword [ecx], eax
call dword [0x4adabc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0046d0ea
add esp, 4
push edi
call dword [0x4adabc]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44cb40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a7ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x1fc], 0
je 0x44cb9b
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 0x44cbaf
cmp dword [ebp - 0x14], 0xc
jne 0x44cbaf
push 0
push dword [ebp - 0x10]
push esi
call fcn.0044cbc0
push 0
push dword [ebp - 0xc]
push esi
call fcn.0044cc40
push 0
push dword [ebp - 8]
push esi
call fcn.0044ccc0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d049
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046d049
mov esp, ebp
pop ebp
ret
Function at 0x451050
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 0x451129
mov eax, dword [ebp + 8]
lea esp, [esp]
cmp ax, word [esi + 2]
jne 0x4510c3
mov al, byte [esi]
and al, 0x10
je 0x451080
test ebx, ebx
jne 0x451088
test al, al
jne 0x4510c0
test ebx, ebx
jne 0x4510c0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 8
cwde
je 0x45109c
test eax, eax
jns 0x4510c0
jmp 0x4510a0
test eax, eax
js 0x4510c0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 4
cwde
je 0x4510b4
test eax, eax
jns 0x4510bc
jmp 0x4510b8
test eax, eax
js 0x4510bc
movzx edi, word [esi + 4]
test edi, edi
jne 0x4510cd
mov eax, dword [ebp + 8]
test byte [esi], 0x80
jne 0x451129
add esi, 8
jmp 0x451070
test byte [esi], 0x40
jne 0x451100
cmp edi, 0x7d0
jge 0x451108
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 0x4510da
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x451129
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x451129
test al, 1
je 0x4510dd
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4513a0
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 0x4513eb
push esi
push 2
push 0x40
call fcn.0046d8a4
add esp, 8
mov esi, eax
push 0x3f
push esi
push 0x65
push dword [0x4ad978]
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.0046d0ea
add esp, 0x10
pop esi
jmp 0x451437
lea eax, [edi - 0x70]
cmp eax, 0x17
ja 0x451408
lea eax, [edi - 0x6f]
push eax
push 0x48c260
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x451437
xor eax, eax
lea ebx, [ebx]
cmp dword [eax*8 + str._bf_tg_fh_ri], edi
je 0x451421
inc eax
cmp eax, 0x14
jl 0x451410
jmp 0x451437
push 0x3f
push ebx
push dword [eax*8 + 0x4ac31c]
push dword [0x4ad978]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebx], 0
jne 0x45144f
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 0x451460
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 0x4514d8
push 2
push 0x80
call fcn.0046d8a4
mov edi, eax
mov eax, dword [ebp - 4]
add esp, 8
movsx edx, word [eax + esi*2]
mov ecx, edi
call fcn.004513a0
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.0046d0ea
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 0x451492
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457c40
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 0x457d1d
cmp byte [ebp - 1], 0
push edi
je 0x457d0f
mov esi, dword [esi + 0x1f6]
mov edi, dword [0x4ad9ac]
cmp edi, esi
je 0x457cf6
test esi, esi
jne 0x457c95
xor ecx, ecx
jmp 0x457c9b
mov ecx, dword [esi + 0x1d8]
cmp dword [0x4ad9b0], ecx
je 0x457cbf
mov dword [0x4ad9b4], 0
test ecx, ecx
je 0x457cb9
mov eax, dword [ecx + 0x7c]
mov dword [0x4ad9b4], eax
mov dword [0x4ad9b0], ecx
mov dword [0x4ad9ac], esi
test esi, esi
je 0x457cdc
mov eax, dword [esi + 0x1d0]
mov dword [0x4ad98c], eax
mov eax, dword [esi + 0x1d4]
jmp 0x457ce8
mov dword [0x4ad98c], 0
xor eax, eax
push eax
mov dword [0x4ad984], eax
call dword [sym.imp.MMFS2.dll_Ordinal_831]
mov esi, edi
mov ecx, ebx
call fcn.00447d70
mov ecx, esi
mov edi, eax
call fcn.004029b0
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 0x457d30
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 0x457db9
cmp byte [ebp - 1], 0
je 0x457db4
push dword [ebx + 0x1fe]
mov edx, dword [ebx + 0x44]
push edi
mov ecx, ebx
call fcn.00457190
mov ecx, dword [ebx + 0x1f6]
add esp, 8
test ecx, ecx
je 0x457db9
call fcn.004029b0
mov ecx, dword [ebx + 0x1f6]
xor edx, edx
mov esi, eax
call fcn.00405a20
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00449970
mov ecx, esi
mov edi, eax
call fcn.004029b0
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 0x462990
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4a7ff8]
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 0x4629d8
push 0xa
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.00470ef2
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d049
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046d049
mov esp, ebp
pop ebp
ret

Function at 0x468c90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
test ebx, ebx
je 0x468d2e
mov edi, dword [ebp + 8]
test edi, edi
je 0x468d2e
push 0x40
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x468d2e
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x468d2e
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 0x468d1d
cmp dword [esi], 0x4550
jne 0x468d1d
mov eax, dword [esi + 0x80]
test eax, eax
je 0x468d27
lea esi, [eax + edi]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x468d0e
add eax, edi
push ebx
push eax
call fcn.0046f8b1
add esp, 8
test eax, eax
je 0x468d0e
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x468cf4
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 0x4690d0
Capabilities:
Extract resource via kernel32 functions

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

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

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4aca38]
push edi
test eax, eax
je 0x4692c9
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x4692c9
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x4692c9
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 0x4692b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4692b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4692b1
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