joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004ad80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b7278
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x1004adb9
inc eax
mov dword [esi + 0x10], eax
jmp 0x1004aecc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x1004adcd
mov eax, 0xffffffc7
jmp 0x1004aece
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1004adde
cmp dword [esi + 8], eax
jne 0x1004adcd
cmp dword [esi + 8], eax
jne 0x1004adf7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x1004adf7
mov eax, 0xffffffc7
jmp 0x1004aece
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1004ae0b
push eax
mov ecx, ebx
call fcn.1004a5b0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.100197b0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x1004ae3c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.100197d0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.10049d20
test eax, eax
mov dword [esp + 0x38], eax
je 0x1004ae6f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1049e410
call fcn.100199b0
mov eax, dword [esp + 0x38]
jmp 0x1004aece
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.1004abe0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x1004aeb3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.1004ac00
mov esi, eax
test esi, esi
jne 0x1004aee3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.1004abe0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x1004ae85
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1049e410
call fcn.100199b0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1049e410
call fcn.100199b0
mov eax, esi
jmp 0x1004aece
Function at 0x1005ac10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100b7bd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x100ba618]
push 0
lea ecx, [esp + 0x20]
call fcn.100afbf1
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.1005a570
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100afb1f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.100ac3c3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.100ac3c3
push 1
push 0
push 0
mov ecx, esi
call fcn.100ac36b
push 1
push 0
push 1
mov ecx, esi
call fcn.100ac36b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100afc63
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x1005ad90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100b7bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.100afbf1
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.1005a570
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.100afb1f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x100ba618]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x1005ae54
cmp dword [esp + 0x40], 1
jne 0x1005ae52
cmp ecx, eax
jge 0x1005ae54
mov eax, ecx
cmp eax, 0xc8
jge 0x1005ae60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.1005ac10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x100ba430]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100afc63
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x1005b650
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100b7ca3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100aa7e4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x100ba108]
push eax
mov ecx, edi
call fcn.100afe99
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100b13b5
test eax, eax
je 0x1005b76c
mov ecx, dword [esp + 0x3c]
call fcn.100afec6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x100ba638]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1005b730
push edi
mov ecx, esi
call fcn.100ad50e
mov ecx, esi
call fcn.1005b910
cmp dword [esp + 0x38], 1
jne 0x1005b765
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.100ad649
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x1005d960
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1005d993
push esi
call fcn.1006bbd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1005d98c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1005da19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1005da02
mov eax, dword [esi + 8]
test eax, eax
je 0x1005d9b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1005d9fe
cmp eax, 2
je 0x1005da02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005d9aa
cmp eax, 3
je 0x1005d9dd
cmp eax, 1
jne 0x1005d9aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1005d9aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1005d9aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1005da40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1005da28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1005da40
add esp, 4
pop esi
ret
Function at 0x1007c3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b8410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.1007bfa0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.1007c020
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.1007c020
lea ecx, [esi + 0xc]
call fcn.100a9193
lea ecx, [esi + 0x10]
call fcn.100a9193
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.1007d5b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.1007d5b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.1007d5b0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.100a9208
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100a9208
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10082810
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10505a58]
xor edx, edx
cmp eax, edx
jne 0x10082836
xor eax, eax
mov byte [eax + 0x10505958], al
inc eax
cmp eax, 0x100
jl 0x1008281e
mov dword [0x10505a58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10505958
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100828c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1008289a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10082868
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x100828d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10082923
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1008290a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100892a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b882e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.10089bc0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x104a331c
call fcn.100a8f49
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x10089333
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100a8f49
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x1008932c
push 0
mov ecx, eax
call fcn.10080440
mov dword [esi + 0xc], eax
jmp 0x10089335
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x10089335
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push esi
xor eax, eax
mov cl, 1
mov esi, 0x100
movzx edx, cl
mov byte [ebp + edx - 0x108], al
mov dl, cl
and dl, 0x80
mov byte [ebp + eax - 0x208], cl
inc eax
neg dl
sbb dl, dl
mov bl, cl
and dl, 0x1b
add bl, bl
xor dl, bl
xor cl, dl
cmp eax, esi
jl 0x401015
mov cl, 1
mov eax, 0x40a0b8
movzx edx, cl
shl edx, 0x18
mov dword [eax], edx
mov dl, cl
and dl, 0x80
add eax, 4
neg dl
sbb dl, dl
and dl, 0x1b
add cl, cl
xor cl, dl
cmp eax, 0x40a0e0
jl 0x401046
and dword [0x40c66c], 0
push 0x63
pop ebx
xor ecx, ecx
mov dword [0x4094b8], ebx
inc ecx
movzx eax, byte [ebp + ecx - 0x108]
lea edx, [ebp - 0x109]
sub edx, eax
mov dl, byte [edx]
mov al, dl
rol al, 1
xor dl, al
rol al, 1
xor dl, al
rol al, 1
xor dl, al
rol al, 1
xor al, dl
xor al, bl
movzx eax, al
mov dword [ecx*4 + 0x4094b8], eax
mov dword [eax*4 + 0x40c4e0], ecx
inc ecx
cmp ecx, esi
jl 0x40107b
xor ecx, ecx
mov edi, 0xff
mov dl, byte [ecx + 0x4094b8]
mov al, dl
and al, 0x80
neg al
sbb al, al
and al, 0x1b
mov bl, dl
add bl, bl
xor al, bl
movzx esi, al
mov bl, byte [ecx + 0x40c4e0]
movzx edx, dl
mov eax, esi
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, esi
xor eax, edx
mov dword [ecx + 0x40c0e0], eax
ror eax, 8
mov dword [ecx + 0x40bce0], eax
ror eax, 8
mov dword [ecx + 0x40b8e0], eax
ror eax, 8
mov dword [ecx + 0x40b4e0], eax
test bl, bl
je 0x40113e
movzx edx, byte [ebp - 0xfd]
movzx eax, bl
movzx eax, byte [ebp + eax - 0x108]
add eax, edx
cdq
mov esi, edi
idiv esi
movzx eax, byte [ebp + edx - 0x208]
mov dword [ebp - 4], eax
jmp 0x401142
and dword [ebp - 4], 0
test bl, bl
je 0x40116c
movzx edx, byte [ebp - 0xfb]
movzx eax, bl
movzx eax, byte [ebp + eax - 0x108]
add eax, edx
cdq
mov esi, edi
idiv esi
movzx eax, byte [ebp + edx - 0x208]
mov dword [ebp - 8], eax
jmp 0x401170
and dword [ebp - 8], 0
test bl, bl
je 0x401197
movzx edx, byte [ebp - 0xff]
movzx eax, bl
movzx eax, byte [ebp + eax - 0x108]
add eax, edx
cdq
mov esi, edi
idiv esi
movzx esi, byte [ebp + edx - 0x208]
jmp 0x401199
xor esi, esi
test bl, bl
je 0x4011c0
movzx edx, byte [ebp - 0xfa]
movzx eax, bl
movzx eax, byte [ebp + eax - 0x108]
add eax, edx
cdq
mov ebx, edi
idiv ebx
movzx eax, byte [ebp + edx - 0x208]
jmp 0x4011c2
xor eax, eax
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, dword [ebp - 8]
add ecx, 4
shl eax, 8
xor eax, dword [ebp - 4]
mov dword [ecx + 0x40b0dc], eax
ror eax, 8
mov dword [ecx + 0x40acdc], eax
ror eax, 8
mov dword [ecx + 0x409cb4], eax
ror eax, 8
cmp ecx, 0x400
mov dword [ecx + 0x4098b4], eax
jl 0x4010be
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402c77
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
je 0x402c98
jbe 0x402c98
push esi
movsx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + section..data]
inc ecx
dec edx
jne 0x402c7e
pop esi
ret

