Function at 0x44f620
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 0x527068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xc8
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc0], edx
push eax
push 0x80
push 3
push eax
push 1
push connect
push ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44fe9f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x60], eax
call fcn.004fb0ff
push dword [ebp - 0x60]
mov edi, eax
push 0
push edi
mov dword [ebp - 0x20], edi
call fcn.004fd0d0
add esp, 0x10
mov dword [ebp - 0xb4], 0
lea eax, [ebp - 0xb4]
push 0
push eax
push dword [ebp - 0x60]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x44f6ee
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004fb130
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]
setne al
mov byte [ebp - 0x19], 0
mov byte [edx], al
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x60], eax
jbe 0x44fe64
mov cl, byte [eax + edi]
cmp cl, 0x20
jbe 0x44fd80
cmp cl, 0x7f
jae 0x44fd80
cmp cl, 0x3d
je 0x44fd80
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov byte [ebp - 0xb8], cl
cmp edx, esi
jae 0x44f779
lea eax, [edx + 1]
cmp esi, 0x10
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x44f796
push dword [ebp - 0xb8]
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0xbc]
push 1
call fcn.00402c60
xorps xmm0, xmm0
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0xc8], edi
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc4], esi
mov byte [ebp - 0xd8], 0
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x548210]
xor eax, eax
mov byte [ebp - 0x95], 0xc6
xor edx, edx
movups xmmword [ebp - 0x94], xmm0
nop dword [eax]
sub cl, 0x79
lea eax, [ebp + eax - 0x95]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 7
jb 0x44f7e0
mov dword [0x55d560], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x95]
mov byte [ebp - 0x8e], 0
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0xa0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x9c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f830
sub ecx, edx
lea eax, [ebp - 0x95]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.00402b80
mov eax, dword [ebp - 0x18]
or eax, 0x10
or eax, 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x9c], 0x10
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x18], eax
setae byte [ebp - 0x1a]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xb0]
cmovae eax, ecx
mov dword [ebp - 0x64], ecx
mov edx, eax
mov dword [ebp - 0x24], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x44f884
sub edx, ecx
cmp dword [ebp - 0x48], 0x10
push edx
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push 0
call fcn.004886c0
add esp, 0xc
test eax, eax
je 0x44f982
movaps xmm0, xmmword [0x547910]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x39], 0xb9d9c7d7
mov byte [ebp - 0x35], 0xca
xor edx, edx
movups xmmword [ebp - 0x34], xmm0
nop dword [eax]
sub cl, 0x79
lea eax, [ebp + eax - 0x39]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 0xb
jb 0x44f8d0
mov dword [0x55d530], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x39]
mov byte [ebp - 0x2e], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f910
sub ecx, edx
lea eax, [ebp - 0x39]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00402b80
or dword [ebp - 0x18], 0x22
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x84]
cmovae ecx, eax
mov dword [ebp - 0x44], eax
mov edx, ecx
mov dword [ebp - 0x24], ecx
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x44f950
sub edx, ecx
cmp dword [ebp - 0x48], 0x10
push edx
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push 0
call fcn.004886c0
mov edx, dword [ebp - 0x44]
add esp, 0xc
test eax, eax
je 0x44f988
mov byte [ebp - 0x11], 0
jmp 0x44f98c
mov edx, dword [ebp - 0x84]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 2
je 0x44f9cd
mov ecx, dword [ebp - 0x70]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x44f9cd
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44f9c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44feb2
push ecx
push edx
call fcn.004fb0f1
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 1
test al, 1
je 0x44fa16
and eax, 0xfffffffe
cmp byte [ebp - 0x1a], 0
mov dword [ebp - 0x18], eax
je 0x44fa16
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fa0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44feb2
push ecx
push edx
call fcn.004fb0f1
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x44fab3
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x40]
cmp byte [eax], 0
lea esi, [ecx + 9]
jne 0x44fa31
lea esi, [ecx + 2]
mov eax, dword [ebp - 0x20]
cmp byte [esi + eax], 0x20
jbe 0x44faa1
nop word [eax + eax]
mov cl, byte [esi + eax]
cmp cl, 0x7f
jae 0x44faa1
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 0x68], cl
cmp edi, edx
jae 0x44fa78
lea eax, [edi + 1]
cmp edx, 0x10
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
mov byte [eax + edi], cl
mov byte [eax + edi + 1], 0
jmp 0x44fa8f
push dword [ebp - 0x68]
mov byte [ebp - 0x6c], 0
lea ecx, [ebp - 0xd8]
push dword [ebp - 0x6c]
push 1
call fcn.00402c60
mov eax, dword [ebp - 0x20]
inc esi
cmp byte [esi + eax], 0x20
jbe 0x44faa1
mov edi, dword [ebp - 0xc8]
jmp 0x44fa40
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0xc4]
mov byte [ebp - 0x19], 1
jmp 0x44fd2e
cmp byte [ebp - 0x19], 0
je 0x44fc88
movaps xmm0, xmmword [0x547c40]
xor ecx, ecx
xor eax, eax
mov word [ebp - 0x96], 0xe9d7
movups xmmword [ebp - 0x94], xmm0
xor edx, edx
nop word [eax + eax]
sub cl, 0x79
lea eax, [ebp + eax - 0x96]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 8
jb 0x44fae0
mov dword [0x55d624], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x96]
mov byte [ebp - 0x8e], 0
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0xa0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x9c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44fb30
sub ecx, edx
lea eax, [ebp - 0x96]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.00402b80
mov eax, dword [ebp - 0x18]
or eax, 0x40
mov byte [ebp - 4], 3
lea edi, [ebp - 0xb0]
or eax, 4
cmp dword [ebp - 0x9c], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xb0]
cmovae edi, eax
mov edx, edi
mov dword [ebp - 0x24], eax
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x44fb80
sub edx, ecx
cmp dword [ebp - 0x48], 0x10
push edx
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push edi
push 0
call fcn.004886c0
add esp, 0xc
test eax, eax
je 0x44fc7f
movaps xmm0, xmmword [0x548140]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x3a], 0xb9d9c7d7
mov word [ebp - 0x36], 0xeddb
xor edx, edx
movups xmmword [ebp - 0x34], xmm0
nop dword [eax]
sub cl, 0x79
lea eax, [ebp + eax - 0x3a]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 0xc
jb 0x44fbd0
mov dword [0x55d528], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x3a]
mov byte [ebp - 0x2e], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44fc10
sub ecx, edx
lea eax, [ebp - 0x3a]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00402b80
or dword [ebp - 0x18], 0x88
lea eax, [ebp - 0x84]
mov edi, dword [ebp - 0x70]
cmp edi, 0x10
cmovae eax, dword [ebp - 0x84]
mov edx, eax
mov dword [ebp - 0x64], eax
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x44fc50
sub edx, ecx
cmp dword [ebp - 0x48], 0x10
push edx
push dword [ebp - 0x64]
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push 0
call fcn.004886c0
add esp, 0xc
test eax, eax
jne 0x44fc94
mov byte [ebp - 0x11], 1
jmp 0x44fc98
mov edi, dword [ebp - 0x70]
mov byte [ebp - 0x11], 1
jmp 0x44fc98
mov eax, dword [ebp - 0xb0]
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x18]
test al, 8
je 0x44fcde
and eax, 0xfffffff7
mov dword [ebp - 0x18], eax
cmp edi, 0x10
jb 0x44fcde
mov edx, dword [ebp - 0x84]
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x44fcd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44feb2
push ecx
push edx
call fcn.004fb0f1
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 1
test al, 4
je 0x44fd28
and eax, 0xfffffffb
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x9c]
cmp eax, 0x10
jb 0x44fd28
mov edx, dword [ebp - 0x24]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x44fd1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44feb2
push ecx
push edx
call fcn.004fb0f1
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x44fd97
mov byte [ebp - 4], 0
cmp esi, 0x10
jb 0x44fd68
mov edx, dword [ebp - 0xd8]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x44fd5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44feb2
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x60]
jb 0x44f731
jmp 0x44fe64
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
cmovae eax, dword [ebp - 0x5c]
mov byte [eax], 0
jmp 0x44fd6b
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x40]
cmp byte [edx], 0
lea eax, [ecx + 9]
jne 0x44fda8
lea eax, [ecx + 2]
xorps xmm0, xmm0
xor esi, esi
mov edx, 0xf
mov dword [ebp - 0x2c], esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], edx
mov byte [ebp - 0x3c], 0
mov edi, dword [ebp - 0x20]
add edi, eax
mov byte [ebp - 4], 4
mov cl, byte [edi]
cmp cl, 0x20
jbe 0x44fe19
cmp cl, 0x7f
jae 0x44fe19
mov byte [ebp - 0x6c], cl
cmp esi, edx
jae 0x44fdf6
lea eax, [esi + 1]
cmp edx, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov byte [eax + esi], cl
mov byte [eax + esi + 1], 0
jmp 0x44fe0a
push dword [ebp - 0x6c]
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x68]
push 1
call fcn.00402c60
mov cl, byte [edi + 1]
inc edi
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
cmp cl, 0x20
ja 0x44fdd0
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0x3c]
cmp ecx, eax
je 0x44fe37
cmp edx, 0x10
push esi
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.00482bf0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x44fe64
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44fe5a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44feb2
push edx
push ecx
call fcn.004fb0f1
add esp, 8
push dword [ebp - 0x20]
call fcn.004fb130
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 0x10
jb 0x44fe9f
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44fe95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44feb2
push ecx
push edx
call fcn.004fb0f1
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.00500390
int3