joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a781c
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc si
xchg dword [esp + 0x38], ebp
lea esp, [esp + 0x38]

Function at 0x5a795b
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp]
push ebx
call fcn.005a5fa2

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4010f0
Capabilities:
Access peb ldr_data
Get process heap flags
Write file on windows

Disassembly:
push ebp
mov edx, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
cmp word [eax], 0
je 0x401260
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401108
sub eax, edx
sar eax, 1
mov ebx, eax
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 8], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [ebp - 0x30], edx
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x2c], ecx
call ecx
sub esp, 0x20
mov esi, eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], 0
mov ecx, dword [ebp - 0x2c]
call ecx
sub esp, 0x20
mov dword [esp], 0xfffffff5
call dword [sym.imp.kernel32.dll_GetStdHandle]
lea edx, [ebp - 0x1c]
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
cmp dword [ebp - 0x1c], esi
jae 0x401202
test byte [section..data], 2
jne 0x401230
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str.Failed_to_write_output_n
mov dword [esp + 8], global___FUNCTION__.0
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401202
xor ebx, ebx
jmp 0x401117
Function at 0x4012e0
Capabilities:
Access peb ldr_data
Get process heap flags
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x24], eax
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x28], eax
call eax
mov ecx, 0x1000
mov ebx, eax
sub esp, 0xc
mov eax, dword [0x406004]
mov edx, ebx
jmp 0x401356
mov ebx, eax
add eax, 1
movzx ebx, byte [ebx + section..bss]
mov dword [0x406004], eax
cmp bl, 0xa
je 0x401510
lea edi, [esi + 1]
cmp edi, ecx
jge 0x4013b0
mov byte [edx + esi], bl
mov esi, edi
cmp eax, dword [0x406000]
jb 0x401330
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x406000
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x405000
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
mov edx, dword [ebp - 0x1c]
sub esp, 0x14
test eax, eax
je 0x4013f8
mov eax, dword [0x406000]
test eax, eax
je 0x4013f8
mov ecx, dword [ebp - 0x20]
mov eax, 1
xor ebx, ebx
jmp 0x401335
add ecx, ecx
mov eax, dword fs:[0x18]
test edx, edx
je 0x4014d8
mov dword [esp + 0xc], ecx
mov dword [ebp - 0x1c], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov ecx, dword [ebp - 0x1c]
mov edx, eax
sub esp, 0x10
mov eax, dword [0x406004]
jmp 0x401351
mov ebx, edx
test esi, esi
je 0x401523
mov byte [edx + esi], 0
lea eax, [ebx + esi - 1]
cmp byte [eax], 0xd
jne 0x401418
mov byte [eax], 0
lea esi, [esi]
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x20], edx
call edx
sub esp, 0x18
mov esi, eax
lea eax, [eax + eax]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
sub esp, 0xc
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
mov edx, dword [ebp - 0x20]
call edx
sub esp, 0x18
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ecx
mov dword [ebp - 0x1c], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
mov ecx, dword [ebp - 0x1c]
mov edx, eax
sub esp, 0xc
mov eax, dword [0x406004]
jmp 0x401351
mov byte [edx + esi], 0
mov ebx, edx
test esi, esi
je 0x401418
jmp 0x401406
xor ecx, ecx
jmp 0x4014c9
Function at 0x401d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d6b
cmp byte [esi + ebx - 1], 0xa
je 0x401d3f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4060a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4022c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x4060b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x402480
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x4060b4]
movzx eax, al
bt eax, esi
jae 0x4024e0
mov ecx, dword [0x4060a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x402386
test byte [0x403018], 8
jne 0x402420
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x403028], 8
jne 0x4023d0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x402355
cmp esi, 3
jbe 0x402390
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x404134]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x402355
mov ecx, dword [0x4060b4]
test ecx, ecx
je 0x4024c0
mov dword [esp], 0x403028
call dword [0x4060b4]
test al, 8
je 0x40232c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x40232c
mov ebx, dword [0x4060b4]
test ebx, ebx
je 0x4024a0
mov dword [esp], 0x403018
call dword [0x4060b4]
test al, 8
je 0x402319
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x40231f
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4060b4
call sym._load_func.part.0
jmp 0x4022e0
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4060b4
call sym._load_func.part.0
jmp 0x40242a
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4060b4
call sym._load_func.part.0
jmp 0x4023de
mov eax, 0xffffffff
jmp 0x402386
Function at 0x402640
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.wmain
mov dword [esp], eax
call sym._exit
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x411710
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49f988], eax
mov edx, 1
mov eax, 0x49f988
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a0344
jl 0x411724
mov dword [0x49d318], 1
mov dword [0x4a2504], 1
pop edi
ret