Function at 0x402c99
Capabilities:
Gather direct-ftp information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x604
push ebx
push esi
push edi
mov esi, str.SoftwareCoffeeCup_SoftwareInternetProfiles_
push esi
push 0x80000001
call fcn.004030d4
push esi
mov ebx, 0x80000003
push ebx
call fcn.004030d4
push esi
lea edi, [ebx - 1]
push edi
call fcn.004030d4
add esp, 0x18
lea eax, [esp + 0x210]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [0x40809c]
test eax, eax
jl 0x402d18
lea eax, [esp + 0x210]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402603
lea eax, [esp + 0x18]
push str.TransSoft_LtdFTP_Control_4Profiles_
push eax
call fcn.0040248f
lea eax, [esp + 0x20]
push eax
call fcn.00403329
add esp, 0x14
mov esi, str.SoftwareFTPWareCOREFTP
push esi
push 0x80000001
call fcn.004037ec
push esi
push ebx
call fcn.004037ec
push esi
push edi
call fcn.004037ec
call fcn.004039f5
mov esi, str.SOFTWAREFarPluginsFTPHosts
push esi
push 0x80000001
call fcn.004043a5
push esi
push ebx
call fcn.004043a5
push esi
push edi
call fcn.004043a5
add esp, 0x30
call fcn.004045dc
call fcn.004049b0
call fcn.004062af
call fcn.004050f7
lea eax, [esp + 0x210]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [0x40809c]
test eax, eax
jl 0x402dab
lea eax, [esp + 0x210]
push str.FTP_Navigator_ftplist.txt
push eax
call fcn.0040248f
lea eax, [esp + 0x218]
push eax
call fcn.00404e96
add esp, 0xc
call fcn.004056de
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40361d
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
push edi
push esi
mov ebx, 0x2396
mov dword [ebp - 8], esi
call dword [0x408090]
mov edi, eax
sar edi, 1
mov byte [ebp - 2], 0
je 0x40367d
mov al, byte [esi]
mov byte [ebp - 4], al
mov al, byte [esi + 1]
mov byte [ebp - 3], al
lea eax, [ebp - 4]
push eax
dec edi
call fcn.0040284d
mov edx, dword [ebp - 8]
pop ecx
mov ecx, ebx
shr ecx, 8
xor cl, al
inc dword [ebp - 8]
add eax, ebx
imul eax, eax, 0x3193
mov byte [edx], cl
mov ecx, 0x58bf
sub ecx, eax
inc esi
inc esi
movzx ebx, cx
test edi, edi
jne 0x403640
mov eax, dword [ebp - 8]
pop edi
pop esi
mov byte [eax], 0
mov al, 1
pop ebx
leave
ret

