joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40de7e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
nop
mov eax, 0x53
mov byte [ebp - 0x12], al
mov eax, 0x70
mov byte [ebp - 0x11], al
mov eax, 0x6c
mov byte [ebp - 0x10], al
mov eax, 0x61
mov byte [ebp - 0xf], al
mov eax, 0x73
mov byte [ebp - 0xe], al
mov eax, 0x68
mov byte [ebp - 0xd], al
mov eax, 0x53
mov byte [ebp - 0xc], al
mov eax, 0x63
mov byte [ebp - 0xb], al
mov eax, 0x72
mov byte [ebp - 0xa], al
mov eax, 0x65
mov byte [ebp - 9], al
mov eax, 0x65
mov byte [ebp - 8], al
mov eax, 0x6e
mov byte [ebp - 7], al
mov eax, 0x43
mov byte [ebp - 6], al
mov eax, 0x6c
mov byte [ebp - 5], al
mov eax, 0x61
mov byte [ebp - 4], al
mov eax, 0x73
mov byte [ebp - 3], al
mov eax, 0x73
mov byte [ebp - 2], al
mov eax, 0
mov byte [ebp - 1], al
mov eax, 0
mov dword [ebp - 0x3c], eax
mov eax, 0x24
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x38]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x40dc19
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x12]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
call sub.user32.dll_RegisterClassA
mov eax, 0
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0x100
push eax
mov eax, 0x100
push eax
mov eax, 0x80000000
push eax
mov eax, 0x80000000
push eax
mov eax, 0x80000000
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x12]
push eax
mov eax, 0
push eax
call sub.user32.dll_CreateWindowExA
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, 0
jne 0x40dfb2
jmp 0x40e087
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_GetWindowRect
mov eax, 0
push eax
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 0x54], eax
mov eax, 1
push eax
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
sub eax, ecx
mov ecx, dword [ebp - 0x54]
sub ecx, eax
mov eax, ecx
mov ecx, 2
cdq
idiv ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
mov ecx, dword [ebp - 0x58]
sub ecx, eax
mov eax, ecx
mov ecx, 2
cdq
idiv ecx
mov dword [ebp - 0x60], eax
mov eax, 5
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_SetWindowPos
mov eax, 5
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_UpdateWindow
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
je 0x40e087
lea eax, [ebp - 0x7c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x7c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x40e050
leave
ret
Function at 0x40fb54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
nop
mov eax, 1
mov dword [ebp - 0x1c], eax
mov eax, 0
mov word [ebp - 0x16], ax
mov eax, 0
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 0xc], eax
mov eax, 0x11
mov word [ebp - 0x18], ax
mov eax, 0
mov dword [ebp - 0x14], eax
mov eax, 0x1c
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 1
push eax
call sub.user32.dll_SendInput
mov eax, 0x10
push eax
call sub.user32.dll_GetAsyncKeyState
and eax, 0x8000
test eax, eax
jne 0x40fbdc
mov eax, 0x10
push eax
call sub.user32.dll_GetAsyncKeyState
and eax, 0x8000
test eax, eax
jne 0x40fbdc
jmp 0x40fc02
mov eax, 0x10
mov word [ebp - 0x18], ax
mov eax, 2
mov dword [ebp - 0x14], eax
mov eax, 0x1c
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 1
push eax
call sub.user32.dll_SendInput
mov eax, 0x53
mov word [ebp - 0x18], ax
mov eax, 0
mov dword [ebp - 0x14], eax
mov eax, 0x1c
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 1
push eax
call sub.user32.dll_SendInput
mov eax, 0x53
mov word [ebp - 0x18], ax
mov eax, 2
mov dword [ebp - 0x14], eax
mov eax, 0x1c
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 1
push eax
call sub.user32.dll_SendInput
mov eax, 0x11
mov word [ebp - 0x18], ax
mov eax, 2
mov dword [ebp - 0x14], eax
mov eax, 0x1c
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 1
push eax
call sub.user32.dll_SendInput
leave
ret

