joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], str._system32777.dll
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x4019af
cmp dword [ebp - 0x118], 0
je 0x4019af
jmp 0x401a13
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x401a13
mov dword [ebp - 0x11c], 0x15f
mov edx, dword [ebp + 8]
add edx, 8
mov dword [0x440934], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [0x440950], ecx
mov dword [ebp - 0x11c], 0x15f
mov dword [ebp - 0x11c], 0x15f
call fcn.004011b0
mov edx, dword [ebp + 8]
mov dword [0x44094c], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.00401300
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x4019af
mov esp, ebp
pop ebp
ret

Function at 0x401ab0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x440940], 0x24e1
mov eax, dword [0x440940]
sub eax, 0x24e1
mov dword [0x440940], eax
mov ecx, 1
test ecx, ecx
je 0x401b5b
mov edx, dword [0x440940]
cmp edx, dword [ebp + 0xc]
jb 0x401ae7
jmp 0x401b5b
cmp dword [0x440940], 0
jne 0x401b05
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401b05
xor eax, eax
jmp 0x401b5b
mov eax, dword [ebp + 8]
add eax, dword [0x440940]
mov ecx, dword [eax]
add ecx, dword [0x440940]
mov edx, dword [ebp + 8]
add edx, dword [0x440940]
mov dword [edx], ecx
mov dword [ebp - 4], 0xdaa90
mov eax, dword [0x440940]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x440940]
push eax
call fcn.004011c0
add esp, 8
mov ecx, dword [0x440940]
add ecx, 4
mov dword [0x440940], ecx
jmp 0x401acd
mov esp, ebp
pop ebp
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41ce78
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cea9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce91
add dl, dl
jne 0x41ceb4
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf05
xor eax, eax
add dl, dl
jne 0x41cec1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfa2
add dl, dl
jne 0x41ced0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cedb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cee6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cef1
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cefb
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cea0
mov eax, 1
add dl, dl
jne 0x41cf13
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf1e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf0a
sub eax, ebx
mov ebx, 1
jne 0x41cf51
mov ecx, 1
add dl, dl
jne 0x41cf37
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cf42
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf2e
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cea0
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cf68
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cf73
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf5f
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cea0
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cfc3
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cea0
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e6ac
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], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x58bb6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e75d
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e746
test esi, esi
jbe 0x41e75d
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41e738
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 0x41e75d
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e715
jmp 0x41e75d
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e75d
mov eax, ecx
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 0x58bb72
ret
Function at 0x41f044
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 dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x58c5f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41f07f
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41f098
lea eax, [ebp - 0x10]
mov edx, dword [0x5a730c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41f0ab
lea eax, [ebp - 0x10]
mov edx, dword [0x5a730c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41f0b7
adc edx, 0
mov edx, dword [edx*4 + 0x5a6154]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f1c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f1b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f1b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f1b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f1b8
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f1b8
cmp dx, 0x150
ja 0x41f1b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f1b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f1b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f1dd
inc ebx
cmp ebx, 0x19
jne 0x41f071
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58c5fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret

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

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
push dword [ebp + 8]
pop ebx
mov al, byte [ebx]
mov byte [ebp - 3], al
mov al, byte [ebx + 1]
mov byte [ebp - 4], al
mov edi, ebx
inc edi
inc edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0x10]
jecxz 0x4019ce
inc byte [ebp - 3]
movzx eax, byte [ebp - 3]
movzx edx, byte [eax + edi]
mov byte [ebp - 1], dl
add byte [ebp - 4], dl
movzx eax, byte [ebp - 4]
mov dl, byte [eax + edi]
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 3]
mov byte [eax + edi], dl
movzx eax, byte [ebp - 4]
mov dl, byte [ebp - 1]
mov byte [eax + edi], dl
mov dl, byte [ebp - 1]
add dl, byte [ebp - 2]
mov dl, byte [edx + edi]
mov eax, dword [ebp - 8]
xor byte [eax + esi], dl
inc dword [ebp - 8]
loop 0x40198e
mov al, byte [ebp - 3]
mov byte [ebx], al
mov al, byte [ebp - 4]
mov byte [ebx + 1], al
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x401d7f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov eax, dword [ebp + 8]
not eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
or ecx, ecx
je 0x401daa
mov edx, eax
shr edx, 8
xor al, byte [edi]
and eax, 0xff
mov eax, dword [eax*4 + 0x419c00]
xor eax, edx
inc edi
loop 0x401d92
not eax
pop edi
leave
ret 0xc

