joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x200720f0
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2d863534
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x425803ad
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x2d28099e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x427769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42b190
cmp edx, dword [eax]
je 0x42778b
add eax, 8
inc ecx
cmp eax, 0x42b220
jl 0x42777c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42b190]
jne 0x4278b9
mov eax, dword [0x42bbb0]
cmp eax, 1
je 0x427893
test eax, eax
jne 0x4277bc
cmp dword [0x42b0e4], 1
je 0x427893
cmp edx, 0xfc
je 0x4278b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4277f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00428670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00428490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x427836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00428490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42a45c
push edi
call fcn.00428f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00428670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00428680
lea eax, [ebp - 0xa0]
push 0x42a43c
push eax
call fcn.00428680
push dword [esi + 0x42b194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00428680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00428e75
add esp, 0x2c
pop edi
jmp 0x4278b9
lea eax, [ebp + 8]
lea esi, [esi + 0x42b194]
push 0
push eax
push dword [esi]
call fcn.00428490
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 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407358
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x263833e0
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cdf0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x505a3429
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x401443
pop dword [ebp - 0x34]
mov eax, 0x206c38fc
sub eax, 0x202c24b9
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x4e1c070e
sub dword [ebp - 0x44], 0xffc9c1c3
mov dword [ebp - 0x40], 0x98d167bc
add dword [ebp - 0x40], 0x9961e489
mov dword [ebp - 0x3c], 0x1f0a2615
add dword [ebp - 0x3c], 0x2d421e19
mov dword [ebp - 0x38], 0x98d550a4
sub dword [ebp - 0x38], 0x98d550a4
lea eax, [ebp - 0x44]
push eax
mov eax, 0x6a6f11f9
sub eax, 0x6a2e9181
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xf70de08b
add dword [ebp - 0x44], 0x7d6488cb
mov dword [ebp - 0x40], 0x15d02b09
add dword [ebp - 0x40], 0x2b9c366c
mov dword [ebp - 0x3c], 0xb2e219eb
sub dword [ebp - 0x3c], 0x4f72ad7f
mov dword [ebp - 0x38], 0xa4887f21
sub dword [ebp - 0x38], 0xa4887f21
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x38e0d
push 0
call eax
mov ecx, 0x4a02
xor edx, edx
add edx, eax
mov ebx, 0xc04baf9f
add ebx, 0x3ff96461
add ebx, dword [ebp - 0x34]
mov edi, 0xc60ea5cb
sub edi, 0x392b403b
xor dword [ebp - 0x18], 0xbe3cacef
mov esi, dword [ebx]
xor dword [ebp - 0x2c], eax
xor esi, edi
xor dword [ebp - 0x24], ecx
mov dword [edx], esi
sub dword [ebp - 0x2c], 0x8aa3c6ed
add edx, 0x69d84efd
add edx, 0x9627b107
add ebx, 4
loop 0x40155c
add eax, 0x11adb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401950
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 [0x4040b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x401b10
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x4040b4]
movzx eax, al
bt eax, esi
jae 0x401b70
mov ecx, dword [0x4040a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x401a16
test byte [0x402028], 8
jne 0x401ab0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x402038], 8
jne 0x401a60
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 0x4019e5
cmp esi, 3
jbe 0x401a20
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 + 0x403128]
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 0x4019e5
mov ecx, dword [0x4040b4]
test ecx, ecx
je 0x401b50
mov dword [esp], 0x402038
call dword [0x4040b4]
test al, 8
je 0x4019bc
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 0x4019bc
mov ebx, dword [0x4040b4]
test ebx, ebx
je 0x401b30
mov dword [esp], 0x402028
call dword [0x4040b4]
test al, 8
je 0x4019a9
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 0x4019af
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4040b4
call sym._load_func.part.0
jmp 0x401970
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4040b4
call sym._load_func.part.0
jmp 0x401aba
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4040b4
call sym._load_func.part.0
jmp 0x401a6e
mov eax, 0xffffffff
jmp 0x401a16
Function at 0x405420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0043d790
mov eax, dword [0x46f308]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1000
push 0
lea eax, [ebp - 0x1004]
push eax
call fcn.0043d7c0
add esp, 0xc
mov dword [ebp - 0x1008], 0
jmp 0x40546b
mov ecx, dword [ebp - 0x1008]
add ecx, 0x1000
mov dword [ebp - 0x1008], ecx
mov edx, dword [ebp - 0x1008]
cmp edx, dword [ebp + 0xc]
jge 0x405497
push 0
lea eax, [ebp - 0x100c]
push eax
push 0x1000
lea ecx, [ebp - 0x1004]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x405459
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ae40
mov esp, ebp
pop ebp
ret