Function at 0x410d05
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
nop
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, 0x9c0
mov ecx, 1
mov dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, 0x9c0
mov ecx, dword [eax]
cmp ecx, 0x270
jge 0x410db4
jmp 0x410d55
mov eax, dword [ebp + 8]
add eax, 0x9c0
mov ecx, dword [eax]
mov edx, ecx
inc ecx
mov dword [eax], ecx
jmp 0x410d27
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, 0x9c0
mov edx, dword [ecx]
shl edx, 2
add eax, edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, 0x9c0
mov dword [ebp - 4], eax
mov eax, dword [edx]
dec eax
shl eax, 2
add ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, 0x9c0
mov dword [ebp - 8], ecx
mov ecx, dword [edx]
dec ecx
shl ecx, 2
add eax, ecx
mov ecx, dword [eax]
shr ecx, 0x1e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor eax, ecx
mov ecx, 0x6c078965
imul eax, ecx
and eax, 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x410d43
leave
ret
Function at 0x4130f3
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
nop
lea eax, [ebp - 4]
push eax
call fcn.00412fc8
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41311c
jmp 0x41313e
mov eax, 0x10
push eax
mov eax, 0x57013a
push eax
mov eax, str.Failed_to_load_embedded_executable.
push eax
mov eax, 0
push eax
call sub.user32.dll_MessageBoxA
jmp 0x4132a5
mov eax, 0x10
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0041305c
add esp, 8
lea eax, [ebp - 0x11c]
push eax
mov eax, str.C:WindowsTemp_s.exe
push eax
mov eax, 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
mov eax, 0
push eax
mov eax, pe_nt_image_headers32
push eax
mov eax, 2
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0x40000000
push eax
lea eax, [ebp - 0x10c]
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
cmp eax, 0xffffffff
jne 0x4131dc
mov eax, 0x10
push eax
mov eax, 0x57017e
push eax
mov eax, str.Failed_to_create_temporary_executable.
push eax
mov eax, 0
push eax
call sub.user32.dll_MessageBoxA
jmp 0x4132a5
mov eax, 0
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x120]
push eax
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 0x120]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, 0x44
mov dword [ebp - 0x168], eax
mov eax, 0x40
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x164]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x168]
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x10c]
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4132a5
mov eax, 0xffffffff
push eax
mov eax, dword [ebp - 0x178]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x178]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x174]
push eax
call sub.kernel32.dll_CloseHandle
leave
ret
Function at 0x4132a7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
nop
mov eax, dword [ebp + 8]
push eax
mov eax, str.cmd.exe__C_del__s__q___s._
push eax
mov eax, 0x200
push eax
lea eax, [ebp - 0x200]
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
mov eax, 0x44
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x244]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x44
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x218]
or eax, 1
mov dword [ebp - 0x218], eax
mov eax, 0
mov word [ebp - 0x214], ax
mov eax, 0x10
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x254]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x244]
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x200]
push eax
mov eax, 0
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4133a7
mov eax, 0xffffffff
push eax
mov eax, dword [ebp - 0x254]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x254]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x250]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x41343c
mov eax, dword [ebp + 8]
push eax
mov eax, str.start.exe__C_del__s__q___s._
push eax
mov eax, 0x200
push eax
lea eax, [ebp - 0x200]
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x244]
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x200]
push eax
mov eax, 0
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x41343c
mov eax, 0xffffffff
push eax
mov eax, dword [ebp - 0x254]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x254]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x250]
push eax
call sub.kernel32.dll_CloseHandle
leave
ret
Function at 0x413708
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
nop
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_strlen
add esp, 4
inc eax
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [ebp - 8], eax
mov eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add eax, ecx
movsx ecx, byte [eax]
test ecx, ecx
je 0x4137db
jmp 0x41375e
mov eax, dword [ebp - 0xc]
mov ecx, eax
inc eax
mov dword [ebp - 0xc], eax
jmp 0x41373b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add eax, ecx
movsx ecx, byte [eax]
push ecx
call sub.msvcrt.dll_isalnum
add esp, 4
test eax, eax
jne 0x4137bb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add eax, ecx
movsx ecx, byte [eax]
cmp ecx, 0x2b
je 0x4137bb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add eax, ecx
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x4137bb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add eax, ecx
movsx ecx, byte [eax]
cmp ecx, 0x3d
je 0x4137bb
jmp 0x4137d6
mov eax, dword [ebp - 4]
mov ecx, eax
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
add ecx, edx
movsx edx, byte [ecx]
mov byte [eax], dl
jmp 0x413753
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add eax, ecx
mov ecx, 0
mov byte [eax], cl
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0041343e
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0
jge 0x413832
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov ecx, str.Failed_to_decode_base64_string.
push ecx
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll_free
add esp, 4
jmp 0x4138dc
mov eax, 0x570223
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll_fopen
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
jne 0x41388c
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, str.Failed_to_open_output_file:__s_n
push ecx
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call sub.msvcrt.dll_free
add esp, 4
jmp 0x4138dc
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, 1
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 0x18]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, str.BMP_file_created_successfully:__s
push eax
call sub.msvcrt.dll_printf
add esp, 8
leave
ret
Function at 0x4138de
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
nop
mov eax, 0
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041343e
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0
jge 0x41392c
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov ecx, str.Error_decoding_Base64_string._n
push ecx
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
jmp 0x4139d9
mov eax, 0x570287
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll_fopen
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x413951
jmp 0x41397e
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, str.Error_opening_file_for_writing:__s_n
push ecx
push eax
call sub.msvcrt.dll_fprintf
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call sub.msvcrt.dll_free
add esp, 4
jmp 0x4139d9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, 1
push eax
mov eax, dword [ebp - 4]
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4139c1
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov ecx, str.Error_writing_to_file.
push ecx
push eax
call sub.msvcrt.dll_fprintf
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
mov eax, dword [ebp - 4]
push eax
call sub.msvcrt.dll_free
add esp, 4
leave
ret
Function at 0x41408d
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
nop
mov eax, dword [ebp + 8]
push eax
mov eax, 0x5704ef
push eax
lea eax, [ebp - 0x104]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
cmp eax, 0xffffffff
jne 0x4140ef
mov eax, dword [ebp + 8]
push eax
mov eax, str.No_files_found_in_the_directory:__s_n
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x4141f1
mov eax, 0x570519
push eax
lea eax, [ebp - 0x218]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
cmp eax, 0
je 0x414130
mov eax, 0x57051b
push eax
lea eax, [ebp - 0x218]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
cmp eax, 0
je 0x414130
jmp 0x414135
jmp 0x4141c9
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, str._s_s
push eax
lea eax, [ebp - 0x34c]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0x10
mov eax, dword [ebp - 0x244]
and eax, 0x10
test eax, eax
je 0x414186
lea eax, [ebp - 0x34c]
push eax
call fcn.0041408d
add esp, 4
lea eax, [ebp - 0x34c]
push eax
call sub.kernel32.dll_RemoveDirectoryA
jmp 0x4141c9
lea eax, [ebp - 0x34c]
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
je 0x4141b4
lea eax, [ebp - 0x34c]
push eax
mov eax, str.Deleted_file:__s_n
push eax
call sub.msvcrt.dll_printf
add esp, 8
jmp 0x4141c9
lea eax, [ebp - 0x34c]
push eax
mov eax, str.Failed_to_delete_file:__s_n
push eax
call sub.msvcrt.dll_printf
add esp, 8
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x248]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 0
jne 0x4140ef
mov eax, dword [ebp - 0x248]
push eax
call sub.kernel32.dll_FindClose
leave
ret

