Function at 0x523bb0
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x632e20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], 0
mov ecx, dword [ebp - 8]
call fcn.00523b00
test eax, eax
jne 0x523be6
or eax, 0xffffffff
jmp 0x523ec5
push 0
push 0x80
push 3
push 0
push 1
push accept
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
call fcn.00523ee0
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x523c16
cmp dword [ebp - 0xc], 0xffffffff
jne 0x523c20
mov eax, 0xfffffffe
jmp 0x523ec5
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0x8000
jb 0x523c48
cmp dword [ebp - 0x10], 0x200000
jbe 0x523c5c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffd
jmp 0x523ec5
mov eax, dword [ebp - 0x10]
add eax, 0x400
push eax
call fcn.0044f69b
add esp, 4
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x10]
add eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00588e10
add esp, 0xc
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
jne 0x523cc9
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x523cc9
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x523cf5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.0044f690
add esp, 4
mov eax, 0xfffffffc
jmp 0x523ec5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x44], 0x5c
mov byte [ebp - 0x43], 0
mov byte [ebp - 0x42], 0x44
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x40], 0x65
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0x76
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x3c], 0x69
mov byte [ebp - 0x3b], 0
mov byte [ebp - 0x3a], 0x63
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x38], 0x65
mov byte [ebp - 0x37], 0
mov byte [ebp - 0x36], 0x5c
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x34], 0x52
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x32], 0x61
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x30], 0x73
mov byte [ebp - 0x2f], 0
mov byte [ebp - 0x2e], 0x41
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], 0x63
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x2a], 0x64
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x26], 0xcc
mov byte [ebp - 0x25], 0xcc
mov byte [ebp - 0x24], 0xcc
mov byte [ebp - 0x23], 0xcc
mov byte [ebp - 0x22], 0xcc
mov byte [ebp - 0x21], 0xcc
mov byte [ebp - 0x20], 0x90
mov byte [ebp - 0x1f], 0x90
mov byte [ebp - 0x1e], 0x90
mov byte [ebp - 0x1d], 0x90
mov eax, dword [ebp - 0x10]
sub eax, 0x400
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x48], 0
jmp 0x523dc3
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x10]
jae 0x523e0c
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x48]
movzx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x523de7
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 1]
test ecx, ecx
je 0x523de9
jmp 0x523dba
push 0x28
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x48]
push ecx
call fcn.0058ac83
add esp, 0xc
test eax, eax
jne 0x523e0a
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
jmp 0x523e0c
jmp 0x523dba
cmp dword [ebp - 0x1c], 0
je 0x523e1a
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jb 0x523e3c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.0044f690
add esp, 4
mov eax, 0xfffffffb
jmp 0x523ec5
mov eax, dword [ebp - 0x1c]
add eax, 0x80
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
movzx ecx, byte [eax - 1]
test ecx, ecx
jne 0x523e67
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 4]
cmp ecx, 0xb8
je 0x523e86
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0044f690
add esp, 4
mov eax, 0xfffffffa
jmp 0x523ec5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov dword [ebp - 0x4c], 0
push 4
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0058c740
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.0044f690
add esp, 4
mov eax, dword [ebp - 0x4c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058841d
mov esp, ebp
pop ebp
ret