Function at 0x4cb7e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x44
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
mov esi, edx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x58]
mov dword [ebx], 0
mov dword [edx], 0
mov dword [esp + 0x20], edx
mov edx, ecx
mov dword [eax], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ebx
mov dword [edi], 0
call fcn.004b4770
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x4cb99b
movaps xmm0, xmmword [0x5f2060]
lea eax, [esp + 0x10]
push 0x628ee4
push esi
push eax
mov dword [esp + 0x1c], ebx
movups xmmword [esp + 0x48], xmm0
call fcn.0058c7cb
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x4cb9eb
push 2
push 0xfffffffffffffff0
push eax
call fcn.005890ed
add esp, 0xc
lea eax, [esp + 0x2c]
push dword [esp + 0x10]
push 0x10
push 1
push eax
call fcn.0058d9e0
add esp, 0x10
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
lea esi, [ebx + 0xc]
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4cb9df
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4cb8b0
push 1
push 0xffffffffffffffec
push dword [esp + 0x18]
call fcn.005890ed
add esp, 0xc
lea eax, [esp + 0x14]
push dword [esp + 0x10]
push 4
push 1
push eax
call fcn.0058d9e0
add esp, 0x10
cmp eax, 4
jne 0x4cb98b
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0x14], eax
lea ecx, [eax - 1]
cmp ecx, 0x4e1e
ja 0x4cb9df
mov ecx, 0xfffffffc
push 1
sub ecx, eax
push ecx
push dword [esp + 0x18]
call fcn.005890ed
mov eax, dword [esp + 0x20]
add esp, 0xc
inc eax
push eax
call fcn.0058db11
add esp, 4
mov ebx, eax
mov dword [esp + 0x18], ebx
push dword [esp + 0x10]
test ebx, ebx
je 0x4cb9e3
push dword [esp + 0x18]
push 1
push ebx
call fcn.0058d9e0
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp eax, ecx
je 0x4cb987
push dword [esp + 0x10]
call fcn.00588cf7
add esp, 4
push ebx
call fcn.0058c812
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005852a8
add esp, 0x44
ret
mov byte [ebx + ecx], 0
push dword [esp + 0x10]
call fcn.00588cf7
mov eax, dword [esp + 0x18]
add esp, 4
push 1
push 0x62926c
push eax
xor edx, edx
mov ecx, ebx
call fcn.004b0c00
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
mov esi, dword [edi]
test esi, esi
je 0x4cbb2d
nop
mov edx, dword [esi + 4]
test edx, edx
jle 0x4cba20
mov ecx, dword [esi]
mov al, byte [ecx]
cmp al, 9
je 0x4cb9d3
cmp al, 0x20
jne 0x4cba00
dec edx
lea eax, [ecx + 1]
mov dword [esi], eax
test edx, edx
jg 0x4cb9c7
jmp 0x4cba20
push dword [esp + 0x10]
call fcn.00588cf7
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005852a8
add esp, 0x44
ret
test edx, edx
jle 0x4cba20
mov eax, ecx
lea ecx, [eax - 1]
nop dword [eax]
mov al, byte [ecx + edx]
cmp al, 9
je 0x4cba1b
cmp al, 0x20
jne 0x4cba20
dec edx
test edx, edx
jg 0x4cba10
mov ecx, dword [esi]
mov dword [esi + 4], edx
cmp byte [ecx], 0x23
je 0x4cbb1a
push ecx
push 1
push 0x629270
call fcn.004b4410
mov ebp, eax
add esp, 0xc
test ebp, ebp
jle 0x4cbb1a
mov edi, dword [esi]
lea edx, [ebp + 1]
add edx, edi
mov byte [edi + ebp], 0
mov ecx, dword [esi + 4]
sub ecx, ebp
dec ecx
cmp byte [ecx + edx - 1], 0xd
lea eax, [ecx - 1]
cmovne eax, ecx
test eax, eax
jle 0x4cba97
mov cl, byte [edx]
cmp cl, 9
je 0x4cba74
cmp cl, 0x20
jne 0x4cba7c
dec eax
inc edx
test eax, eax
jg 0x4cba68
jmp 0x4cba97
test eax, eax
jle 0x4cba97
lea ecx, [edx - 1]
add ecx, eax
mov bl, byte [ecx]
cmp bl, 9
je 0x4cba91
cmp bl, 0x20
jne 0x4cba97
dec eax
dec ecx
test eax, eax
jg 0x4cba85
mov byte [eax + edx], 0
cmp ebp, 8
jne 0x4cbad2
mov eax, dword [str.MeshName]
cmp eax, dword [edi]
jne 0x4cbab9
mov eax, dword [0x629278]
cmp eax, dword [edi + 4]
jne 0x4cbab9
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov eax, dword [str.ServerID]
cmp eax, dword [edi]
jne 0x4cbb1a
mov eax, dword [0x62928c]
cmp eax, dword [edi + 4]
jne 0x4cbb1a
mov eax, dword [esp + 0x20]
jmp 0x4cbb18
cmp ebp, 6
jne 0x4cbaf2
mov ecx, str.MeshID
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4cbb1a
movzx eax, word [ecx + 4]
cmp ax, word [edi + 4]
jne 0x4cbb1a
mov eax, dword [esp + 0x24]
jmp 0x4cbb18
cmp ebp, 0xa
jne 0x4cbb1a
mov ecx, str.MeshServer
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4cbb1a
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 4]
jne 0x4cbb1a
movzx eax, word [ecx + 8]
cmp ax, word [edi + 8]
jne 0x4cbb1a
mov eax, dword [esp + 0x28]
mov dword [eax], edx
mov esi, dword [esi + 8]
test esi, esi
jne 0x4cb9c0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x4cbb45
mov esi, dword [eax + 8]
push eax
call fcn.0058c812
add esp, 4
mov eax, esi
test esi, esi
jne 0x4cbb33
push edi
call fcn.0058c812
mov ecx, dword [esp + 0x50]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005852a8
add esp, 0x44
ret