joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
mov ebx, 0x6255
lea ecx, [0x4a3340]
call sub.user32.dll_GetDialogBaseUnits
push 0x40
push 0x3000
push 0x19000
push 0
call sub.kernel32.dll_GetSystemDefaultLangID
call sub.kernel32.dll_VirtualAlloc
call fcn.00499cb7
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x552950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x69000]
push edi
or ebp, 0xffffffff
jmp 0x552972
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x552979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x552968
mov eax, 1
add ebx, ebx
jne 0x55298b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55299c
jne 0x5529bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5529bb
dec eax
add ebx, ebx
jne 0x5529a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x552980
add ebx, ebx
jne 0x5529b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x552a0d
xor ecx, ecx
sub eax, 3
jb 0x5529d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x552a42
sar eax, 1
mov ebp, eax
jmp 0x5529de
add ebx, ebx
jne 0x5529de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5529ac
inc ecx
add ebx, ebx
jne 0x5529ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5529ac
add ebx, ebx
jne 0x5529f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5529ee
jne 0x552a0a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5529ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x552a2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x552a1e
jmp 0x55296e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x552a2c
add edi, ecx
jmp 0x55296e
pop esi
mov edi, esi
mov ecx, 0x172
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x552a4a
cmp byte [edi], 5
jne 0x552a4a
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 0x552a4f
lea edi, [esi + 0x150000]
mov eax, dword [edi]
or eax, eax
je 0x552ac7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19439c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x194400]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x552a7c
mov ecx, edi
jns 0x552aab
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 + 0x194404]
or eax, eax
je 0x552ac1
mov dword [ebx], eax
add ebx, 4
jmp 0x552a99
call dword [esi + 0x19440c]
mov ebp, dword [esi + 0x194408]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x552afb
sub esp, 0xffffff80
jmp 0x40b1ac
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x2d3a565d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0xc5c62c8
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4019b5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov dword [0x405008], 0x403730
call dword [sym.imp.KexDll.dll_KexInitializePropagation]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jge 0x401a08
push str.NT_SUCCESS_Status_
push str.EntryPoint
push 0x33
push str.main.c
call fcn.00401d0d
add esp, 0x10
test al, al
je 0x4019f6
int 0x2c
push esi
call dword [sym.imp.KexDll.dll_KexRtlNtStatusToString]
push eax
push str.Propagation_could_not_be_initialized._r_nNTSTATUS_error_code:__s
call fcn.00401cdd
call dword [sym.imp.KexDll.dll_KexPatchCpiwSubsystemVersionCheck]
test eax, eax
jns 0x401a31
push str.NT_SUCCESS_Status_
push str.EntryPoint
push 0x44
push str.main.c
call fcn.00401d0d
add esp, 0x10
test al, al
je 0x401a31
int 0x2c
call fcn.00401fbe
movzx ecx, word [eax]
cmp cx, bx
je 0x401aab
push 2
pop esi
push 0x22
pop edx
mov dword [esp + 0xc], ebx
cmp cx, dx
jne 0x401a71
add eax, esi
mov edi, eax
jmp 0x401a5a
cmp cx, bx
je 0x401a62
add eax, esi
movzx ecx, word [eax]
cmp cx, dx
jne 0x401a53
cmp word [eax], dx
je 0x401a84
push str.Malformed_command_line._A_closing_quote_must_be_supplied.
call fcn.00401cdd
mov edi, eax
jmp 0x401a7f
cmp cx, bx
je 0x401a84
add eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
jne 0x401a75
cmp word [eax], bx
je 0x401a9f
xor ecx, ecx
mov word [eax], cx
add eax, esi
cmp word [eax], 0x20
je 0x401a8e
cmp word [eax], bx
je 0x401a9f
mov dword [esp + 0xc], eax
push dword [esp + 0xc]
push edi
call fcn.004010d9
jmp 0x401ac4
push 6
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push 0x401655
push ebx
push 0x64
push ebx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push ebx
call dword [sym.imp.kernelbase.dll_ExitProcess]