Function at 0x406dc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jl 0x406dda
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00407130
add esp, 8
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x406ea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
jl 0x406ebe
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043fa33
add esp, 0xc
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 0x14]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jbe 0x406f33
cmp dword [ebp - 8], 0x4000
jae 0x406ee8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
jmp 0x406eef
mov dword [ebp - 0x14], 0x4000
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.0043ffca
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x406f16
jmp 0x406f33
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
jmp 0x406ed1
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x406f40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jl 0x406f5a
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00407130
add esp, 8
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4070b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jl 0x4070cb
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043fa33
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0043f8f8
add esp, 0x10
pop ebp
ret
Function at 0x407240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jl 0x40725b
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043fa33
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0043ffca
add esp, 0x10
pop ebp
ret

Function at 0x4072b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4072c4
xor eax, eax
jmp 0x407302
cmp dword [ebp + 0xc], 0
jle 0x407300
cmp dword [ebp + 0x10], 0
jl 0x4072e5
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call fcn.0043fa33
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043f8f8
add esp, 0x10
jmp 0x407302
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4076b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043ea33
add esp, 8
test eax, eax
jne 0x4076d1
mov dword [ebp - 4], 1
jmp 0x4076d8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x407a70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x46f308]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
cmp dword [ebp + 0xc], 0
jne 0x407aad
mov dword [ebp + 0xc], 0x4540f1
cmp dword [ebp + 0x10], 0
je 0x407b5f
mov ecx, 1
imul ecx, ecx, 0
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx + ecx]
test eax, eax
je 0x407b5f
mov dword [ebp - 0x25c], 0x454114
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x258]
mov al, byte [edx]
mov byte [ebp - 0x246], al
mov ecx, dword [ebp - 0x25c]
cmp al, byte [ecx]
jne 0x407b3f
cmp byte [ebp - 0x246], 0
je 0x407b33
mov edx, dword [ebp - 0x258]
mov al, byte [edx + 1]
mov byte [ebp - 0x245], al
mov ecx, dword [ebp - 0x25c]
cmp al, byte [ecx + 1]
jne 0x407b3f
add dword [ebp - 0x258], 2
add dword [ebp - 0x25c], 2
cmp byte [ebp - 0x245], 0
jne 0x407ae1
mov dword [ebp - 0x264], 0
jmp 0x407b4a
sbb edx, edx
or edx, 1
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x407b66
mov dword [ebp + 0x10], 0x454118
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.004075e0
add esp, 0xc
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x407c6e
mov eax, dword [ebp - 0x24c]
cmp eax, dword [ebp - 0x250]
jl 0x407c0c
mov ecx, dword [ebp - 0x24c]
add ecx, 0x10
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x407be9
mov eax, dword [ebp - 0x250]
shl eax, 2
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.00419390
add esp, 8
mov dword [ebp - 0x260], eax
jmp 0x407c01
mov eax, dword [ebp - 0x250]
shl eax, 2
push eax
call fcn.00419200
add esp, 4
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x260]
mov dword [ecx], edx
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
call fcn.00416f40
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24c]
mov dword [edx + ecx*4], eax
mov edx, dword [ebp - 0x24c]
add edx, 1
mov dword [ebp - 0x24c], edx
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407c69
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x254], 0xffffffff
jmp 0x407b97
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ae40
mov esp, ebp
pop ebp
ret
Function at 0x409070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 1
jl 0x409085
cmp dword [ebp + 8], 9
jle 0x409092
push str.bad_pack_level
mov ecx, dword [ebp - 4]
call fcn.004084a0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x70], ecx
mov dword [ebp - 8], 0
jmp 0x4090ad
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x2000
jae 0x4090cb
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
xor edx, edx
mov eax, dword [ebp - 8]
mov word [ecx + eax*2 + 0x10000], dx
jmp 0x4090a4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx*8 + 0x45423a]
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], edx
mov ecx, dword [ebp + 8]
movzx edx, word [ecx*8 + 0x454238]
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], edx
mov ecx, dword [ebp + 8]
movzx edx, word [ecx*8 + 0x45423c]
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], edx
mov ecx, dword [ebp + 8]
movzx edx, word [ecx*8 + 0x45423e]
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], edx
cmp dword [ebp + 8], 1
jne 0x409126
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
or edx, 4
mov eax, dword [ebp + 0xc]
mov word [eax], dx
jmp 0x40913b
cmp dword [ebp + 8], 9
jne 0x40913b
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
or edx, 2
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], 0
push 0x10000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00408720
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x64], 0
je 0x40917b
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x64], 0xffffffff
jne 0x409191
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x64], 0
jmp 0x409202
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x64], 0x106
jae 0x4091ba
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x4091ba
mov ecx, dword [ebp - 4]
call fcn.00408eb0
jmp 0x40919b
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], 0
mov dword [ebp - 8], 0
jmp 0x4091d6
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jae 0x409202
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
shl ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
mov edx, dword [ebp - 8]
movzx eax, byte [eax + edx]
xor ecx, eax
and ecx, 0x1fff
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], ecx
jmp 0x4091cd
mov esp, ebp
pop ebp
ret 8
Function at 0x40e410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x40e42b
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1c], 0
je 0x40e432
xor eax, eax
jmp 0x40e4b8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
je 0x40e48f
push 0
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call fcn.0043fa33
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00419200
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0043f8f8
add esp, 0x10
jmp 0x40e4a4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
call fcn.0040e500
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x419200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x46f308]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], 0
cmp dword [ebp + 8], 0
jg 0x41922c
mov dword [ebp + 8], 0x10
jmp 0x419241
mov eax, dword [ebp + 8]
add eax, 0x20
cdq
and edx, 0xf
add eax, edx
sar eax, 4
shl eax, 4
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0x40000000
jle 0x419278
mov eax, dword [ebp + 8]
push eax
push str.my_malloc:_to_big_memory__ret_0._NeedSize_d
lea ecx, [ebp - 0x104]
push ecx
call fcn.0043d70c
add esp, 0xc
lea edx, [ebp - 0x104]
push edx
call fcn.00418830
add esp, 4
xor eax, eax
jmp 0x419379
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00440c2f
add esp, 8
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x4192e4
push 3
push 0xff37a1cf
push str.my_malloc_fail
call fcn.00418e00
add esp, 0xc
push str.my_malloc
call fcn.00418b80
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
push str.Fatal_Error_on_my_malloc:_no_memory._NeedSize_d
lea edx, [ebp - 0x104]
push edx
call fcn.0043d70c
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.00418830
add esp, 4
push 0xffffffffffffffff
call fcn.00440c1b
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [0x45c624]
mov dword [eax + 8], ecx
push 0x472ea0
call fcn.00417cd0
add esp, 4
mov edx, dword [0x470c70]
add edx, 1
mov dword [0x470c70], edx
mov eax, dword [0x470c74]
add eax, dword [ebp + 8]
mov dword [0x470c74], eax
mov dword [ebp - 0x10c], 1
push 0x472ea0
call fcn.00417d10
add esp, 4
cmp dword [ebp - 0x10c], 0
jne 0x419370
mov ecx, dword [ebp + 8]
push ecx
push str.my_malloc:_memptr_already_exist__needsize_d_
lea edx, [ebp - 0x104]
push edx
call fcn.0043d70c
add esp, 0xc
push 3
lea eax, [ebp - 0x104]
push eax
call fcn.00418ca0
add esp, 8
mov eax, dword [ebp - 0x108]
add eax, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ae40
mov esp, ebp
pop ebp
ret