joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d790
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0043e730
mov eax, dword [0x481ef4]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0040ff00
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1008], eax
mov ecx, dword [ebp - 0x1008]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1004]
push eax
call fcn.0041e190
add esp, 0xc
lea ecx, [ebp - 0x1004]
push ecx
push str._n_ERROR____s_n
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 0xc
push str._n_FATAL_ERROR_
call fcn.0041d9b0
add esp, 4
lea edx, [ebp - 0x1004]
push edx
push 0x4628c4
call fcn.0041d9b0
add esp, 8
call fcn.0041ddf0
push eax
push str.Stopped__s_n
call fcn.0041d9b0
add esp, 8
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41d856
push 0x11
push str.muscle
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 2
jne 0x41d856
call fcn.0041e1b0
push 2
call fcn.00447445
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e58b
mov esp, ebp
pop ebp
ret

Function at 0x41d9b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0043e730
mov eax, dword [0x481ef4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ecx + 0x4c8fe8]
test edx, edx
jne 0x41d9df
jmp 0x41da93
movzx eax, byte [0x4c8fd8]
test eax, eax
je 0x41d9f6
mov dword [ebp - 0x1008], 0x462850
jmp 0x41da00
mov dword [ebp - 0x1008], 0x462854
cmp dword [0x4c90f0], 0
jne 0x41da24
push 0x40
mov ecx, dword [ebp - 0x1008]
push ecx
push 0x4c8fe8
call fcn.00447c16
add esp, 0xc
mov dword [0x4c90f0], eax
cmp dword [0x4c90f0], 0
jne 0x41da41
push 0x4c8fe8
call fcn.00447d98
add esp, 4
push 1
call fcn.00447445
call fcn.0040ff00
lea edx, [ebp + 0xc]
mov dword [ebp - 0x100c], edx
mov eax, dword [ebp - 0x100c]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1004]
push edx
call fcn.0041e190
add esp, 0xc
lea eax, [ebp - 0x1004]
push eax
push 0x462858
mov ecx, dword [0x4c90f0]
push ecx
call fcn.00410430
add esp, 0xc
mov edx, dword [0x4c90f0]
push edx
call fcn.0044b3a0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e58b
mov esp, ebp
pop ebp
ret
Function at 0x4200e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ec80
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x481ef4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x4000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov eax, dword [ebp + 8]
mov dword [0x4c9174], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x4c9178], ecx
call fcn.00437ef0
call fcn.0042fb90
mov edx, dword [ebp + 0xc]
add edx, 4
push edx
mov eax, dword [ebp + 8]
sub eax, 1
push eax
call fcn.00427210
add esp, 8
call fcn.00427710
call fcn.0041ded0
movzx ecx, byte [0x4c9353]
test ecx, ecx
je 0x42017c
mov edx, dword [str.MUSCLE_v3.8.1551.gsl2_by_Robert_C._Edgar]
push edx
push 0x462c5c
call fcn.00420210
add esp, 8
push 0
call fcn.00447445
movzx eax, byte [0x4c9347]
test eax, eax
jne 0x42018c
call fcn.0043e060
call fcn.004284a0
movzx ecx, al
test ecx, ecx
je 0x4201b2
push 0
call fcn.0044e7b1
add esp, 4
test eax, eax
je 0x4201b2
call fcn.0043e030
push 0
call fcn.00447445
movzx edx, byte [0x47eda6]
test edx, edx
je 0x4201ef
mov dword [ebp - 4], 0
call fcn.0040fdb0
jmp 0x4201dd
mov dword [ebp - 4], 0xffffffff
jmp 0x4201ed
jmp 0x4201f4
call fcn.0040fdb0
push 0
call fcn.00447445
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4271c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push str._nFatal_error__exception_caught._n
push 0x4633e4
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 0xc
push str._nFatal_error__exception_caught._n
push 0x4633e8
call fcn.0041d9b0
add esp, 8
call fcn.0041ddf0
push eax
push str.Finished__s_n
call fcn.0041d9b0
add esp, 8
push 3
call fcn.00447445
pop ebp
ret
Function at 0x427210
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jge 0x427304
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + edx]
cmp ecx, 0x2d
je 0x42726c
mov edx, dword [ebp - 8]
push edx
push str.Command_line_option___s__must_start_with___n
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 0xc
push 1
call fcn.00447445
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00427520
add esp, 4
movzx edx, al
test edx, edx
je 0x427293
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x42721d
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
sub ecx, 1
cmp dword [ebp - 4], ecx
jge 0x4272b2
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4 + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00427580
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4272d7
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
jmp 0x42721d
mov eax, dword [ebp - 0xc]
push eax
push str.Invalid_command_line_option___s__n
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 0xc
call fcn.0043e030
push 1
call fcn.00447445
jmp 0x42721d
mov esp, ebp
pop ebp
ret

