Function at 0x451480
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cb83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push esi
push 0
push 0x80
push 3
push 0
push 1
push connect
push ecx
mov dword [ebp - 0xa8], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x451aac
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x64], eax
call fcn.004e62cf
push dword [ebp - 0x64]
mov edi, eax
push 0
push edi
mov dword [ebp - 0x68], edi
call fcn.004fe500
add esp, 0x10
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xa4]
push 0
push eax
push dword [ebp - 0x64]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x451531
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004e6300
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [edi], 0xd0
xorps xmm0, xmm0
mov ecx, dword [ebp + 8]
setne al
mov byte [ecx], al
xor al, al
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x15], al
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x60], esi
cmp dword [ebp - 0x64], esi
jbe 0x451a93
mov dl, byte [esi + edi]
mov byte [ebp - 0xd], dl
cmp dl, 0x20
jbe 0x451a77
cmp dl, 0x7f
jae 0x451a77
cmp dl, 0x3d
je 0x451a77
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x14], edi
cmp ecx, edi
jae 0x4515d0
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4516ee
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x451bb7
lea esi, [ecx + 1]
or esi, 0xf
mov dword [ebp - 0xac], esi
cmp esi, 0x7fffffff
jbe 0x45160e
mov eax, connect
mov esi, closesocket
push eax
call fcn.0040bd90
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov edi, eax
jmp 0x451675
mov edx, edi
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x451637
mov eax, connect
mov esi, closesocket
push eax
call fcn.0040bd90
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov edi, eax
jmp 0x451675
lea eax, [edi + edx]
cmp esi, eax
mov dword [ebp - 0xb0], eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x45165f
push eax
call fcn.0040bd90
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov edi, eax
jmp 0x451675
test eax, eax
je 0x451673
push eax
call fcn.004e6040
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov edi, eax
jmp 0x451675
xor edi, edi
cmp dword [ebp - 0x14], 0x10
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], esi
lea esi, [ecx + edi]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x6c], esi
push ecx
jb 0x4516d2
mov esi, dword [ebp - 0x40]
push esi
push edi
call fcn.004fddc0
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
mov al, byte [ebp - 0xd]
mov byte [ecx], al
mov byte [ecx + 1], 0
mov ecx, dword [ebp - 0x14]
inc ecx
cmp ecx, 0x1000
jb 0x4516c6
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x451bbc
mov esi, edx
push ecx
push esi
call fcn.004e62c1
add esp, 8
jmp 0x4516e8
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.004fddc0
mov al, byte [ebp - 0xd]
add esp, 0xc
mov byte [esi], al
mov byte [esi + 1], 0
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x40], edi
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 1
xor edx, edx
mov byte [ebp - 0x1d], 0x91
mov edi, 0xf
mov byte [ebp - 0x1c], 0xb6
mov byte [ebp - 0x1b], 0xbb
mov byte [ebp - 0x1a], 0xb3
mov byte [ebp - 0x19], 0xaf
mov byte [ebp - 0x18], 0xba
mov byte [ebp - 0x17], 0xac
mov byte [ebp - 0x16], 0xd2
mov al, byte [ebp - 0x1d]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x1d]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0xc58161d7
mov edx, 0x27f75b5d
cmovae ecx, edi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx - 0x29]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x1d], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 8
jb 0x451758
lea edx, [ebp - 0x1d]
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4517a0
sub edx, ecx
lea eax, [ebp - 0x1d]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push edx
cmovae ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
push eax
push 0
call fcn.004904a0
add esp, 0xc
test eax, eax
je 0x451a2e
mov byte [ebp - 0x4c], 0xd0
xor edx, edx
mov byte [ebp - 0x4b], 0xd7
mov byte [ebp - 0x4a], 0xca
mov byte [ebp - 0x49], 0xac
mov byte [ebp - 0x48], 0xdf
mov byte [ebp - 0x47], 0xf1
mov byte [ebp - 0x46], 0xfe
mov byte [ebp - 0x45], 0xf1
mov byte [ebp - 0x44], 0xe8
mov byte [ebp - 0x43], 0xf7
mov byte [ebp - 0x42], 0xe2
mov byte [ebp - 0x41], 0x9a
mov al, byte [ebp - 0x4c]
mov dword [ebp - 0x14], edx
mov al, byte [ebp + edx - 0x4c]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0x886ddb8f
mov edx, 0x7d980f1a
cmovae ecx, edi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx - 0x71]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x4c], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0xc
jb 0x451806
lea edx, [ebp - 0x4c]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x451848
sub edx, ecx
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push edx
cmovae ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
push eax
push 0
call fcn.004904a0
add esp, 0xc
test eax, eax
je 0x451a2e
cmp byte [ebp - 0x15], 0
je 0x4519d0
mov byte [ebp - 0x26], 0
xor edx, edx
mov byte [ebp - 0x25], 0x3a
mov byte [ebp - 0x24], 0x29
mov byte [ebp - 0x23], 0x16
mov byte [ebp - 0x22], 0x13
mov byte [ebp - 0x21], 0xf
mov byte [ebp - 0x20], 0x18
mov byte [ebp - 0x1f], 1
mov byte [ebp - 0x1e], 0x6c
mov al, byte [ebp - 0x26]
mov dword [ebp - 0x14], edx
nop dword [eax]
mov al, byte [ebp + edx - 0x26]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0x1925555d
mov edx, 0x83349529
cmovae ecx, edi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x5d]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x26], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 9
jb 0x4518b0
lea edx, [ebp - 0x26]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4518f2
sub edx, ecx
lea eax, [ebp - 0x26]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push edx
cmovae ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
push eax
push 0
call fcn.004904a0
add esp, 0xc
test eax, eax
je 0x451abb
mov byte [ebp - 0x59], 0x70
xor edx, edx
mov byte [ebp - 0x58], 0x63
mov byte [ebp - 0x57], 0x77
mov byte [ebp - 0x56], 0xc
mov byte [ebp - 0x55], 0x63
mov byte [ebp - 0x54], 0x5f
mov byte [ebp - 0x53], 0x49
mov byte [ebp - 0x52], 0x4b
mov byte [ebp - 0x51], 0x46
mov byte [ebp - 0x50], 0x59
mov byte [ebp - 0x4f], 0x49
mov byte [ebp - 0x4e], 0x58
mov byte [ebp - 0x4d], 0x35
mov al, byte [ebp - 0x59]
mov dword [ebp - 0x14], edx
nop dword [eax]
mov al, byte [ebp + edx - 0x59]
mov ecx, edx
and ecx, edi
mov byte [ebp - 0xd], al
cmp ecx, edi
mov eax, 0xc9c2f82d
mov edx, 0x8f8c4c04
cmovae ecx, edi
shl ecx, 2
call fcn.00521900
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x2d]
xor al, cl
xor al, byte [ebp - 0xd]
mov byte [ebp + edx - 0x59], al
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0xd
jb 0x451960
lea edx, [ebp - 0x59]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4519a2
sub edx, ecx
lea eax, [ebp - 0x59]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push edx
cmovae ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
push eax
push 0
call fcn.004904a0
add esp, 0xc
test eax, eax
je 0x451abb
mov edi, dword [ebp - 0x68]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x451a11
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451a07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451bbc
push ecx
push edx
call fcn.004e62c1
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
jmp 0x451a86
mov eax, dword [ebp + 8]
add esi, 9
cmp byte [eax], 0
jne 0x451a3f
mov esi, dword [ebp - 0x60]
add esi, 2
mov edi, dword [ebp - 0x68]
mov al, byte [esi + edi]
cmp al, 0x20
jbe 0x451a6e
nop dword [eax]
cmp al, 0x7f
jae 0x451a6e
mov byte [ebp - 0x70], al
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x70]
call fcn.0040b8f0
mov al, byte [esi + edi + 1]
inc esi
cmp al, 0x20
ja 0x451a50
mov byte [ebp - 0x15], 1
jmp 0x4519d3
push 0
push 0x54b54c
lea ecx, [ebp - 0x40]
call fcn.0048a3c0
inc esi
mov dword [ebp - 0x60], esi
cmp esi, dword [ebp - 0x64]
jb 0x451582
push edi
call fcn.004e6300
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040b870
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [esi + 9]
cmp byte [ecx], 0
jne 0x451ac9
lea eax, [esi + 2]
xor edx, edx
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], edx
mov ecx, edi
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], ecx
mov byte [ebp - 0x88], dl
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x68]
lea esi, [eax + edi]
mov al, byte [esi]
cmp al, 0x20
jbe 0x451b24
cmp al, 0x7f
jae 0x451b1e
mov byte [ebp - 0x70], al
lea ecx, [ebp - 0x88]
push dword [ebp - 0x70]
call fcn.0040b8f0
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
ja 0x451b01
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp - 0xa8]
lea eax, [ebp - 0x88]
cmp esi, eax
je 0x451b4a
cmp ecx, 0x10
mov ecx, esi
push edx
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.0048a3c0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x451b7e
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451b74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451bbc
push ecx
push edx
call fcn.004e62c1
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
jmp 0x451a93
call fcn.0040b180
call fcn.005017c0
int3