Function at 0x402e7e
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push eax
push ebx
push ecx
push edx
push edi
push esi
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x80]
lea edx, [eax*8]
mov ebx, eax
mov ecx, eax
shr eax, 6
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 8]
add edi, ecx
mov byte [edi], 0x80
and ebx, 0x3f
sub edi, ebx
cmp ebx, 0x38
jb 0x402ec4
add edi, ebx
mov eax, 0x40
sub eax, ebx
add edi, eax
inc dword [ebp - 0x14]
mov dword [edi + 0x38], edx
lea esi, [ebp - 0x10]
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
push dword [ebp - 0x14]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402f09
cld
mov ecx, 4
mov edi, dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
pop edx
pop ecx
pop ebx
pop eax
leave
ret 0xc
Function at 0x40351c
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push edi
push esi
push ebx
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
pop dword [ebp - 8]
mov dword [0x41a000], 0x67452301
mov dword [0x41a004], 0xefcdab89
mov dword [0x41a008], 0x98badcfe
mov dword [0x41a00c], 0x10325476
mov dword [0x41a010], 0xc3d2e1f0
jmp 0x403582
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
push 0x40
push 0x41a014
push eax
call fcn.004018bf
add dword [ebp - 4], 0x40
call fcn.0040364e
sub dword [ebp - 8], 0x40
jae 0x403566
mov ebx, dword [ebp - 8]
add ebx, 0x40
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
push ebx
push 0x41a014
push eax
call fcn.004018bf
add dword [ebp - 4], ebx
mov byte [ebx + 0x41a014], 0x80
sub ebx, 0x37
jbe 0x4035ca
sub ebx, 8
je 0x4035be
and byte [ebx + 0x41a054], 0
inc ebx
js 0x4035b4
call fcn.0040364e
mov ebx, 0xffffffc8
jmp 0x4035cc
je 0x4035d6
and byte [ebx + 0x41a04c], 0
inc ebx
js 0x4035cc
mov eax, dword [ebp + 0xc]
mov ecx, 8
xor edx, edx
mul ecx
bswap eax
bswap edx
mov dword [0x41a050], eax
mov dword [0x41a04c], edx
call fcn.0040364e
mov eax, dword [0x41a000]
mov edx, dword [0x41a004]
mov ecx, dword [0x41a008]
bswap eax
bswap edx
bswap ecx
mov dword [0x41a000], eax
mov dword [0x41a004], edx
mov dword [0x41a008], ecx
mov eax, dword [0x41a00c]
mov edx, dword [0x41a010]
bswap eax
bswap edx
mov dword [0x41a00c], eax
mov dword [0x41a010], edx
push 0x14
push dword [ebp + 0x10]
push 0x41a000
call fcn.004018bf
pop ebx
pop esi
pop edi
leave
ret 0xc
Function at 0x40364e
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov ecx, 0xfffffff8
mov eax, dword [ecx*8 + 0x41a054]
mov edx, dword [ecx*8 + 0x41a058]
bswap eax
bswap edx
mov dword [ecx*8 + 0x41a054], eax
mov dword [ecx*8 + 0x41a058], edx
inc ecx
jne 0x403659
mov ecx, 0xffffffc0
mov eax, dword [ecx*4 + 0x41a148]
mov edx, dword [ecx*4 + 0x41a134]
xor eax, dword [ecx*4 + 0x41a11c]
xor edx, dword [ecx*4 + 0x41a114]
xor eax, edx
rol eax, 1
mov dword [ecx*4 + 0x41a154], eax
inc ecx
jne 0x403681
mov ebx, dword [0x41a000]
mov esi, dword [0x41a004]
mov edi, dword [0x41a008]
push dword [0x41a00c]
pop dword [ebp - 4]
push dword [0x41a010]
pop dword [ebp - 8]
mov ecx, 0xffffffec
mov edx, esi
mov eax, edi
not edx
and eax, esi
and edx, dword [ebp - 4]
or eax, edx
add eax, dword [ecx*4 + 0x41a064]
add eax, dword [ebp - 8]
add eax, 0x5a827999
push dword [ebp - 4]
pop dword [ebp - 8]
mov dword [ebp - 4], edi
rol esi, 0x1e
mov edi, esi
mov esi, ebx
rol ebx, 5
add ebx, eax
inc ecx
jne 0x4036d4
mov ecx, 0xffffffec
mov eax, esi
mov edx, edi
xor eax, dword [ebp - 4]
xor eax, edx
add eax, dword [ecx*4 + 0x41a0b4]
add eax, dword [ebp - 8]
add eax, 0x6ed9eba1
push dword [ebp - 4]
pop dword [ebp - 8]
mov dword [ebp - 4], edi
rol esi, 0x1e
mov edi, esi
mov esi, ebx
rol ebx, 5
add ebx, eax
inc ecx
jne 0x40370d
mov ecx, 0xffffffec
mov eax, edi
mov edx, dword [ebp - 4]
or eax, dword [ebp - 4]
and edx, edi
and eax, esi
or eax, edx
add eax, dword [ecx*4 + 0x41a104]
add eax, dword [ebp - 8]
add eax, 0x8f1bbcdc
push dword [ebp - 4]
pop dword [ebp - 8]
mov dword [ebp - 4], edi
rol esi, 0x1e
mov edi, esi
mov esi, ebx
rol ebx, 5
add ebx, eax
inc ecx
jne 0x403742
mov ecx, 0xffffffec
mov eax, esi
mov edx, edi
xor eax, dword [ebp - 4]
xor eax, edx
add eax, dword [ecx*4 + 0x41a154]
add eax, dword [ebp - 8]
add eax, 0xca62c1d6
push dword [ebp - 4]
pop dword [ebp - 8]
mov dword [ebp - 4], edi
rol esi, 0x1e
mov edi, esi
mov esi, ebx
rol ebx, 5
add ebx, eax
inc ecx
jne 0x40377c
add dword [0x41a000], ebx
add dword [0x41a004], esi
add dword [0x41a008], edi
mov eax, dword [ebp - 4]
add dword [0x41a00c], eax
mov eax, dword [ebp - 8]
add dword [0x41a010], eax
leave
ret