Function at 0x427580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x427596
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x47e3f8]
jge 0x427601
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x47e1e8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044e678
add esp, 8
test eax, eax
jne 0x4275ff
cmp dword [ebp + 0xc], 0
jne 0x4275e5
mov edx, dword [ebp + 8]
push edx
push str.Option___s_must_have_value_n
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 0xc
push 1
call fcn.00447445
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041e010
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx*8 + 0x47e1ec], eax
mov al, 1
jmp 0x427603
jmp 0x42758d
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x434440
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x481ef4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x4ddd98]
test eax, eax
je 0x43448f
push str._nRecursive_call_to_SaveCurrentAlignment__giving_up_attempt_to_save._n
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 8
push 2
call fcn.00447445
cmp dword [0x4ddd88], 0
jne 0x4344c4
push str._nAlignment_not_completed__cannot_save._n
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 8
push str.Alignment_not_completed__cannot_save._n
call fcn.0041d9b0
add esp, 4
push 2
call fcn.00447445
cmp dword [0x4ddd94], 0
jne 0x4344ec
push str._nOutput_file_name_not_specified__cannot_save._n
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 8
push 2
call fcn.00447445
push str._nSaving_current_alignment_..._n
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 8
push 1
mov ecx, dword [0x4ddd94]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043a680
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [0x4ddd88]
call fcn.00421130
mov eax, dword [0x4ddd94]
push eax
push 0x465d50
push 2
call fcn.00443959
add esp, 4
push eax
call fcn.00410430
add esp, 0xc
mov ecx, dword [0x4ddd94]
push ecx
push str.Current_alignment_saved_to___s_._n
call fcn.0041d9b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043a600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4345a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x4c935c], 0
jne 0x4345b1
jmp 0x434621
push 0
call fcn.00434630
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
call fcn.0042fd00
xor ecx, ecx
mov edx, dword [ebp - 0x10]
sub edx, eax
mov eax, dword [ebp - 0xc]
sbb eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ecx, dword [0x4c935c]
xor edx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jg 0x4345fa
jl 0x4345f8
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x18]
ja 0x4345fa
jmp 0x434621
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00428350
push eax
push str.Max_time__s_exceeded__elapsed_seconds___ul_n
call fcn.0041d9b0
add esp, 0x10
call fcn.00434440
push 0
call fcn.00447445
mov esp, ebp
pop ebp
ret

Function at 0x4423cf
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x467640
push 0x467638
push str.FlsAlloc
push 0
call fcn.00442348
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442401
push dword [ebp + 8]
mov ecx, esi
call fcn.0043ed4b
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x442443
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x467650
push 0x467648
push str.FlsGetValue
push 2
call fcn.00442348
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x442474
mov ecx, esi
call fcn.0043ed4b
call esi
jmp 0x44247a
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x44247d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x467658
push 0x467650
push str.FlsSetValue
push 3
call fcn.00442348
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x4424b1
mov ecx, esi
call fcn.0043ed4b
call esi
jmp 0x4424b7
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x44f8c3
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044f846

Function at 0x451fe2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00451e5f

Function at 0x4580bc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00457d5e
Function at 0x530ae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdb000]
push edi
or ebp, 0xffffffff
jmp 0x530b02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x530b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530af8
mov eax, 1
add ebx, ebx
jne 0x530b1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x530b2c
jne 0x530b4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530b4b
dec eax
add ebx, ebx
jne 0x530b38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x530b10
add ebx, ebx
jne 0x530b47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x530b9d
xor ecx, ecx
sub eax, 3
jb 0x530b63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x530bd2
sar eax, 1
mov ebp, eax
jmp 0x530b6e
add ebx, ebx
jne 0x530b6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530b3c
inc ecx
add ebx, ebx
jne 0x530b7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530b3c
add ebx, ebx
jne 0x530b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x530b7e
jne 0x530b9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x530b7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x530bbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x530bae
jmp 0x530afe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x530bbc
add edi, ecx
jmp 0x530afe
pop esi
mov edi, esi
mov ecx, 0x5b78
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x530bda
cmp byte [edi], 0x14
jne 0x530bda
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 0x530bdf
lea edi, [esi + 0x12c000]
mov eax, dword [edi]
or eax, eax
je 0x530c4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x166bf8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x166ce8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x530c0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x166cec]
or eax, eax
je 0x530c48
mov dword [ebx], eax
add ebx, 4
jmp 0x530c29
call dword [esi + 0x166cfc]
mov ebp, dword [esi + 0x166cf0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x530c82
sub esp, 0xffffff80
jmp 0x4da7c0
Function at 0x40893f
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x4085d8
pop ebx
call fcn.0040895e
xor dword [edi], ebx
sub ecx, 0xeb197db6
dec ecx
add edi, 1
cmp edi, edx
jne fcn.0040893f
ret
Function at 0x401040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push str.Executing_shellcode..._n
call fcn.00401010
add esp, 4
push 0x40
push 0x1000
push 0x2b0da
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x40107a
push str.Error_allocating_memory_for_shellcode._n
call fcn.00401010
add esp, 4
lea eax, [ebx + 1]
pop ebx
ret
push esi
push edi
push str.hello
call fcn.00401010
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x402190]
add al, 3
push esi
push 0x402158
mov byte [esi + 0x459458], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x2b0da
jb 0x401091
mov esi, 0x31
nop
push 0
call edi
sub esi, 1
jne 0x4010c0
nop dword [eax]
mov eax, esi
imul eax, esi
push eax
push 0x40215c
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x64
jl 0x4010d0
push 0x2b0da
push 0x2b0da
push 0x2b0da
push str._d__d__d
call fcn.00401010
add esp, 0x10
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x459458]
sub al, 3
push esi
push 0x402158
mov byte [esi + 0x42e378], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x2b0da
jb 0x401107
pop edi
pop esi
push 0x40216c
call fcn.00401010
push 0x2b0da
push 0x2b0da
push 0x2b0da
push str._d__d__d
call fcn.00401010
push 0x2b0da
push 0x42e378
push ebx
call sub.VCRUNTIME140.dll_memcpy
call ebx
push str.Shellcode_execution_complete._n
call fcn.00401010
add esp, 0x24
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
pop ebx
ret

