joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100282e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100282f0
xor eax, eax
pop ebp
ret 4
push esi
not eax
cmp edx, 8
jb 0x100283bf
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3997d50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3997d50]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3997d50]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3997d50]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3997d50]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3997d50]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3997d50]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3997d50]
add ecx, 8
sub edx, 8
dec esi
jne 0x10028302
pop edi
test edx, edx
je 0x100283dc
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x3997d50]
inc ecx
dec edx
jne 0x100283c3
not eax
pop esi
pop ebp
ret 4
Function at 0x100283f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x399512c]
cmp eax, 1
je 0x10028411
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x3995128]
test eax, eax
jne 0x1002842d
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x39951f4]
lea edx, [ebp - 0x40]
push edx
call dword [0x3995134]
mov esi, dword [0x3995138]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], ecx
sub dword [ebp - 0x68], eax
sbb dword [ebp - 0x64], ecx
sub dword [ebp - 0x70], eax
sbb dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x74]
mov eax, ecx
xor esi, esi
and eax, 1
je 0x1002848f
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x10028497
or esi, 2
test cl, 4
je 0x1002849f
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x100284a9
or esi, 0x10
test cl, 0x20
je 0x100284b1
or esi, 0x20
test edx, edx
je 0x100284bd
or esi, 0x40000000
jmp 0x100284c3
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x100284d9
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x399513c]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x10028580
mov esi, dword [0x39951fc]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x399521c]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push edi
call ebx
push 0
push 0
push 0x24
push edi
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, 0x54ad
cmp word [ebp - 4], dx
jne 0x1002857d
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x1002857d
push 0
push 0
push eax
push edi
call esi
push 0
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 0x5a4d
je 0x10028576
cmp eax, 0x454e
je 0x10028576
cmp eax, 0x454c
je 0x10028576
cmp eax, 0x4550
jne 0x1002857d
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x1002858b
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x10028597
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x100285a6
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x100285ce
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x3995140]
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002d330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
push esi
push edi
test eax, eax
jne 0x1002d350
mov eax, 0x399acd4
push 0x399acc0
push eax
lea ecx, [ebp - 0x214]
push 0x399acdc
push ecx
call dword [0x39954d4]
lea eax, [ebp - 0x214]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d374
mov ecx, dword [ebx + 0x75c4]
sub eax, edx
lea edx, [ecx + eax + 0xd]
cmp edx, 0x7530
jbe 0x1002d3be
push ecx
lea eax, [ebx + 0x94]
push eax
mov eax, ebx
call fcn.10030cd0
test eax, eax
jns 0x1002d3b4
mov esi, ebx
call fcn.10030a00
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x75c4], 0
mov al, byte [0x399e05d]
movsx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x302fefc
xor edx, edx
add ecx, 0xfffe0003
test al, al
lea eax, [ebp - 0x214]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
lea edx, [eax + 1]
je 0x1002d411
jmp 0x1002d3f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d3f0
sub eax, edx
lea edx, [eax + 1]
shr edx, 8
inc eax
and edx, 0xff
shl eax, 8
xor edx, eax
mov word [ebp - 0xc], dx
jmp 0x1002d41f
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d411
sub eax, edx
inc eax
mov word [ebp - 0xc], ax
mov ecx, dword [ebx + 0x75c4]
xor eax, eax
lea edi, [ecx + ebx + 0x94]
mov word [ebp - 0xa], ax
lea esi, [ebp - 0x10]
mov ecx, 0xc
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x75c4], 0xc
mov edx, dword [ebx + 0x75c4]
lea eax, [ebp - 0x214]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d452
sub eax, esi
lea ecx, [eax + 1]
lea edi, [edx + ebx + 0x94]
lea esi, [ebp - 0x214]
lea eax, [ebp - 0x214]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d476
sub eax, edx
inc eax
add dword [ebx + 0x75c4], eax
mov eax, dword [ebx + 0x75c4]
push eax
lea edx, [ebx + 0x94]
push edx
mov eax, ebx
call fcn.10030cd0
test eax, eax
js 0x1002d3a2
pop edi
pop esi
mov dword [ebx + 0x75c4], 0
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10036380
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [edx + 4]
mov edx, eax
shr edx, 4
xor edx, esi
and edx, 0xf0f0f0f
xor esi, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x10
xor edx, esi
and edx, 0xffff
xor esi, edx
shl edx, 0x10
xor eax, edx
mov edx, esi
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor esi, edx
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor esi, edx
rol esi, 1
mov edx, esi
xor edx, eax
and edx, 0xaaaaaaaa
xor esi, edx
xor edx, eax
rol edx, 1
push edi
mov ecx, 0x39ad708
mov dword [ebp - 4], edx
mov dword [ebp - 8], 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx]
add ecx, 0x10
mov edx, eax
shr edx, 0x18
mov edi, eax
shr edi, 0x10
and edi, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x399d6a8]
or edx, dword [edi*4 + 0x399d8a8]
mov edi, eax
shr edi, 8
and edi, 0x3f
or edx, dword [edi*4 + 0x399daa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x399dca8]
mov eax, dword [ecx - 0xc]
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x399d7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x399d9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x399dba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x399dda8]
or edi, edx
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
xor edi, dword [ebp - 0xc]
mov eax, edi
ror eax, 4
xor eax, dword [ecx - 8]
mov dword [ebp - 4], edi
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x399d6a8]
or edx, dword [ebx*4 + 0x399d8a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edx, dword [ebx*4 + 0x399daa8]
and eax, 0x3f
or edx, dword [eax*4 + 0x399dca8]
mov eax, dword [ecx - 4]
xor eax, edi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x399d7a8]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
or edi, dword [ebx*4 + 0x399d9a8]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or edi, dword [ebx*4 + 0x399dba8]
and eax, 0x3f
or edi, dword [eax*4 + 0x399dda8]
or edi, edx
xor esi, edi
dec dword [ebp - 8]
jne 0x10036403
mov ecx, dword [ebp - 4]
ror esi, 1
mov eax, esi
xor eax, ecx
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, ecx
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov edx, dword [ebp + 8]
mov ecx, esi
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
xor ecx, eax
pop esi
mov dword [edx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10044900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x10044929
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + 0x399d100]
inc esi
xor eax, edx
dec ecx
jne 0x10044914
xor eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x40121c
Capabilities:
Delete directory
Delete file

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0040127d
mov ecx, esi
call fcn.00401292
mov edi, eax
test edi, edi
jne 0x401255
mov ecx, esi
call fcn.004013e3
mov edi, eax
test edi, edi
jne 0x401255
mov ecx, esi
call fcn.00401674
mov edi, eax
test edi, edi
jne 0x401255
mov ecx, esi
call fcn.004017ee
mov edi, eax
cmp dword [0x409c18], 0
jne 0x401278
lea eax, [esi + 0x1210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esi, 0x1314
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, edi
pop edi
pop esi
ret
Function at 0x401674
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
push dword [esi + 0x1420]
call fcn.00401c63
pop ecx
lea edi, [esi + 0x1418]
push ebp
mov ebx, eax
push dword [esi + 0x141c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll__llseek]
push dword [esi + 0x1420]
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, dword [esi + 0x1420]
jne 0x401705
lea eax, [esi + 0x1210]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
cmp eax, 0xffffffff
mov dword [esi + 0x1424], eax
jne 0x4016e2
lea eax, [esi + 4]
push str.Unable_to_open_setup_file
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x37
jmp 0x401716
xor eax, eax
xor byte [eax + ebx], 7
inc eax
cmp eax, 0x7d0
jl 0x4016e4
push dword [esi + 0x1420]
push ebx
push dword [esi + 0x1424]
call dword [sym.imp.KERNEL32.dll__lwrite]
jmp 0x401717
lea eax, [esi + 4]
push str.Failed_to_read_setup_engine
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x36
pop ebp
push ebx
call fcn.00401b7a
mov esi, dword [esi + 0x1424]
pop ecx
cmp esi, 0xffffffff
je 0x401730
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret

Function at 0x401737
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 1
push edi
call esi
cmp byte [eax + edi - 1], 0x5c
je 0x401769
push 0x40718c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call esi
mov ebx, eax
xor esi, esi
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00401ae0
add esp, 0xc
cmp ebx, 2
jle 0x4017e1
cmp byte [edi + 1], 0x3a
jne 0x4017e1
test ebx, ebx
jle 0x4017e4
lea eax, [ebp - 0x108]
sub edi, eax
cmp dword [ebp - 4], 0
je 0x4017e4
lea eax, [ebp + esi - 0x108]
mov cl, byte [edi + eax]
cmp cl, 0x5c
mov byte [eax], cl
jne 0x4017da
cmp esi, 2
je 0x4017da
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x4017da
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], eax
inc esi
cmp esi, ebx
jl 0x40179c
jmp 0x4017e4
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4017ee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push ebx
push esi
push edi
push 0x10
mov esi, ecx
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x70], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
lea eax, [ebp - 0x70]
pop edi
push edi
push ebx
push eax
call fcn.00401ae0
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00401ae0
mov eax, dword [esi + 0x1420]
mov dword [ebp - 0x70], edi
add eax, dword [esi + 0x141c]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x3e], bx
push eax
lea eax, [ebp - 0x194]
push str.__IRAOFF:_u
push eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea eax, [esi + 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test eax, eax
je 0x401888
lea eax, [esi + 0x804]
push 0x4071f4
push eax
call edi
lea eax, [ebp - 0x194]
push eax
lea eax, [esi + 0x804]
push eax
call edi
lea eax, [esi + 0x110c]
push eax
lea eax, [ebp - 0x194]
push str.___IRAFN:_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esi + 0x804]
push 0x4071f4
push eax
call edi
lea eax, [ebp - 0x194]
push eax
lea eax, [esi + 0x804]
push eax
call edi
cmp dword [0x409c18], ebx
je 0x4018f0
lea eax, [esi + 0x1210]
push ebx
push eax
lea eax, [esi + 0x804]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [ebp - 0x10]
xor edi, edi
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [esi + 0x1314]
push eax
push ebx
push 0x20
push ebx
push ebx
lea eax, [esi + 0x804]
push ebx
push eax
lea eax, [esi + 0x1210]
inc edi
push eax
mov dword [esi + 0x1108], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40193a
add esi, 4
push str.Could_not_start_the_setup
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x37
pop edi
jmp 0x4019b2
cmp dword [esi + 0x1108], ebx
je 0x401990
jmp 0x401979
cmp dword [ebp - 0x28], 0xf
je 0x401953
cmp dword [ebp - 0x28], 0x200
jne 0x401967
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push ebx
push ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jg 0x401944
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, edi
je 0x401967
add esi, 0x1428
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [esi]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403a8a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4093c8
cmp edx, dword [eax]
je 0x403aac
add eax, 8
inc ecx
cmp eax, 0x409458
jl 0x403a9d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4093c8]
jne 0x403bda
mov eax, dword [0x409c68]
cmp eax, 1
je 0x403bb4
test eax, eax
jne 0x403add
cmp dword [0x407214], 1
je 0x403bb4
cmp edx, 0xfc
je 0x403bda
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403b14
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404700
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004047f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403b57
lea eax, [ebp - 0x1a4]
push eax
call fcn.004047f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406488
push edi
call fcn.00404d70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404700
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404710
lea eax, [ebp - 0xa0]
push 0x406468
push eax
call fcn.00404710
push dword [esi + 0x4093cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404710
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00404ce2
add esp, 0x2c
pop edi
jmp 0x403bda
lea eax, [ebp + 8]
lea esi, [esi + 0x4093cc]
push 0
push eax
push dword [esi]
call fcn.004047f0
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 0x402d72
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00402df1
jae 0x402d7e
xor ecx, ecx
call fcn.00402df1
jae 0x402da8
xor eax, eax
call fcn.00402df1
jae 0x402db9
mov al, 0x10
call fcn.00402df1
adc al, al
jae 0x402d9a
jne 0x402de6
stosb byte es:[edi], al
jmp 0x402d7f
call fcn.00402dfd
dec ecx
loop 0x402dc5
mov eax, ebp
call fcn.00402dfb
jmp 0x402de7
lodsb al, byte [esi]
shr eax, 1
je 0x402e0d
adc ecx, 2
mov ebp, eax
jmp 0x402de7
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00402dfb
cmp eax, 0x7d00
jae 0x402de5
cmp eax, 0x500
jae 0x402de6
cmp eax, 0x7f
ja 0x402de7
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x402d7f
pop ebp
ret 8

Function at 0x49959a
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00499619
jae 0x4995a6
xor ecx, ecx
call fcn.00499619
jae 0x4995d0
xor eax, eax
call fcn.00499619
jae 0x4995e1
mov al, 0x10
call fcn.00499619
adc al, al
jae 0x4995c2
jne 0x49960e
stosb byte es:[edi], al
jmp 0x4995a7
call fcn.00499625
dec ecx
loop 0x4995ed
mov eax, ebp
call fcn.00499623
jmp 0x49960f
lodsb al, byte [esi]
shr eax, 1
je 0x499635
adc ecx, 2
mov ebp, eax
jmp 0x49960f
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00499623
cmp eax, 0x7d00
jae 0x49960d
cmp eax, 0x500
jae 0x49960e
cmp eax, 0x7f
ja 0x49960f
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4995a7
pop ebp
ret 8
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x221a54dd
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6f230be7
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4563db
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x414bf8]
push ebx
push esi
push 0xffffffffffffffd3
pop ecx
mov edx, eax
xor ebx, ebx
push ebx
movzx eax, ax
or dl, 0x25
sub cl, dl
shl dword [0x414be4], cl
push 0x222c199
push eax
mov byte [ebp - 2], 0
mov byte [ebp - 3], 0
call fcn.004561a2
sub byte [ebp - 1], al
movsx eax, byte [ebp - 1]
sub dword [0x414be4], eax
add esp, 0xc
mov eax, 0x1e3bd6a
mov ecx, 0x7e3bde
call fcn.0045633b
imul eax, eax, 0x72
xor dword [0x414be4], eax
mov al, byte [0x414be4]
mov byte [ebp - 1], al
mov word [edi + 0x100], bx
movzx eax, word [0x414c08]
push eax
call fcn.0045622f
or byte [ebp - 1], al
pop ecx
mov esi, edi
mov al, byte [0x414be4]
add al, 0x4f
xor byte [ebp - 1], al
push 0x4f6a
mov byte [esi], bl
call fcn.0045622f
inc ebx
mov eax, 0x100
inc esi
pop ecx
cmp bx, ax
jb 0x45645a
push 3
pop esi
mov eax, dword [0x414be4]
test eax, eax
jne 0x4564be
movzx ecx, byte [0x414c08]
sub cl, 0x67
shl eax, cl
movsx ecx, byte [0x414c10]
sub ecx, 0xc3
mov dword [0x414be4], eax
cmp ecx, eax
jle 0x4564be
cdq
cmp edx, dword [0x414bec]
ja 0x4564c9
jb 0x4564be
cmp eax, dword [0x414be8]
jae 0x4564c9
push 0x997f9d
call fcn.004563bb
pop ecx
dec esi
test si, si
jg 0x456480
mov ebx, edi
mov dword [ebp - 8], 0x100
mov eax, 0xb26273
mov ecx, 0x106ba3d
call fcn.0045633b
mov edx, dword [ebp + 8]
mov cl, 0x9c
imul cl
mov cl, al
movzx eax, byte [ebp - 2]
mov al, byte [eax + edx]
sar byte [ebp - 1], cl
mov cl, byte [ebx]
movsx esi, byte [ebp - 1]
sub dword [0x414be4], esi
add al, cl
add byte [ebp - 3], al
movzx eax, byte [ebp - 3]
mov dl, byte [eax + edi]
mov byte [ebx], dl
push 0x77e8
mov byte [eax + edi], cl
call fcn.0045622f
movsx eax, al
add eax, 0x2b
and esi, 0x7c
pop ecx
cmp eax, esi
jl 0x456541
mov eax, dword [0x414bf8]
push 0xffffffffffffffd5
or al, 0x25
pop ecx
sub cl, al
shl dword [0x414be4], cl
inc byte [ebp - 2]
movzx eax, byte [ebp - 2]
cmp ax, word [ebp + 0xc]
jne 0x456565
push dword [0x414bf0]
and dword [0x414be4], 0
mov byte [ebp - 2], 0
call fcn.00456298
pop ecx
mov eax, dword [0x414be8]
imul eax, dword [0x414be4]
inc ebx
dec dword [ebp - 8]
mov dword [0x414be4], eax
jne 0x4564d8
movsx ecx, byte [ebp - 1]
or eax, ecx
pop esi
mov dword [0x414be4], eax
pop ebx
leave
ret