Function at 0x44d450
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 0x5239d8
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 - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44dcaf
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x60], eax
call fcn.004f7c1f
push dword [ebp - 0x60]
mov edi, eax
push 0
push edi
mov dword [ebp - 0x20], edi
call fcn.004f9bf0
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 0x44d51e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004f7c50
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 - 0x28], eax
cmp dword [ebp - 0x60], eax
jbe 0x44dc74
mov cl, byte [eax + edi]
cmp cl, 0x20
jbe 0x44db90
cmp cl, 0x7f
jae 0x44db90
cmp cl, 0x3d
je 0x44db90
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov byte [ebp - 0xb8], cl
cmp edx, esi
jae 0x44d5a9
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 0x44d5c6
push dword [ebp - 0xb8]
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0xbc]
push 1
call fcn.00402c00
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 [0x543410]
xor eax, eax
movups xmmword [ebp - 0xac], xmm0
xor edx, edx
sub cl, 0x15
lea eax, [ebp + eax - 0xac]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 7
jb 0x44d602
mov dword [0x558510], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xa5], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x88], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44d650
sub ecx, edx
lea eax, [ebp - 0xac]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00402b20
mov eax, dword [ebp - 0x18]
or eax, 0x10
or eax, 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x88], 0x10
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x18], eax
setae byte [ebp - 0x1a]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x9c]
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 0x44d6a4
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.004851f0
add esp, 0xc
test eax, eax
je 0x44d7a2
movaps xmm0, xmmword [0x543260]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x40], 0xddbda3bb
movups xmmword [ebp - 0x3c], xmm0
xor edx, edx
nop dword [eax]
sub cl, 0x15
lea eax, [ebp + eax - 0x40]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 0xb
jb 0x44d6f0
mov dword [0x5584e0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x35], 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 0x44d730
sub ecx, edx
lea eax, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00402b20
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 - 0x2c], 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 0x44d770
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.004851f0
mov edx, dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
je 0x44d7a8
mov byte [ebp - 0x11], 0
jmp 0x44d7ac
mov edx, dword [ebp - 0x84]
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
test al, 2
je 0x44d7ed
mov ecx, dword [ebp - 0x70]
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
cmp ecx, 0x10
jb 0x44d7ed
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44d7e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dcc2
push ecx
push edx
call fcn.004f7c11
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 1
test al, 1
je 0x44d836
and eax, 0xfffffffe
cmp byte [ebp - 0x1a], 0
mov dword [ebp - 0x18], eax
je 0x44d836
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44d82c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dcc2
push ecx
push edx
call fcn.004f7c11
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x44d8d3
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x28]
cmp byte [eax], 0
lea esi, [ecx + 9]
jne 0x44d851
lea esi, [ecx + 2]
mov eax, dword [ebp - 0x20]
cmp byte [esi + eax], 0x20
jbe 0x44d8c1
nop word [eax + eax]
mov cl, byte [esi + eax]
cmp cl, 0x7f
jae 0x44d8c1
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 0x68], cl
cmp edi, edx
jae 0x44d898
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 0x44d8af
push dword [ebp - 0x68]
mov byte [ebp - 0x6c], 0
lea ecx, [ebp - 0xd8]
push dword [ebp - 0x6c]
push 1
call fcn.00402c00
mov eax, dword [ebp - 0x20]
inc esi
cmp byte [esi + eax], 0x20
jbe 0x44d8c1
mov edi, dword [ebp - 0xc8]
jmp 0x44d860
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0xc4]
mov byte [ebp - 0x19], 1
jmp 0x44db3e
cmp byte [ebp - 0x19], 0
je 0x44da98
movaps xmm0, xmmword [0x543a10]
xor ecx, ecx
xor eax, eax
mov byte [ebp - 0xad], 0xbb
movups xmmword [ebp - 0xac], xmm0
xor edx, edx
nop dword [eax + eax]
sub cl, 0x15
lea eax, [ebp + eax - 0xad]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 8
jb 0x44d900
mov dword [0x5585d4], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xad]
mov byte [ebp - 0xa5], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x88], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44d950
sub ecx, edx
lea eax, [ebp - 0xad]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00402b20
mov eax, dword [ebp - 0x18]
or eax, 0x40
mov byte [ebp - 4], 3
lea edi, [ebp - 0x9c]
or eax, 4
cmp dword [ebp - 0x88], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x9c]
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 0x44d9a0
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.004851f0
add esp, 0xc
test eax, eax
je 0x44da8f
movaps xmm0, xmmword [0x5438b0]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x41], 0xddbda3bb
mov byte [ebp - 0x3d], 0xbf
xor edx, edx
movups xmmword [ebp - 0x3c], xmm0
sub cl, 0x15
lea eax, [ebp + eax - 0x41]
xor byte [eax], cl
lea ecx, [edx + 1]
mov eax, ecx
mov edx, ecx
cmp ecx, 0xc
jb 0x44d9e7
mov dword [0x5584d8], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x41]
mov byte [ebp - 0x35], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44da24
sub ecx, edx
lea eax, [ebp - 0x41]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00402b20
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
mov al, byte [edx]
inc edx
test al, al
jne 0x44da60
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.004851f0
add esp, 0xc
test eax, eax
jne 0x44daa4
mov byte [ebp - 0x11], 1
jmp 0x44daa8
mov edi, dword [ebp - 0x70]
mov byte [ebp - 0x11], 1
jmp 0x44daa8
mov eax, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x18]
test al, 8
je 0x44daee
and eax, 0xfffffff7
mov dword [ebp - 0x18], eax
cmp edi, 0x10
jb 0x44daee
mov edx, dword [ebp - 0x84]
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x44dae1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dcc2
push ecx
push edx
call fcn.004f7c11
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 4], 1
test al, 4
je 0x44db38
and eax, 0xfffffffb
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x44db38
mov edx, dword [ebp - 0x24]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x44db2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dcc2
push ecx
push edx
call fcn.004f7c11
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x44dba7
mov byte [ebp - 4], 0
cmp esi, 0x10
jb 0x44db78
mov edx, dword [ebp - 0xd8]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x44db6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dcc2
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x60]
jb 0x44d561
jmp 0x44dc74
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
cmovae eax, dword [ebp - 0x5c]
mov byte [eax], 0
jmp 0x44db7b
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x28]
cmp byte [edx], 0
lea eax, [ecx + 9]
jne 0x44dbb8
lea eax, [ecx + 2]
xorps xmm0, xmm0
xor esi, esi
mov edx, 0xf
mov dword [ebp - 0x34], esi
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x44], 0
mov edi, dword [ebp - 0x20]
add edi, eax
mov byte [ebp - 4], 4
mov cl, byte [edi]
cmp cl, 0x20
jbe 0x44dc29
cmp cl, 0x7f
jae 0x44dc29
mov byte [ebp - 0x6c], cl
cmp esi, edx
jae 0x44dc06
lea eax, [esi + 1]
cmp edx, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
mov byte [eax + esi], cl
mov byte [eax + esi + 1], 0
jmp 0x44dc1a
push dword [ebp - 0x6c]
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x68]
push 1
call fcn.00402c00
mov cl, byte [edi + 1]
inc edi
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
cmp cl, 0x20
ja 0x44dbe0
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x44dc47
cmp edx, 0x10
push esi
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0047f6a0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x44dc74
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44dc6a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dcc2
push edx
push ecx
call fcn.004f7c11
add esp, 8
push dword [ebp - 0x20]
call fcn.004f7c50
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 0x10
jb 0x44dcaf
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44dca5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dcc2
push ecx
push edx
call fcn.004f7c11
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.004fceb0
int3