Function at 0x449340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x1b], 0
lea ebx, [edi + 1]
jne 0x449375
cmp byte [0x4a0b80], 0
mov dword [ebp + 0xc], ebx
jne 0x449375
mov byte [0x4a0b80], bl
mov byte [esp + 0x1b], bl
cmp dword [0x4a2c14], edi
je 0x4493a9
cmp dword [0x4a2c04], edi
je 0x449397
mov eax, dword [0x4a2bfc]
push eax
call dword [0x48d2bc]
mov dword [0x4a2c04], edi
call dword [0x48d564]
mov dword [0x4a2c14], edi
mov dword [0x4a2bfc], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x4493c9
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x58], 1
mov dword [esp + 0x6c], edi
jmp 0x4493e7
cmp esi, 5
setle al
mov byte [esp + 0x58], al
test al, al
je 0x4493dd
mov dword [esp + 0x6c], edi
jmp 0x4493e7
call dword [0x48d2e4]
mov dword [esp + 0x6c], eax
cmp dword [0x4a24a0], edi
je 0x4493f4
call fcn.0044ab90
mov byte [esp + 0x18], 0
cmp dword [0x4a30b0], edi
je 0x44940f
call fcn.0044aa20
test al, al
je 0x44940f
mov byte [esp + 0x18], 1
cmp esi, edi
jle 0x44962d
cmp dword [ebp + 0xc], ebx
jne 0x44962d
add dword [0x4a0b90], ebx
cmp byte [0x4a0b7a], 0
mov byte [esp + 0x19], 1
jne 0x449451
mov ecx, dword [case.0x41b675.0]
push edi
push 0xa
push 9
push ecx
call dword [0x48d60c]
test eax, eax
setne dl
mov byte [0x4a0b7a], dl
mov byte [esp + 0x23], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
jmp 0x449451
Function at 0x459710
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49f988], eax
mov edx, 1
mov eax, 0x49f988
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a0344
jl 0x459724
mov dword [0x49d318], 1
mov dword [0x4a2504], 1
pop edi
ret

Function at 0x459760
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a2504], 0
push esi
mov esi, 0x49f988
jne 0x45977e
call dword [0x48d2e4]
push eax
call fcn.00459710
add esp, 4
mov dword [0x49d318], 0x270
mov dword [0x49f984], esi
mov ecx, 0xe3
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x459793
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x4597c8
mov ecx, dword [esi]
mov eax, dword [0x49f988]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret
Function at 0x462640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x49d350]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], al
mov dword [esp + 0xe], 0x3e3c0928
mov dword [esp + 0x12], 0x2d2b3d3a
mov dword [esp + 0x16], 0x7e212f2a
mov dword [esp + 0x1a], 0x5b5e7c26
mov word [esp + 0x1e], 0x3f2e
mov byte [esp + 0x20], 0
mov edi, ebp
test ebp, ebp
je 0x4626ab
mov dl, byte [ebp]
test dl, dl
je 0x4626ab
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x4626fe
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x462697
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x462691
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4626b0
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x4626d0
mov al, byte [edi]
cmp al, 0x20
je 0x4626cb
cmp al, 9
jne 0x4626d0
dec edi
cmp edi, ebp
ja 0x4626c1
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x462705
cmp byte [esp + 0x30], 0
je 0x4626f3
mov ecx, dword [esp + 0x28]
push ebp
push 0x492298
call fcn.00471900
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x4626d0
dec edi
jmp 0x4626bd
push esi
push ebp
push ebx
call 0x4c28e0
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc

Function at 0x476bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov ecx, dword [0x4a13a4]
push ebx
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
mov edi, eax
call 0x4ae8b0
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x1c]
call fcn.004837d0
mov dword [esp + 0x10], eax
test eax, eax
je case.default.0x476f5e
cmp byte [edi], 0
mov eax, 0x80000000
mov dword [esp + 0x1c], 2
mov byte [esp + 0xc], 0
mov byte [esp + 0xd], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov esi, edi
je 0x476cf8
lea ebx, [edi + 1]
nop
Function at 0x47aaf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [0x4a09d8]
push esi
push edi
mov edi, eax
mov al, 1
cmp al, byte [ecx + 1]
mov ecx, dword [0x4a13a4]
push 1
push 0
sbb esi, esi
and esi, dword [0x4a09dc]
push 0xffffffffffffffff
push 0x491918
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], esi
call 0x4ae8b0
test ebx, ebx
je 0x47ab4b
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call 0x4ae8b0
xor ebx, ebx
cmp esi, ebx
je 0x47ab5e
push 1
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call 0x4ae8b0
mov edx, dword [0x49d3c8]
xor eax, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
test byte [edx + 0xc8], 1
jne 0x47abad
lea eax, [esp + 0x70]
push eax
call dword [0x48d604]
push eax
call dword [0x48d454]
test eax, eax
je 0x47af0c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
add dword [ebp + 0x10], eax
add dword [ebp + 0x14], ecx
push 0x2e
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call 0x4c0bf7
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x47ac23
inc esi
push 0x494afc
push esi
call 0x4becb6
add esp, 8
test eax, eax
je 0x47ac0d
push 0x494b00
push esi
call 0x4becb6
add esp, 8
test eax, eax
je 0x47ac0d
push 0x494b04
push esi
call 0x4becb6
add esp, 8
test eax, eax
jne 0x47ac23
mov esi, dword [0x48d4cc]
push 0x31
call esi
push 0x32
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x20], eax
mov ebx, edi
mov al, byte [ebx]
cmp al, 0x20
je 0x47ac2f
cmp al, 9
jne 0x47ac32
inc ebx
jmp 0x47ac25
cmp byte [ebx], 0x2a
jne 0x47aeca
jmp 0x47ac40
Function at 0x41c769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x420190
cmp edx, dword [eax]
je 0x41c78b
add eax, 8
inc ecx
cmp eax, 0x420220
jl 0x41c77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x420190]
jne 0x41c8b9
mov eax, dword [0x420bb0]
cmp eax, 1
je 0x41c893
test eax, eax
jne 0x41c7bc
cmp dword [0x4200e4], 1
je 0x41c893
cmp edx, 0xfc
je 0x41c8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41c7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041d670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041d490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41c836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041d490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41f45c
push edi
call fcn.0041df00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041d670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041d680
lea eax, [ebp - 0xa0]
push 0x41f43c
push eax
call fcn.0041d680
push dword [esi + 0x420194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041d680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041de75
add esp, 0x2c
pop edi
jmp 0x41c8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x420194]
push 0
push eax
push dword [esi]
call fcn.0041d490
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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

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