Function at 0x485f24
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
and dword [eax], 0
mov ebp, dword [esp + 0x60]
push esi
push edi
mov edi, dword [esp + 0x64]
mov esi, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [ebp], eax
mov dword [edi], eax
mov dword [ebx], eax
mov dword [esp + 0x20], edx
mov dword [edx], eax
mov edx, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
call fcn.00470ccc
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4860ae
movaps xmm0, xmmword [0x69ef40]
lea eax, [esp + 0x10]
and dword [esp + 0x10], edi
push 0x7680c4
push esi
push eax
movups xmmword [esp + 0x50], xmm0
call fcn.005cad70
add esp, 0xc
cmp dword [esp + 0x10], edi
jne 0x485fbd
xor eax, eax
jmp 0x4861f9
push 2
push 0xfffffffffffffff0
push dword [esp + 0x18]
call fcn.005ad120
push dword [esp + 0x1c]
lea eax, [esp + 0x44]
push 0x10
push 1
push eax
call fcn.005d0dc0
add esp, 0x1c
lea edx, [esp + 0x34]
lea esi, [esp + 0x44]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x48620c
inc ecx
cmp ecx, 4
jne 0x485fe9
push 1
push 0xffffffffffffffec
push dword [esp + 0x18]
call fcn.005ad120
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push 4
push 1
push eax
call fcn.005d0dc0
add esp, 0x1c
cmp eax, 4
jne 0x4860a0
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 0x48620c
push 1
push 0xfffffffffffffffc
pop ecx
sub ecx, eax
push ecx
push dword [esp + 0x18]
call fcn.005ad120
mov eax, dword [esp + 0x20]
inc eax
push eax
call fcn.005d0f60
add esp, 0x10
mov edi, eax
mov dword [esp + 0x18], edi
push dword [esp + 0x10]
test edi, edi
je 0x486210
push dword [esp + 0x18]
push 1
push edi
call fcn.005d0dc0
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp eax, ecx
je 0x48609c
push dword [esp + 0x10]
call fcn.005ac520
push edi
call fcn.005d0f40
pop ecx
jmp 0x486215
mov byte [edi + ecx], 0
push dword [esp + 0x10]
call fcn.005ac520
mov eax, dword [esp + 0x18]
pop ecx
push 1
push 0x7680c8
push eax
xor edx, edx
mov ecx, edi
call fcn.0046dd77
add esp, 0xc
mov dword [esp + 0x30], eax
mov ebx, dword [eax]
test ebx, ebx
je 0x4861f0
mov edi, dword [esp + 0x1c]
mov edx, dword [ebx + 4]
mov ecx, ebx
call fcn.0046dd41
mov ecx, dword [ebx]
mov dword [ebx + 4], eax
cmp byte [ecx], 0x23
je 0x4861dd
push 1
push 0x7680cc
mov edx, eax
call fcn.00470a09
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
jle 0x4861dd
mov esi, dword [ebx]
lea ecx, [ebp + 1]
add ecx, esi
mov dword [esp + 0x10], ecx
mov byte [esi + ebp], 0
mov eax, dword [ebx + 4]
sub eax, ebp
dec eax
cmp byte [eax + ecx - 1], 0xd
lea edx, [eax - 1]
lea ecx, [esp + 0x10]
cmovne edx, eax
call fcn.0046dd41
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0
cmp ebp, 8
jne 0x486155
mov edx, str.MeshName
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x48617a
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
jne 0x48617a
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
cmp ebp, 6
jne 0x486175
mov edx, str.MeshID
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4861dd
movzx eax, word [edx + 4]
cmp ax, word [esi + 4]
jne 0x4861dd
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
cmp ebp, 8
jne 0x486193
mov edx, str.ServerID
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4861dd
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
jne 0x4861dd
mov eax, dword [esp + 0x28]
mov dword [eax], ecx
cmp ebp, 0xa
jne 0x4861bb
mov edx, str.MeshServer
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4861dd
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
jne 0x4861dd
movzx eax, word [edx + 8]
cmp ax, word [esi + 8]
jne 0x4861dd
mov eax, dword [esp + 0x2c]
mov dword [eax], ecx
cmp ebp, 0xc
jne 0x4861dd
mov edx, str.InstallFlags
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4861dd
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
jne 0x4861dd
mov eax, dword [edx + 8]
cmp eax, dword [esi + 8]
jne 0x4861dd
mov dword [edi], ecx
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4860d4
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, eax
call fcn.0046df18
mov eax, edi
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059b3f0
add esp, 0x48
ret
push dword [esp + 0x10]
call fcn.005ac520
pop ecx
jmp 0x485fb6