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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d360c]
cmp byte [eax + 0xc], 0
je 0x441bd1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x441bca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d4b6c], 0
jne 0x441ab8
push 0x441bd8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x441be0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b6c], eax
cmp dword [0x4d1d30], 0
jne 0x441bb3
push 0x441bf0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4d1d30], eax
cmp dword [0x4d1d30], 0
je 0x441bb3
push 0x441bfc
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b70], eax
push 0x441c0c
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b74], eax
push 0x441c20
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b78], eax
push 0x441c38
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b7c], eax
push 0x441c50
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b80], eax
push 0x441c64
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b84], eax
push 0x441c7c
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b88], eax
push 0x441c94
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b8c], eax
push 0x441cb0
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b90], eax
push 0x441cbc
mov eax, dword [0x4d1d30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441bd1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x445a5c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404224
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x445aab
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404494
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44d1c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44d210]
test si, 4
je 0x44d1d4
or bl, 1
test si, 8
je 0x44d1de
or bl, 4
test si, 1
je 0x44d1e8
or bl, 8
test si, 2
je 0x44d1f2
or bl, 0x10
test si, 0x10
je 0x44d1fc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d20b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44d214
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44d24c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d22d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d23c
or bl, 4
test esi, 0x20000000
je 0x44d247
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4538f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x453906
add esp, 0xfffffff0
call fcn.0040369c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422744
mov eax, dword [0x4d30c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x453c98
mov eax, dword [0x4d30d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x453ca4
mov eax, ebx
call fcn.00453cb0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4500cc
push eax
push 0
push 0
mov eax, dword [0x4d32e8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424168]
call fcn.004255ac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424168]
call fcn.004255ac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424168]
call fcn.004255ac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004540d0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453fac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453fac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453fac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453a43
call fcn.004036f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x453d90
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453f3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453f1c
mov dl, 1
mov eax, dword [0x419c54]
call fcn.00403358
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404224
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453f0b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00441dc4
test al, al
je 0x453efe
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x453f4c
lea eax, [ebp - 0x254]
call fcn.00409830
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453efe
xor eax, eax
push ebp
push 0x453ef7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x453f84
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453ee0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404494
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453ee0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453efe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453e01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e1dc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453f42
lea eax, [ebp - 0x260]
call fcn.00404224
ret

