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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d363
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 0x45215c
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x64], eax
call fcn.004e6a1f
push dword [ebp - 0x64]
mov edi, eax
push 0
push edi
mov dword [ebp - 0x68], edi
call fcn.004fec40
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 0x451be1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004e6a50
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 0x452143
mov dl, byte [esi + edi]
mov byte [ebp - 0xd], dl
cmp dl, 0x20
jbe 0x452127
cmp dl, 0x7f
jae 0x452127
cmp dl, 0x3d
je 0x452127
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x14], edi
cmp ecx, edi
jae 0x451c80
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 0x451d9e
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x452267
lea esi, [ecx + 1]
or esi, 0xf
mov dword [ebp - 0xac], esi
cmp esi, 0x7fffffff
jbe 0x451cbe
mov eax, connect
mov esi, closesocket
push eax
call fcn.0040bd90
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov edi, eax
jmp 0x451d25
mov edx, edi
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x451ce7
mov eax, connect
mov esi, closesocket
push eax
call fcn.0040bd90
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov edi, eax
jmp 0x451d25
lea eax, [edi + edx]
cmp esi, eax
mov dword [ebp - 0xb0], eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x451d0f
push eax
call fcn.0040bd90
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov edi, eax
jmp 0x451d25
test eax, eax
je 0x451d23
push eax
call fcn.004e6790
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov edi, eax
jmp 0x451d25
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 0x451d82
mov esi, dword [ebp - 0x40]
push esi
push edi
call fcn.004fe500
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 0x451d76
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x45226c
mov esi, edx
push ecx
push esi
call fcn.004e6a11
add esp, 8
jmp 0x451d98
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.004fe500
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], 0x61
mov edi, 0xf
mov byte [ebp - 0x1c], 0x47
mov byte [ebp - 0x1b], 0x46
mov byte [ebp - 0x1a], 0x40
mov byte [ebp - 0x19], 0x5a
mov byte [ebp - 0x18], 0x4a
mov byte [ebp - 0x17], 0x5d
mov byte [ebp - 0x16], 0x21
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, 0xd2e67225
mov edx, 0xdc11f89e
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x25]
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 0x451e08
lea edx, [ebp - 0x1d]
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x451e50
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.00490b10
add esp, 0xc
test eax, eax
je 0x4520de
mov byte [ebp - 0x4c], 0x20
xor edx, edx
mov byte [ebp - 0x4b], 0x3e
mov byte [ebp - 0x4a], 0x2b
mov byte [ebp - 0x49], 0x49
mov byte [ebp - 0x48], 0x38
mov byte [ebp - 0x47], 0x17
mov byte [ebp - 0x46], 0x18
mov byte [ebp - 0x45], 0x1f
mov byte [ebp - 0x44], 0xf
mov byte [ebp - 0x43], 0x1e
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x41], 0x84
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, 0xc0e02c75
mov edx, 0xd7844be7
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x75]
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 0x451eb6
lea edx, [ebp - 0x4c]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x451ef8
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.00490b10
add esp, 0xc
test eax, eax
je 0x4520de
cmp byte [ebp - 0x15], 0
je 0x452080
mov byte [ebp - 0x26], 0x30
xor edx, edx
mov byte [ebp - 0x25], 0xd
mov byte [ebp - 0x24], 0x1f
mov byte [ebp - 0x23], 0x1f
mov byte [ebp - 0x22], 0x1c
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x20], 0x13
mov byte [ebp - 0x1f], 0x1f
mov byte [ebp - 0x1e], 0x70
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, 0xbe160769
mov edx, 0x2e603141
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x69]
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 0x451f60
lea edx, [ebp - 0x26]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x451fa2
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.00490b10
add esp, 0xc
test eax, eax
je 0x45216b
mov byte [ebp - 0x59], 0x70
xor edx, edx
mov byte [ebp - 0x58], 0x6f
mov byte [ebp - 0x57], 0x74
mov byte [ebp - 0x56], 0x16
mov byte [ebp - 0x55], 0x75
mov byte [ebp - 0x54], 0x4f
mov byte [ebp - 0x53], 0x5a
mov byte [ebp - 0x52], 0x5d
mov byte [ebp - 0x51], 0x5e
mov byte [ebp - 0x50], 0x4c
mov byte [ebp - 0x4f], 0x5c
mov byte [ebp - 0x4e], 0x45
mov byte [ebp - 0x4d], 0x2c
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, 0x6e801721
mov edx, 0x1021d590
cmovae ecx, edi
shl ecx, 2
call fcn.00522040
mov edx, dword [ebp - 0x14]
and al, 0xf
lea ecx, [edx + 0x21]
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 0x452010
lea edx, [ebp - 0x59]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x452052
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.00490b10
add esp, 0xc
test eax, eax
je 0x45216b
mov edi, dword [ebp - 0x68]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x4520c1
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4520b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45226c
push ecx
push edx
call fcn.004e6a11
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
jmp 0x452136
mov eax, dword [ebp + 8]
add esi, 9
cmp byte [eax], 0
jne 0x4520ef
mov esi, dword [ebp - 0x60]
add esi, 2
mov edi, dword [ebp - 0x68]
mov al, byte [esi + edi]
cmp al, 0x20
jbe 0x45211e
nop dword [eax]
cmp al, 0x7f
jae 0x45211e
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 0x452100
mov byte [ebp - 0x15], 1
jmp 0x452083
push 0
push 0x54c54c
lea ecx, [ebp - 0x40]
call fcn.0048a9b0
inc esi
mov dword [ebp - 0x60], esi
cmp esi, dword [ebp - 0x64]
jb 0x451c32
push edi
call fcn.004e6a50
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 0x452179
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 0x4521d4
cmp al, 0x7f
jae 0x4521ce
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 0x4521b1
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp - 0xa8]
lea eax, [ebp - 0x88]
cmp esi, eax
je 0x4521fa
cmp ecx, 0x10
mov ecx, esi
push edx
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.0048a9b0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x45222e
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452224
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45226c
push ecx
push edx
call fcn.004e6a11
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 0x452143
call fcn.0040b180
call fcn.00501f00
int3