Function at 0x4051d2
Capabilities:
Gather cuteftp information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 0xc]
call fcn.00401e6a
mov dword [ebp - 4], eax
and eax, eax
je 0x405277
push 0x415b81
push dword [ebp - 4]
call fcn.00401db1
push eax
push 0x415bd2
push eax
push dword [ebp + 8]
call fcn.0040509b
call fcn.00401871
push 0x415b96
push dword [ebp - 4]
call fcn.00401db1
push eax
push 0x415bd2
push eax
push dword [ebp + 8]
call fcn.0040509b
call fcn.00401871
push 0x415baf
push dword [ebp - 4]
call fcn.00401db1
push eax
push 0x415bd2
push eax
push dword [ebp + 8]
call fcn.0040509b
call fcn.00401871
push 0x415bc9
push dword [ebp - 4]
call fcn.00401db1
push eax
push 0x415bd2
push eax
push dword [ebp + 8]
call fcn.0040509b
call fcn.00401871
push dword [ebp - 4]
call fcn.00401871
leave
ret 8
Function at 0x405885
Capabilities:
Gather filezilla information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push 0xbeef0013
push 0x415d14
push 0x415d09
push 0x415d04
push 0x415cfa
push 0x415cf5
push 0x415cff
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405725
push 0xbeef0013
push 0x415d55
push 0x415d50
push 0x415d44
push 0x415d2c
push 0x415d20
push 0x415d38
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405725
push 0xbeef0014
push 0x415db5
push 0x415da4
push 0x415d93
push 0x415d71
push 0x415d60
push 0x415d82
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405725
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [0x4150e8]
call fcn.0041104e
and eax, eax
jne 0x4059a8
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00411054
and eax, eax
je 0x405960
jmp 0x4059a0
push 0x4150c4
push dword [ebp + 0xc]
call fcn.00401db1
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401e05
mov dword [ebp - 0x810], eax
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00405885
push dword [ebp - 0x810]
call fcn.00401871
inc dword [ebp - 8]
jmp 0x405935
push dword [ebp - 4]
call fcn.00411048
leave
ret 8
Function at 0x405e3b
Capabilities:
Gather ffftp information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7d8
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [0x4150e8]
call fcn.0041104e
and eax, eax
jne 0x406036
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00411054
and eax, eax
je 0x405e93
jmp 0x40602e
push 0x4150c4
push dword [ebp + 0xc]
call fcn.00401db1
push eax
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401db1
mov dword [ebp - 0x810], eax
call fcn.00401871
push 0
push 0x415fbb
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x81c], eax
push 0
push 0x415fcd
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x814], eax
push 0
push 0x415fc4
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x818], eax
push 0
push 0x415fd6
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x820], eax
lea eax, [ebp - 0x828]
push eax
push 0x415fe0
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
and eax, eax
je 0x405f6d
cmp dword [ebp - 0x828], 4
jne 0x405f6d
push dword [eax]
pop dword [ebp - 0x824]
push eax
call fcn.00401871
jmp 0x405f81
and eax, eax
je 0x405f77
push eax
call fcn.00401871
mov dword [ebp - 0x824], 0x15
cmp dword [ebp - 0x81c], 0
je 0x405fef
cmp dword [ebp - 0x814], 0
je 0x405fef
cmp dword [ebp - 0x818], 0
je 0x405fef
push 0xbeef0000
push dword [ebp + 8]
call fcn.00401522
push dword [ebp - 0x814]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x818]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x81c]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x820]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x824]
push dword [ebp + 8]
call fcn.00401522
push dword [ebp - 0x81c]
call fcn.00401871
push dword [ebp - 0x814]
call fcn.00401871
push dword [ebp - 0x818]
call fcn.00401871
push dword [ebp - 0x820]
call fcn.00401871
push dword [ebp - 0x810]
call fcn.00401871
inc dword [ebp - 8]
jmp 0x405e65
push dword [ebp - 4]
call fcn.00411048
leave
ret 8
Function at 0x4060d3
Capabilities:
Gather direct-ftp information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7dc
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [0x4150e8]
call fcn.0041104e
and eax, eax
jne 0x4062b7
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00411054
and eax, eax
je 0x40612b
jmp 0x4062af
push 0x4150c4
push dword [ebp + 0xc]
call fcn.00401db1
push eax
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401db1
mov dword [ebp - 0x810], eax
call fcn.00401871
push 0
push 0x415ffc
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x81c], eax
push 0
push 0x415fe5
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x814], eax
push 0
push 0x415fee
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x820], eax
push 0
push 0x415ff3
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x818], eax
push 0
push 0x416005
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x81c], 0
je 0x406257
cmp dword [ebp - 0x814], 0
je 0x406257
cmp dword [ebp - 0x818], 0
je 0x406257
push 0xbeef0000
push dword [ebp + 8]
call fcn.00401522
push dword [ebp - 0x814]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x818]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x81c]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x820]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x824]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x81c]
call fcn.00401871
push dword [ebp - 0x814]
call fcn.00401871
push dword [ebp - 0x818]
call fcn.00401871
push dword [ebp - 0x820]
call fcn.00401871
push dword [ebp - 0x824]
call fcn.00401871
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.004060d3
push dword [ebp - 0x810]
call fcn.00401871
inc dword [ebp - 8]
jmp 0x4060fd
push dword [ebp - 4]
call fcn.00411048
leave
ret 8
Function at 0x4062ec
Capabilities:
Gather coreftp information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7d0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [0x4150e8]
call fcn.0041104e
and eax, eax
jne 0x406549
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00411054
and eax, eax
je 0x406344
jmp 0x406541
push 0x4150c4
push dword [ebp + 0xc]
call fcn.00401db1
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401e05
mov dword [ebp - 0x810], eax
push 0
push 0x41606d
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x81c], eax
push 0
push 0x41605e
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x814], eax
push 0
push 0x416063
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x818], eax
push 0
push 0x416070
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x820], eax
lea eax, [ebp - 0x82c]
push eax
push 0x416068
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
and eax, eax
je 0x406418
cmp dword [ebp - 0x82c], 4
jne 0x406418
push dword [eax]
pop dword [ebp - 0x824]
push eax
call fcn.00401871
jmp 0x40642c
and eax, eax
je 0x406422
push eax
call fcn.00401871
mov dword [ebp - 0x824], 0x15
lea eax, [ebp - 0x830]
push eax
push 0x416075
push dword [ebp - 0x810]
push dword [0x4150e8]
call fcn.00401d2a
mov dword [ebp - 0x828], eax
cmp dword [ebp - 0x81c], 0
je 0x4064f7
cmp dword [ebp - 0x814], 0
je 0x4064f7
cmp dword [ebp - 0x818], 0
je 0x4064f7
push 0xbeef0010
push dword [ebp + 8]
call fcn.00401522
push dword [ebp - 0x814]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x818]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x81c]
push dword [ebp + 8]
call fcn.00401584
push dword [ebp - 0x824]
push dword [ebp + 8]
call fcn.00401522
push dword [ebp - 0x820]
push dword [ebp + 8]
call fcn.00401584
cmp dword [ebp - 0x828], 0
je 0x4064ed
cmp dword [ebp - 0x830], 4
jne 0x4064ed
mov eax, dword [ebp - 0x828]
push dword [eax]
push dword [ebp + 8]
call fcn.00401522
jmp 0x4064f7
push 0
push dword [ebp + 8]
call fcn.00401522
push dword [ebp - 0x81c]
call fcn.00401871
push dword [ebp - 0x814]
call fcn.00401871
push dword [ebp - 0x818]
call fcn.00401871
push dword [ebp - 0x820]
call fcn.00401871
push dword [ebp - 0x828]
call fcn.00401871
push dword [ebp - 0x810]
call fcn.00401871
inc dword [ebp - 8]
jmp 0x406316
push dword [ebp - 4]
call fcn.00411048
leave
ret 8