Function at 0x454870
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d4bb8]
cmp byte [eax + 0xa5], 0
jne 0x4548e1
cmp dword [0x4d4bd0], 0
jne 0x4548a2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45482c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d4bd0], eax
cmp dword [0x4d4bcc], 0
jne 0x4548bd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d4bcc], eax
cmp dword [0x4d4bd4], 0
jne 0x4548e1
push esp
push 0
push 0
push 0x4547d0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d4bd4], eax
pop edx
ret
Function at 0x4549d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4549ef
add esp, 0xfffffff0
call fcn.0040369c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422744
mov eax, dword [0x4d32c8]
cmp word [eax + 2], 0
jne 0x454a17
mov eax, dword [0x4d32c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004560b0
mov eax, dword [0x4d33f0]
cmp word [eax + 2], 0
jne 0x454a31
mov eax, dword [0x4d33f0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004562a8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424918]
call fcn.0042a560
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454bb8
mov eax, dword [0x4d3170]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a930
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456848
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d3170]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d01c
test eax, eax
je 0x454b26
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409224
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d044
test eax, eax
je 0x454b3a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404494
mov eax, dword [0x4d2fa0]
cmp byte [eax], 0
jne 0x454b6e
mov eax, ebx
call fcn.00454ce0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00456a24
mov eax, ebx
call fcn.004573e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454bae
call fcn.004036f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454f60
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d4bb8]
cmp dword [eax + 0x30], 0
je 0x45500a
cmp dword [ebx + 0x94], 0
jne 0x455004
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454ef0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455004
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454fca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455004
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041bcd4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454fd9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455b6c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x455ba1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404314
jmp 0x455bae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404278
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456c00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456c41
mov eax, esi
call fcn.0043d5cc
test al, al
je 0x456c41
mov eax, dword [ebx + 0x84]
call fcn.0043d2c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456c41
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d2c8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4807d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x4807f1
add esp, 0xfffffff0
call fcn.0040369c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x48098d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00476fe0
test al, al
jne 0x48082e
mov ecx, 0x4809c0
mov dl, 1
mov eax, dword [0x46b6dc]
call fcn.0040c224
call fcn.00403bc8
xor eax, eax
push ebp
push 0x48085a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00475a8c
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00475978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48087a
mov eax, dword [ebp - 0x10]
mov edx, 0x4809fc
call fcn.00404bd8
je 0x480897
mov eax, esi
mov edx, 0x4809fc
call fcn.00404bd8
jne 0x4808bb
mov eax, edi
mov edx, 0x480a0c
call fcn.00404bd8
je 0x4808bb
mov ecx, 0x4809e4
mov dl, 1
mov eax, dword [0x46b984]
call fcn.0040c224
call fcn.00403bc8
mov eax, edi
xor edx, edx
call fcn.00404bd8
jne 0x4808e8
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404bd8
je 0x4808e8
mov ecx, 0x4809e4
mov dl, 1
mov eax, dword [0x46b984]
call fcn.0040c224
call fcn.00403bc8
mov eax, dword [ebp - 0x10]
mov edx, 0x480a4c
call fcn.00404bd8
jne 0x48091b
mov eax, edi
mov edx, 0x480a58
call fcn.00404bd8
je 0x48091b
mov ecx, 0x4809e4
mov dl, 1
mov eax, dword [0x46b984]
call fcn.0040c224
call fcn.00403bc8
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.0047e8c4
lea eax, [ebx + 4]
mov edx, esi
call fcn.0040496c
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.0040496c
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040496c
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.0040496c
lea eax, [ebx + 8]
call fcn.00404930
mov byte [ebx + 0xc], 2
xor eax, eax
mov dword [ebx + 0x30], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x34], al
mov ax, word [0x480aa4]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480994
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404948
ret
Function at 0x482288
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x4822a5
add esp, 0xfffffff0
call fcn.0040369c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x482440
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00476fe0
test al, al
jne 0x4822e2
mov ecx, 0x482474
mov dl, 1
mov eax, dword [0x46b6dc]
call fcn.0040c224
call fcn.00403bc8
xor eax, eax
push ebp
push 0x48230e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00475a8c
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00475978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48232e
mov eax, edi
xor edx, edx
call fcn.00404bd8
jne 0x48235b
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00404bd8
je 0x48235b
mov ecx, 0x482498
mov dl, 1
mov eax, dword [0x46b984]
call fcn.0040c224
call fcn.00403bc8
mov eax, dword [ebp - 0x10]
mov edx, 0x4824b0
call fcn.00404bd8
jne 0x48238e
mov eax, edi
mov edx, 0x4824bc
call fcn.00404bd8
je 0x48238e
mov ecx, 0x482498
mov dl, 1
mov eax, dword [0x46b984]
call fcn.0040c224
call fcn.00403bc8
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.0047e8c4
lea eax, [ebx + 4]
mov edx, esi
call fcn.0040496c
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.0040496c
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040496c
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.0040496c
lea eax, [ebx + 8]
call fcn.00404930
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x4196ac]
call fcn.00403358
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x482508]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x46e700]
call fcn.0047db1c
mov dword [ebx + 0x3c], eax
mov ax, word [0x48250c]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482447
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404948
ret
Function at 0x484e9c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x484ebe
add esp, 0xfffffff0
call fcn.0040369c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x485029
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00476fe0
test al, al
jne 0x484efb
mov ecx, 0x48505c
mov dl, 1
mov eax, dword [0x46b6dc]
call fcn.0040c224
call fcn.00403bc8
push dword [0x4d264c]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x4d264c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b90
mov eax, dword [ebp - 0xc]
call fcn.00477ab8
test al, al
jne 0x484fcd
push dword [0x4d2648]
push dword [ebp + 8]
push dword [0x4d2648]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404b90
mov eax, dword [ebp - 0x14]
call fcn.00477ab8
test al, al
jne 0x484fcd
push dword [0x4d264c]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x4d264c]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b90
mov eax, dword [ebp - 0x18]
call fcn.00477bd0
test al, al
jne 0x484fcd
push dword [0x4d2648]
push edi
push dword [0x4d2648]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404b90
mov eax, dword [ebp - 0x20]
call fcn.00477bd0
test al, al
jne 0x484fcd
mov ecx, 0x48505c
mov dl, 1
mov eax, dword [0x46b6dc]
call fcn.0040c224
call fcn.00403bc8
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.0047e8c4
lea eax, [ebx + 4]
mov edx, esi
call fcn.0040496c
lea eax, [ebx + 8]
call fcn.00404930
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.0040496c
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.0040496c
mov byte [ebx + 0xc], 0xc
mov ax, word [0x485078]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485030
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404948
ret

Function at 0x4b9b2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b9ba7
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push 0x59
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4b9b8e
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404494
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.004087dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9bae
lea eax, [ebp - 0x104]
call fcn.00404224
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219