Function at 0x403ae9
Capabilities:
Encode data using xor

Disassembly:
push esi
call fcn.00402ac9
mov eax, dword [esi + 4]
pop ecx
xor ecx, ecx
dec eax
je 0x403b08
mov eax, dword [esi]
add eax, ecx
xor byte [eax], 0xc8
mov eax, dword [esi + 4]
inc ecx
dec eax
cmp ecx, eax
jb 0x403af8
ret
Function at 0x40569a
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
imul eax, eax, 0x8088405
inc eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mul ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0
push 0x20
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00405618
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x10001010
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x1a4
lea eax, [esp + 0x14]
push esi
push eax
push 2
mov dword [esp + 0xc], 0x1388
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000104e
push str.Linking_WS2_32.DLL_Error_
push str._s__n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
or eax, 0xffffffff
pop esi
add esp, 0x1a4
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [esp + 4]
push 4
push ecx
mov esi, eax
push 0x1006
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x100010a6
push str.Set_TimeOut_Failed_
push str._s__n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xfffffffd
pop esi
add esp, 0x1a4
ret
mov eax, dword [esp + 0x1b0]
test eax, eax
jl 0x100011bf
cmp eax, 0xffff
jg 0x100011bf
push eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esp + 0x1ac]
mov word [esp + 0xa], ax
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0x2742
jne 0x1000111a
push str.The_network_subsystem_has_failed.
push str._s_d__n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
mov eax, 0xfffffffc
pop esi
add esp, 0x1a4
ret
cmp eax, 0x2741
jne 0x10001141
push str.The_remote_address_is_not_a_valid_address
push str._s_d__n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
mov eax, 0xfffffffb
pop esi
add esp, 0x1a4
ret
cmp eax, 0x274c
jne 0x10001168
push str.Attempt_to_connect_timed_out_without_establishing_a_connection.
push str._s_d__n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
mov eax, 0xfffffffa
pop esi
add esp, 0x1a4
ret
cmp eax, 0xffffffff
jne 0x100011a2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Connect_to_Server_Failture_The_ErrorCode_is:
push str._s_d__n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0xc
push 0
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xfffffff9
pop esi
add esp, 0x1a4
ret
push str.Connect_Successful_
push str._s__n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
mov eax, esi
pop esi
add esp, 0x1a4
ret
push str.please_define_port_between_0
push 0x100036d4
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xfffffffc
pop esi
add esp, 0x1a4
ret