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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x436dc4
mov eax, esi
call fcn.0044c528
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436dc4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x436dc4
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x436f03
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x436e04
cmp eax, 0x108
ja 0x436e04
mov eax, esi
call fcn.0044c528
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436efa
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x436f03
jmp 0x436efa
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x436ee3
cmp eax, 0x20a
ja 0x436ee3
test byte [esi + 0x50], 0x80
jne 0x436e36
sub eax, 0x203
je 0x436e33
sub eax, 3
je 0x436e33
sub eax, 3
jne 0x436e36
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x436e4a
dec eax
je 0x436e5f
dec eax
je 0x436e7c
dec eax
je 0x436e5f
jmp 0x436e83
mov ecx, ebx
mov eax, dword [0x4580f4]
mov eax, dword [eax]
mov edx, esi
call fcn.00455ce4
jmp 0x436efa
cmp byte [esi + 0x5d], 1
jne 0x436e75
mov eax, esi
mov si, 0xffed
call fcn.00403b40
jmp 0x436f03
or word [esi + 0x54], 1
jmp 0x436efa
and word [esi + 0x54], 0xfffe
jmp 0x436efa
mov eax, dword [0x459b3c]
cmp byte [eax + 0x20], 0
je 0x436efa
mov eax, dword [0x459b3c]
cmp dword [eax + 0x1c], 0
je 0x436efa
mov eax, dword [ebx]
mov edx, dword [0x459b3c]
cmp eax, dword [edx + 0x1c]
jne 0x436efa
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044c46c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403b40
jmp 0x436f03
cmp eax, 0xb00b
jne 0x436efa
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00435698
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a470
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43a48c
cmp dword [esi + 4], 0
je 0x43a4b9
test byte [ebx + 0x55], 1
jne 0x43a4ab
mov eax, ebx
call fcn.00439010
test eax, eax
jne 0x43a4ab
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43a5c9
mov edx, esi
mov eax, ebx
call fcn.00439f94
jmp 0x43a5c9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43a5c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043c2e0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00436cac
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043a470
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043c2e0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a5c9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440c58
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45825c]
cmp byte [eax + 0xc], 0
je 0x440dc5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440dbe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x459b90], 0
jne 0x440cac
push 0x440dcc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440dd4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b90], eax
cmp dword [0x457c28], 0
jne 0x440da7
push 0x440de4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x457c28], eax
cmp dword [0x457c28], 0
je 0x440da7
push 0x440df0
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b94], eax
push 0x440e00
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b98], eax
push 0x440e14
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b9c], eax
push 0x440e2c
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459ba0], eax
push 0x440e44
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459ba4], eax
push 0x440e58
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459ba8], eax
push 0x440e70
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bac], eax
push 0x440e88
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bb0], eax
push 0x440ea4
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bb4], eax
push 0x440eb0
mov eax, dword [0x457c28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440dc5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444c50
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.00404694
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x444c9f
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.00404904
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c3dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c42c]
test si, 4
je 0x44c3f0
or bl, 1
test si, 8
je 0x44c3fa
or bl, 4
test si, 1
je 0x44c404
or bl, 8
test si, 2
je 0x44c40e
or bl, 0x10
test si, 0x10
je 0x44c418
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c427
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c430
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c468]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c449
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c458
or bl, 4
test esi, 0x20000000
je 0x44c463
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452b10
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x452b22
add esp, 0xfffffff0
call fcn.00403c68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041afd8
mov eax, dword [0x457f2c]
mov dword [eax + 4], ebx
mov dword [eax], 0x452eb4
mov eax, dword [0x457f38]
mov dword [eax + 4], ebx
mov dword [eax], 0x452ec0
mov eax, ebx
call fcn.00452ecc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413108]
call fcn.00403914
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413108]
call fcn.00403914
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413108]
call fcn.00403914
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413108]
call fcn.00403914
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413108]
call fcn.00403914
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, 0x44f2e8
push eax
push 0
push 0
mov eax, dword [0x458078]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ca34]
call fcn.0041e1a8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ca34]
call fcn.0041e1a8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ca34]
call fcn.0041e1a8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004532ec
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4531c8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4531c8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4531c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452c5f
call fcn.00403cc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452fac
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 0x453157
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453138
mov dl, 1
mov eax, dword [0x413524]
call fcn.00403914
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404694
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453127
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.00440fb8
test al, al
je 0x45311a
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, 0x453168
lea eax, [ebp - 0x254]
call fcn.0040a4a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45311a
xor eax, eax
push ebp
push 0x453113
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 0x4531a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4530fc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404904
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 0x4530fc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45311a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45301d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004171c8
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 0x45315e
lea eax, [ebp - 0x260]
call fcn.00404694
ret

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