Function at 0x401b1d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_DbgPrint]
push edi
mov ebx, str.C:UserschronoDesktopVxKex00_Common_HeadersKexStrSafe.h
mov edi, str.Assertion_failure:__s___s:_d_in__s__r_n
jne 0x401b4e
push str.StringCchVPrintfBufferLengthW
push 0x55
push ebx
push str.Format___NULL
push edi
call esi
add esp, 0x14
int 0x2c
mov eax, dword [ebp + 8]
test eax, eax
jne 0x401b6c
push str.StringCchVPrintfBufferLengthW
push 0x56
push ebx
push str.BufferCch___NULL
push edi
call esi
add esp, 0x14
int 0x2c
jmp 0x401b6f
and dword [eax], 0
cmp dword [ebp + 0xc], 0
je 0x401ba3
cmp dword [ebp + 8], 0
je 0x401ba3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll__vscwprintf]
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x401baf
push str.StringCchVPrintfBufferLengthW
push 0x63
push ebx
push str.__Invalid_parameters_passed_to__vscprintf___FALSE_
push edi
call esi
add esp, 0x14
int 0x2c
mov eax, 0x80070057
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
inc eax
mov dword [ecx], eax
xor eax, eax
jmp 0x401ba8
Function at 0x401bcd
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
cmp dword [ebp + 8], 0
mov eax, dword [0x405008]
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_DbgPrint]
push edi
mov dword [ebp - 8], eax
mov ebx, str.Assertion_failure:__s___s:_d_in__s__r_n
jne 0x401c08
push str.MessageBoxV
push 0x2d
push str.msgbox.c
push str.Format___NULL
push ebx
call esi
add esp, 0x14
int 0x2c
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push dword [ebp + 8]
push eax
call fcn.00401b1d
test eax, eax
jns 0x401c3b
push str.MessageBoxV
push 0x30
push str.msgbox.c
push str.SUCCEEDED_Result_
push ebx
call esi
add esp, 0x14
int 0x2c
xor eax, eax
jmp 0x401cd5
mov edi, dword [ebp - 4]
lea eax, [edi + edi]
call sub.ntdll.dll__alloca_probe_16
mov dword [ebp - 4], esp
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
mov edi, dword [ebp - 4]
call fcn.00401acc
test eax, eax
jns 0x401c66
push str.MessageBoxV
push 0x39
jmp 0x401c22
push 0x60
pop edi
push edi
lea eax, [ebp - 0x70]
push 0
push eax
call sub.ntdll.dll_memset
mov eax, dword [0x4052c4]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x5c], eax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x64], 0x1008
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], 0xfffe
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
test eax, eax
jns 0x401cd2
push str.MessageBoxV
push 0x50
push str.msgbox.c
push str.SUCCEEDED_Result_
push ebx
call esi
add esp, 0x14
int 0x2c
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401d0d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 4]
push 6
call dword [sym.imp.kernel32.dll_GetModuleHandleExW]
mov esi, 0x104
test al, al
je 0x401d6f
push esi
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
test eax, eax
je 0x401d6f
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMakePrettyW]
jmp 0x401da6
lea eax, [ebp - 0x290]
mov edx, str._unknown_
mov ecx, eax
sub edx, ecx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x401d9a
movzx ecx, word [edx + eax]
test cx, cx
je 0x401d9a
mov word [eax], cx
add eax, 2
dec esi
jne 0x401d7e
test esi, esi
jne 0x401da1
sub eax, 2
xor ecx, ecx
mov word [eax], cx
push dword [ebp + 0xc]
lea eax, [ebp - 0x290]
push dword [ebp + 8]
mov esi, str.The_condition__s_failed_at_the_following_location:_r_n_r_n_s__s___s__line__lu_
push dword [ebp + 0x10]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push esi
push eax
call fcn.00401bb9
add esp, 0x1c
test eax, eax
js 0x401dfe
mov ebx, dword [ebp - 8]
lea eax, [ebx + ebx]
call sub.ntdll.dll__alloca_probe_16
mov edi, esp
push dword [ebp + 0xc]
lea eax, [ebp - 0x290]
push dword [ebp + 8]
push dword [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push esi
push ebx
push edi
call section..text
add esp, 0x20
test eax, eax
jns 0x401e03
mov edi, str.A_secondary_error_occurred_while_processing_this_error.
push 8
pop ebx
push 0x60
pop esi
push esi
lea eax, [ebp - 0x88]
push 0
push eax
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], str.Break
mov dword [ebp - 0x18], str.Continue
mov dword [ebp - 0x10], str.Quit
call sub.ntdll.dll_memset
mov eax, dword [0x4052c4]
add esp, 0xc
mov dword [ebp - 0x84], eax
mov eax, dword [0x405008]
push 6
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x88], esi
pop esi
mov dword [ebp - 0x48], edi
xor edi, edi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x60], eax
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x7c], 0x1040
mov dword [ebp - 0x70], 0xfffe
mov dword [ebp - 0x6c], str.Assertion_failure
mov dword [ebp - 0x68], str.Select_Break_to_enter_the_debugger__Continue_to_ignore_the_error__or_Quit_to_exit_the_program.
mov dword [ebp - 0x64], 3
mov dword [ebp - 0x5c], esi
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
test eax, eax
js 0x401ec0
cmp dword [ebp - 4], ebx
jne 0x401eb1
push edi
call dword [sym.imp.kernelbase.dll_ExitProcess]
cmp dword [ebp - 4], esi
jne 0x401eba
mov al, 1
jmp 0x401ec3
cmp dword [ebp - 4], 4
je 0x401ec1
int3
xor al, al
lea esp, [ebp - 0x2a0]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f26
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
jne 0x401f55
push str.SetWindowIcon
push 0x67
push str.window.c
push str.Window___NULL
push str.Assertion_failure:__s___s:_d_in__s__r_n
call dword [sym.imp.ntdll.dll_DbgPrint]
add esp, 0x14
int 0x2c
push ebx
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
push 0x32
mov dword [ebp - 4], eax
call esi
push eax
push 0x31
call esi
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x1f5
push dword [ebp - 4]
call edi
push eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x80
push dword [ebp + 8]
call ebx
push 0
push 0xc
call esi
push eax
push 0xb
call esi
push eax
push 1
push 0x1f5
push dword [ebp - 4]
call edi
push eax
push 1
push 0x80
push dword [ebp + 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5236e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc6000]
mov dword [edi + 0xcf740], 0x26966e90
push edi
jmp 0x52370a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x523711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523700
mov eax, 1
add ebx, ebx
jne 0x523723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x523734
jne 0x523753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523753
dec eax
add ebx, ebx
jne 0x523740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x523718
add ebx, ebx
jne 0x52374f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5237a5
xor ecx, ecx
sub eax, 3
jb 0x52376b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5237da
sar eax, 1
mov ebp, eax
jmp 0x523776
add ebx, ebx
jne 0x523776
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523744
inc ecx
add ebx, ebx
jne 0x523784
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x523744
add ebx, ebx
jne 0x523791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x523786
jne 0x5237a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x523786
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5237c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5237b6
jmp 0x523706
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5237c4
add edi, ecx
jmp 0x523706
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5237e2
cmp byte [edi], 0x11
jne 0x5237e2
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 0x5237e7
lea edi, [esi + 0x11c000]
mov eax, dword [edi]
or eax, eax
je 0x52385f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x161964]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x161ae0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x523814
mov ecx, edi
jns 0x523843
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 + 0x161ae4]
or eax, eax
je 0x523859
mov dword [ebx], eax
add ebx, 4
jmp 0x523831
call dword [esi + 0x161af4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x523890
cmp al, 0xef
ja 0x523883
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x523865
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x523872
mov ebp, dword [esi + 0x161ae8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x5238c4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x402090
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4020bd
cmp eax, dword [esi + 0x28]
jae 0x4020cf
mov cl, byte [eax]
inc eax
mov dword [esi + 0x20], eax
test cl, cl
je 0x4020d6
mov dword [esi + 0x61], 0x1f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 0x14]
call fcn.00501d00
mov ecx, eax
add esp, 4
cmp ecx, 0xffffffff
jne 0x4020ab
mov dword [esi + 0x5d], 1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4020ea
cmp eax, dword [esi + 0x28]
jae 0x4020fc
mov cl, byte [eax]
inc eax
mov dword [esi + 0x20], eax
jmp 0x402105
push dword [esi + 0x14]
call fcn.00501d00
mov ecx, eax
add esp, 4
cmp ecx, 0xffffffff
jne 0x402105
xor cl, cl
mov dword [esi + 0x5d], 1
mov byte [esi + 0x55c], cl
mov ecx, esi
call fcn.00401f00
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00401f00
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.00401f00
mov ecx, esi
call fcn.00401f00
mov ecx, esi
mov dword [esi + 0x455], eax
call fcn.00401f00
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40214e
cmp eax, dword [esi + 0x28]
jae 0x402160
mov cl, byte [eax]
inc eax
mov dword [esi + 0x20], eax
jmp 0x402169
push dword [esi + 0x14]
call fcn.00501d00
mov ecx, eax
add esp, 4
cmp ecx, 0xffffffff
jne 0x402169
xor cl, cl
mov dword [esi + 0x5d], 1
push ebx
push edi
movzx edi, cl
lea ebx, [esi + 0x45d]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x459], edi
test ecx, ecx
je 0x40219d
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x28]
ja 0x402247
push edi
push ecx
push ebx
call fcn.004fd9e0
add esp, 0xc
add dword [esi + 0x20], edi
jmp 0x4021b5
push dword [esi + 0x14]
push 1
push edi
push ebx
call fcn.0050248a
add esp, 0x10
cmp eax, 1
jne 0x402247
mov edx, dword [ebp - 4]
mov dword [esi + 0x577], 0xfffffffe
cmp edx, 0xffffffff
jne 0x4021cc
cmp dword [ebp - 8], edx
je 0x4021f9
mov eax, dword [esi + 0x459]
sub eax, 1
js 0x4021f9
lea ecx, [esi + 0x45d]
add ecx, eax
nop
cmp byte [ecx], 0xff
jb 0x4021ed
dec ecx
sub eax, 1
jns 0x4021e0
jmp 0x4021f9
mov dword [esi + 0x577], eax
mov dword [esi + 0x57b], edx
cmp byte [esi + 0x55e], 0
je 0x402231
mov edi, dword [esi + 0x459]
xor edx, edx
xor ecx, ecx
test edi, edi
jle 0x40221b
movzx eax, byte [ebx + ecx]
inc ecx
add edx, eax
cmp ecx, edi
jl 0x402210
mov ecx, dword [esi + 0x31]
lea eax, [edi + 0x1b]
add eax, ecx
mov dword [esi + 0x35], ecx
add eax, edx
mov dword [esi + 0x39], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x3d], eax
pop edi
pop ebx
mov dword [esi + 0x55f], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x5d], 1
xor eax, eax
pop ebx
mov dword [esi + 0x61], 0xa
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402260
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40228e
cmp eax, dword [esi + 0x28]
jae 0x4022a0
mov cl, byte [eax]
inc eax
mov dword [esi + 0x20], eax
cmp cl, 0x4f
jne 0x4022a7
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4022b2
cmp eax, dword [esi + 0x28]
jae 0x4022a0
mov cl, byte [eax]
inc eax
mov dword [esi + 0x20], eax
jmp 0x4022c4
push dword [esi + 0x14]
call fcn.00501d00
mov ecx, eax
add esp, 4
cmp ecx, 0xffffffff
jne 0x402275
mov dword [esi + 0x5d], 1
mov dword [esi + 0x61], 0x1e
xor eax, eax
pop esi
ret
push dword [esi + 0x14]
call fcn.00501d00
mov ecx, eax
add esp, 4
cmp ecx, 0xffffffff
je 0x4022a0
cmp cl, 0x67
jne 0x4022a7
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4022dd
cmp eax, dword [esi + 0x28]
jae 0x4022a0
mov cl, byte [eax]
inc eax
mov dword [esi + 0x20], eax
jmp 0x4022ef
push dword [esi + 0x14]
call fcn.00501d00
mov ecx, eax
add esp, 4
cmp ecx, 0xffffffff
je 0x4022a0
cmp cl, 0x67
jne 0x4022a7
mov eax, dword [esi + 0x20]
test eax, eax
je 0x402308
cmp eax, dword [esi + 0x28]
jae 0x4022a0
mov cl, byte [eax]
inc eax
mov dword [esi + 0x20], eax
jmp 0x40231a
push dword [esi + 0x14]
call fcn.00501d00
mov ecx, eax
add esp, 4
cmp ecx, 0xffffffff
je 0x4022a0
cmp cl, 0x53
jne 0x4022a7
mov ecx, esi
pop esi
jmp fcn.00402090