joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422a85
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00404cea
push 0xb
xor ebx, ebx
push ebx
push str._extendtail
lea ecx, [ebp - 0x3c]
call fcn.0040634d
cmp eax, 0xffffffff
jne 0x422ae7
push 0xb
push ebx
push 0x431b80
lea ecx, [ebp - 0x3c]
call fcn.0040634d
cmp eax, 0xffffffff
jne 0x422ae7
mov ecx, dword [ebp + 8]
push 0x42d93c
call fcn.00404cea
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004049f8
jmp 0x422bbd
test byte [0x567a10], 1
push esi
mov esi, 0x5679f4
jne 0x422b1a
or dword [0x567a10], 1
push ebx
mov ecx, esi
mov dword [0x567a0c], 7
call fcn.00404961
push 0x42c95d
call fcn.0042c468
pop ecx
push 0x42d93c
mov ecx, esi
call fcn.00404cc6
lea eax, [ebp - 4]
push eax
call edi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
cmp dword [ebp - 4], edi
mov ebx, eax
jle 0x422ba0
test ebx, ebx
je 0x422ba0
push dword [ebx + edi*4]
lea ecx, [ebp - 0x20]
call fcn.00404cea
push str._extendtail
lea ecx, [ebp - 0x20]
call fcn.0040ca8a
test eax, eax
je 0x422b81
push 0x431b80
lea ecx, [ebp - 0x20]
call fcn.0040ca8a
test eax, eax
je 0x422b81
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004049f8
inc edi
cmp edi, dword [ebp - 4]
jl 0x422b3c
jmp 0x422ba0
lea eax, [edi + 1]
cmp eax, dword [ebp - 4]
jge 0x422b94
push dword [ebx + edi*4 + 4]
mov ecx, esi
call fcn.00404cc6
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004049f8
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp + 8]
push esi
call fcn.0040676c
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004049f8
pop esi
mov eax, dword [ebp + 8]
pop edi
pop ebx
leave
ret

Function at 0x42c619
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4351bc]
test eax, eax
je 0x42c632
call eax
test eax, eax
jne 0x42c632
push 0xfffffffffffffffe
jmp 0x42c64c
push 1
push 0x43503c
push 0x435030
call fcn.0042c775
add esp, 0xc
test eax, eax
je 0x42c652
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x43502c
push section..data
call fcn.0042c775
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x42c678
mov esi, 0x42f612
mov cl, 0x20
jmp 0x42c681
cmp al, 0x20
ja 0x42c68b
inc esi
mov al, byte [esi]
test al, al
jne 0x42c67c
cmp al, 0x20
jbe 0x42c6a2
mov al, byte [esi]
cmp al, 0x22
jne 0x42c694
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x42c68d
jmp 0x42c6a2
cmp al, cl
ja 0x42c6a8
inc esi
mov al, byte [esi]
test al, al
jne 0x42c69d
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x42c6d1
movzx eax, word [ebp - 0x14]
jmp 0x42c6d4
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0042c740
pop ecx
pop esi
leave
ret
Function at 0x42c740
Capabilities:
Terminate process

Disassembly:
call fcn.0042c48a
push 0
push 0x435044
push 0x435040
call fcn.0042c775
push 0
push 0x43504c
push 0x435048
call fcn.0042c775
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402ca3
Capabilities:
Delete file
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.00404640
push 0x40f7d8
push 0x40f7dc
call fcn.004046a0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402d1a
mov eax, dword [ebp - 4]
push eax
push 0x800
lea ecx, [ebp - 0x1004]
push ecx
call fcn.00404a38
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.004046b3
add esp, 4
push str.curdir.tmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x1004]
push eax
call fcn.004044d0
add esp, 4
test eax, eax
jbe 0x402d1a
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402d20
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x28], 5
mov word [ebp - 0x26], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp dword [0x412508], 0
jne 0x402dcc
cmp dword [0x41250c], 0
jne 0x402dcc
push 5
mov eax, dword [0x412514]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402e21
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov edx, dword [0x412514]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x402f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402e8a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov edx, dword [0x412514]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x402f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402ef0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov edx, dword [0x412514]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x402f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404a9a
add esp, 4
call fcn.00402ca3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402f1b
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x412514]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x38], 5
mov word [ebp - 0x36], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40300e
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov edx, dword [0x412514]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4030cc
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40305d
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov edx, dword [0x412514]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4030cc
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4030ac
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov edx, dword [0x412514]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4030cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404a9a
add esp, 4
call fcn.00402ca3
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40738a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4073aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040716b
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4073cd
test byte [esp + 8], 2
je 0x4073cd
call fcn.004071de
mov dword [eax], 0xd
call fcn.004071e7
mov dword [eax], 5
jmp 0x4073a6
xor eax, eax
ret
Function at 0x4080dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40fdd0
cmp edx, dword [eax]
je 0x4080ff
add eax, 8
inc ecx
cmp eax, 0x40fe60
jl 0x4080f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40fdd0]
jne 0x40822d
mov eax, dword [0x41257c]
cmp eax, 1
je 0x408207
test eax, eax
jne 0x408130
cmp dword [0x40f834], 1
je 0x408207
cmp edx, 0xfc
je 0x40822d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408167
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404550
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004044d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4081aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004044d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d5f4
push edi
call fcn.0040b200
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404550
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404560
lea eax, [ebp - 0xa0]
push 0x40d5d4
push eax
call fcn.00404560
push dword [esi + 0x40fdd4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404560
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040b168
add esp, 0x2c
pop edi
jmp 0x40822d
lea eax, [ebp + 8]
lea esi, [esi + 0x40fdd4]
push 0
push eax
push dword [esi]
call fcn.004044d0
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 0x407430
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411048]
jne 0x40743a
repz ret
jmp fcn.00407b70

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x404008]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push pe_nt_image_headers32
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], pe_nt_image_headers32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x403224
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012f0
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov ebx, eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401232
mov edi, dword [ebx]
push 4
push esi
push dword [ebp - 4]
mov edi, dword [edi + 0xc]
mov ecx, edi
push ebx
call dword [0x403110]
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x403110]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [0x403cdc], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp + 4]
mov dword [0x403b2d], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401031
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403b2d]
mov dword [ebp - 0x48], eax
mov eax, 0x40168b
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403b2d]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.klavesn
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d28], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403d28]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010ce
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010c0
mov esp, ebp
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 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x411cd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x411cf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411cf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411ce8
mov eax, 1
add ebx, ebx
jne 0x411d0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411d00
jne 0x411d1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411d00
xor ecx, ecx
sub eax, 3
jb 0x411d30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411da2
mov ebp, eax
add ebx, ebx
jne 0x411d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411d48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411d6c
inc ecx
add ebx, ebx
jne 0x411d58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411d4d
jne 0x411d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411d4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411d8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411d7d
jmp 0x411cee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411d8c
add edi, ecx
jmp 0x411cee
pop esi
mov edi, esi
mov ecx, 0x4c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x411daa
cmp byte [edi], 0
jne 0x411daa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x411daf
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411e27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11708]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x117c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411ddc
mov ecx, edi
jns 0x411e0b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x117cc]
or eax, eax
je 0x411e21
mov dword [ebx], eax
add ebx, 4
jmp 0x411df9
call dword [esi + 0x117c8]
mov ebp, dword [esi + 0x117d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x411e5b
sub esp, 0xffffff80
jmp 0x403ac6