Disassembly:
push ecx
mov eax, dword [0x459bdc]
cmp byte [eax + 0xa5], 0
jne 0x453afd
cmp dword [0x459bf4], 0
jne 0x453abe
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453a48
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x459bf4], eax
cmp dword [0x459bf0], 0
jne 0x453ad9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x459bf0], eax
cmp dword [0x459bf8], 0
jne 0x453afd
push esp
push 0
push 0
push 0x4539ec
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x459bf8], eax
pop edx
ret
Function at 0x453bf4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453c0b
add esp, 0xfffffff0
call fcn.00403c68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041afd8
mov eax, dword [0x458064]
cmp word [eax + 2], 0
jne 0x453c33
mov eax, dword [0x458064]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004552cc
mov eax, dword [0x458110]
cmp word [eax + 2], 0
jne 0x453c4d
mov eax, dword [0x458110]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004554c4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413108]
call fcn.00403914
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413108]
call fcn.00403914
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 [0x41d514]
call fcn.0042488c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453dd4
mov eax, dword [0x457f8c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424c5c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455a74
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x457f8c]
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.0040db78
test eax, eax
je 0x453d42
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409e9c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dba0
test eax, eax
je 0x453d56
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.00404904
mov eax, dword [0x457e80]
cmp byte [eax], 0
jne 0x453d8a
mov eax, ebx
call fcn.00453efc
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.00455c50
mov eax, ebx
call fcn.00456614
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453dca
call fcn.00403cc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45417c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x459bdc]
cmp dword [eax + 0x30], 0
je 0x454226
cmp dword [ebx + 0x94], 0
jne 0x454220
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45410c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454220
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 0x4541e6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454220
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.00415470
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4541f5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454d88
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 0x454dbd
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.00404784
jmp 0x454dca
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455e2c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455e6d
mov eax, esi
call fcn.0043c5e4
test al, al
je 0x455e6d
mov eax, dword [ebx + 0x84]
call fcn.0043c2e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455e6d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c2e0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x41e31ad8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x5db49da
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40f639
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d50d0
cmp edx, dword [eax]
je 0x40f65b
add eax, 8
inc ecx
cmp eax, 0x4d5160
jl 0x40f64c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d50d0]
jne 0x40f789
mov eax, dword [0x4d55c8]
cmp eax, 1
je 0x40f763
test eax, eax
jne 0x40f68c
cmp dword [0x4d501c], 1
je 0x40f763
cmp edx, 0xfc
je 0x40f789
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40f6c3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410c80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040fda0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40f706
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040fda0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x416a30
push edi
call fcn.00411130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410c80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410c90
lea eax, [ebp - 0xa0]
push 0x416a10
push eax
call fcn.00410c90
push dword [esi + 0x4d50d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410c90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004110a5
add esp, 0x2c
pop edi
jmp 0x40f789
lea eax, [ebp + 8]
lea esi, [esi + 0x4d50d4]
push 0
push eax
push dword [esi]
call fcn.0040fda0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401c50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5257b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5c87f8]
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
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x535224
xor ebx, ebx
push 0x535214
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0x4e52454b
mov dword [ebp - 0x20], 0x32334c45
mov dword [ebp - 0x1c], 0x6c6c642e
mov byte [ebp - 0x18], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0x50746547
mov dword [ebp - 0x30], 0x65636f72
mov dword [ebp - 0x2c], 0x65487373
mov word [ebp - 0x28], 0x7061
mov byte [ebp - 0x26], bl
call esi
push eax
call edi
mov dword [ebp - 0x38], eax
nop
nop
nop
nop
nop
push 0x5685d0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], 0x63
call fcn.0050ef27
inc eax
dec ebx
dec eax
inc ebx
mov ecx, dword [ebp - 0x3c]
push ecx
push 0
call dword [ebp - 0x38]
push eax
call dword [ebp - 0x40]
mov eax, 0x401d1e
ret