Function at 0x4141f3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
nop
mov eax, 0x104
push eax
lea eax, [ebp - 0x104]
push eax
mov eax, str.USERPROFILE
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
cmp eax, 0
jne 0x414231
mov eax, str.Failed_to_get_USERPROFILE_environment_variable._n
push eax
call sub.msvcrt.dll_printf
add esp, 4
jmp 0x414287
lea eax, [ebp - 0x104]
push eax
mov eax, str._sTemp
push eax
lea eax, [ebp - 0x208]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call fcn.0041408d
add esp, 4
lea eax, [ebp - 0x104]
push eax
mov eax, str._sAppDataLocalTemp
push eax
lea eax, [ebp - 0x208]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call fcn.0041408d
add esp, 4
leave
ret
Function at 0x414e20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
nop
lea eax, [ebp - 0x18]
push eax
call fcn.004150b1
add esp, 4
mov eax, 2
push eax
call sub.msvcrt.dll___set_app_type
add esp, 4
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
call sub.msvcrt.dll__controlfp
add esp, 8
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x414f20
mov eax, dword [ebp - 0x1c]
mov ecx, 0x20
movsx edx, byte [eax]
cmp ecx, edx
jne 0x414e89
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x414e6b
mov eax, dword [ebp - 0x1c]
mov ecx, 0x22
movsx edx, byte [eax]
cmp ecx, edx
jne 0x414ed6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
movsx ecx, byte [eax]
test ecx, ecx
je 0x414ed1
mov eax, dword [ebp - 0x1c]
mov ecx, 0x22
movsx edx, byte [eax]
cmp ecx, edx
jne 0x414ecf
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x414ed1
jmp 0x414e9c
jmp 0x414f02
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x414f02
mov eax, dword [ebp - 0x1c]
mov ecx, 0x20
movsx edx, byte [eax]
cmp ecx, edx
je 0x414f02
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x414ed6
mov eax, dword [ebp - 0x1c]
mov ecx, 0x20
movsx edx, byte [eax]
cmp ecx, edx
jne 0x414f20
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x414f02
lea eax, [ebp - 0x60]
push eax
call sub.kernel32.dll_GetStartupInfoA
movzx eax, word [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
and eax, 1
mov ecx, 0
cmp ecx, eax
jne 0x414f4b
mov eax, 0xa
mov dword [ebp - 0x64], eax
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, 0
push ecx
push eax
call fcn.0040e089
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
call sub.msvcrt.dll_exit
add esp, 4
leave
ret
Function at 0x453ed0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x47000]
push edi
jmp 0x453eea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x453ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x453ee0
mov eax, 1
add ebx, ebx
jne 0x453f03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x453f14
jne 0x453f33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x453f33
dec eax
add ebx, ebx
jne 0x453f20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x453ef8
add ebx, ebx
jne 0x453f2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x453f85
xor ecx, ecx
sub eax, 3
jb 0x453f4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x453fba
sar eax, 1
mov ebp, eax
jmp 0x453f56
add ebx, ebx
jne 0x453f56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x453f24
inc ecx
add ebx, ebx
jne 0x453f64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x453f24
add ebx, ebx
jne 0x453f71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x453f66
jne 0x453f82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x453f66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x453fa4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x453f96
jmp 0x453ee6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x453fa4
add edi, ecx
jmp 0x453ee6
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x453fc2
cmp byte [edi], 9
jne 0x453fc2
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 0x453fc7
lea edi, [esi + 0x51000]
mov eax, dword [edi]
or eax, eax
je 0x45403f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x895f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x896bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x453ff4
mov ecx, edi
jns 0x454023
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 + 0x896c0]
or eax, eax
je 0x454039
mov dword [ebx], eax
add ebx, 4
jmp 0x454011
call dword [esi + 0x896d0]
mov ebp, dword [esi + 0x896c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x454073
sub esp, 0xffffff80
jmp 0x41382f
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x53027086
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x1c43979
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219