Function at 0x40198b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4019ca
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019ca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019ca
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019ca
cmp dword [ecx + 0x74], 0xe
jbe 0x4019ca
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
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 0x408958
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
call fcn.00408984
add ecx, 0xc165e561
add edx, ecx
xor dword [esi], edi
and edx, ecx
push edx
pop edx
inc esi
add edx, ecx
cmp esi, eax
jne main
or edx, ecx
mov edx, ecx
ret
Function at 0x40c2b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40c2d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c2d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c2c8
mov eax, 1
add ebx, ebx
jne 0x40c2eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c2e0
jne 0x40c2fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c2e0
xor ecx, ecx
sub eax, 3
jb 0x40c310
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c382
mov ebp, eax
add ebx, ebx
jne 0x40c31b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c328
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c34c
inc ecx
add ebx, ebx
jne 0x40c338
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c32d
jne 0x40c349
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c32d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c36c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c35d
jmp 0x40c2ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c36c
add edi, ecx
jmp 0x40c2ce
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c3d4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcc04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcce4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c389
mov ecx, edi
jns 0x40c3b8
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 + 0xccec]
or eax, eax
je 0x40c3ce
mov dword [ebx], eax
add ebx, 4
jmp 0x40c3a6
call dword [esi + 0xcce8]
mov ebp, dword [esi + 0xccf0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x40c408
sub esp, 0xffffff80
jmp 0x408000
Function at 0x403ee7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi], edi
je 0x403f16
cmp dword [esi + 4], edi
jbe 0x403f0f
mov eax, dword [esi]
mov eax, dword [eax + edi*8]
test eax, eax
je 0x403f09
push eax
call 0x4301e8
inc edi
cmp edi, dword [esi + 4]
jb 0x403efa
push dword [esi]
call fcn.004324f6
push ebx
xor ebx, ebx
mov edi, 0xe0
cmp dword [esi + 8], ebx
je 0x403f48
cmp dword [esi + 0xc], ebx
jbe 0x403f40
mov dword [ebp + 8], ebx
mov eax, dword [esi + 8]
add eax, dword [ebp + 8]
push eax
call fcn.00403e14
add dword [ebp + 8], edi
inc ebx
cmp ebx, dword [esi + 0xc]
jb 0x403f2b
push dword [esi + 8]
call fcn.004324f6
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x403f74
cmp dword [esi + 0x14], ebx
jbe 0x403f6c
and dword [ebp + 8], ebx
mov eax, dword [esi + 0x10]
add eax, dword [ebp + 8]
push eax
call fcn.00403e14
add dword [ebp + 8], edi
inc ebx
cmp ebx, dword [esi + 0x14]
jb 0x403f57
push dword [esi + 0x10]
call fcn.004324f6
xor edi, edi
pop ebx
cmp dword [esi + 0x18], edi
je 0x403f9f
cmp dword [esi + 0x1c], edi
jbe 0x403f97
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edi*8]
test dword [edi + 0x65], eax
je 0x403fb9
push ebp
outsb dx, byte [esi]
imul ebp, dword [esi + 0x73], 0x6c6c6174
push edx
imul esi, dword gs:[bp + di + 0x74], 0x654b7972
imul esi, dword [bp + di + 0x74], 0x654b7972
jns 0x403fcf
jo 0x404016
xor dword [eax], eax
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [ecx + 0x40], al
add byte [eax], al
add byte [esi + 0x2e000011], dh
adc dword [eax], eax
add byte [esi], ch
adc al, 0
add byte [0x516aede9], bl
cmp edi, dword [eax]
pop esp
add dword [edi - 0x7e818284], 0x383b8177
dec esi
dec esi
dec esi
cmp dword [ebx], 0x4e4e4e38
dec esi
adc byte [ebx - 0x6c685f5e], 0xa4
xchg ebx, eax
dec esi
mov al, byte [0xa1979593]
mov byte [0x994ea7a0], al
xchg ebx, eax
cmpsd dword [esi], dword es:[edi]
push esi
mov eax, dword [0x9d944e57]
mov al, byte [0xa1a7a14e]
mov byte [0x975b9b93], al
pushfd
mov eax, dword [0x9a9a8fa2]
xchg ebx, eax
xchg edx, eax
dec esi
invalid
invalid