Function at 0x437edf
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 8]
add ebx, 0x44
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 3
jl 0x437f8d
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 3
jne 0x437f8d
push 0xffffffffffffffff
push 0x12
push 0x16018151
push 0x52010001
call fcn.004c34f7
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x437f8d
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0x20
jl 0x437f8d
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x1c]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
cmp dword [ebx], 1
je 0x437f8d
xor eax, eax
jmp 0x437f92
mov eax, 1
test eax, eax
je 0x437f9f
jmp 0x439125
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
add ebx, 0x38
mov dword [ebp - 0x14], ebx
push 0xffffffffffffffff
push 8
push 0x1601814f
push 0x52010001
call fcn.004c34f7
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x437fd9
mov eax, 0x5f4734
push eax
push 1
mov ebx, 0x4c45b0
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x437fff
push ebx
call fcn.004c34d9
add esp, 4
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x5f5bee]
fstp qword [ebp - 0x2c]
mov ebx, dword [ebp - 0x14]
fild qword [ebx]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [ebp - 0x2c]
fcomp qword [0x5f4d5c]
fnstsw ax
test ah, 1
je 0x438035
jmp 0x439125
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x24
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x5f4731
push 0x60001
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x560230
call fcn.004c34eb
add esp, 0x1c
push dword [ebp + 8]
call fcn.0043915b
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43808c
jmp 0x439125
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x24
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x5f5bf6
push 0x60001
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x560a20
call fcn.004c34eb
add esp, 0x1c
test eax, eax
je 0x439125
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x24
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x5f5bf6
push 0x60001
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x18], eax
push 0x60001
push 0
push dword [ebp - 0x18]
push 1
mov eax, 5
mov ebx, 0x560a80
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x43910b
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x24
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x5f5bf6
push 0x60001
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x18], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x5f457c]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x60001
push 0
push dword [ebp - 0x18]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x18]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push 0x5f4896
push 0x60001
push 0
push dword [ebp - 0x2c]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push 0x60001
push 0
push dword [ebp - 0x30]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov ebx, dword [ebp - 0x30]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, reloc.WS2_32.dll_connect
jne 0x4382eb
test eax, eax
jne 0x4382fc
mov eax, 0x5f4734
jmp 0x4382fc
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x4382fc
test eax, eax
jne 0x4382fc
mov eax, 0x5f4768
push ecx
push edx
push eax
push 1
mov ebx, 0x4c5500
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, reloc.WS2_32.dll_connect
je 0x43832b
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x43833b
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x43833b
push ebx
call fcn.004c34d9
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43834f
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x24
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x5f5bf6
push 0x60001
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x18], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x5f457c]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x60001
push 0
push dword [ebp - 0x18]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x18]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.city
push 0x60001
push 0
push dword [ebp - 0x2c]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push 0x60001
push 0
push dword [ebp - 0x30]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov ebx, dword [ebp - 0x30]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, reloc.WS2_32.dll_connect
jne 0x4384c7
test eax, eax
jne 0x4384d8
mov eax, 0x5f4734
jmp 0x4384d8
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x4384d8
test eax, eax
jne 0x4384d8
mov eax, 0x5f4768
push ecx
push edx
push eax
push 1
mov ebx, 0x4c5500
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, reloc.WS2_32.dll_connect
je 0x438507
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x438517
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x438517
push ebx
call fcn.004c34d9
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x43852b
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [0x6e53b0]
add ebx, 8
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
push str.patrolInfo
push 0x60001
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x438580
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 0x18]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.prize1
push 0x60001
push 0
push dword [ebp - 0x1c]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push 0x60001
push 0
push dword [ebp - 0x20]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x20]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov ebx, dword [0x6e53b0]
add ebx, 8
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
push str.patrolInfo
push 0x60001
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4386c8
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 0x34]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.prize2
push 0x60001
push 0
push dword [ebp - 0x38]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push 0x60001
push 0
push dword [ebp - 0x3c]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov ebx, dword [ebp - 0x3c]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov ecx, dword [ebp - 0x40]
cmp ecx, reloc.WS2_32.dll_connect
je 0x4387d7
push 5
call fcn.004c34df
add esp, 4
push dword [ebp - 0x48]
push 0x5f4d8e
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x4387f7
push 5
call fcn.004c34df
add esp, 4
push dword [ebp - 0x2c]
mov ecx, 3
call fcn.004027be
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x438821
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x438831
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x438831
push ebx
call fcn.004c34d9
add esp, 4
mov ecx, dword [ebp - 0x40]
cmp ecx, reloc.WS2_32.dll_connect
je 0x438848
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x438858
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x438858
push ebx
call fcn.004c34d9
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x43886c
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [0x6e53b0]
add ebx, 8
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
push str.patrolInfo
push 0x60001
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4388c1
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 0x18]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.quality
push 0x60001
push 0
push dword [ebp - 0x1c]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push 0x60001
push 0
push dword [ebp - 0x20]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x20]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov ebx, dword [0x6e53b0]
add ebx, 8
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
push str.city
push 0x60001
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x438a09
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 0x34]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.name
push 0x60001
push 0
push dword [ebp - 0x38]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push 0x60001
push 0
push dword [ebp - 0x3c]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov ebx, dword [ebp - 0x3c]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
cmp ecx, reloc.WS2_32.dll_connect
jne 0x438b1c
test eax, eax
jne 0x438b2d
mov eax, 0x5f4734
jmp 0x438b2d
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x438b2d
test eax, eax
jne 0x438b2d
mov eax, 0x5f4768
push ecx
push edx
push eax
push 1
mov ebx, 0x4c5500
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, reloc.WS2_32.dll_connect
je 0x438b5c
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x438b6c
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x438b6c
push ebx
call fcn.004c34d9
add esp, 4
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x438b88
push 5
call fcn.004c34df
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.00439308
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x438bab
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x438bbb
push ebx
call fcn.004c34d9
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x439103
mov ebx, dword [0x6e53b0]
add ebx, 8
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
push str.patrolInfo
push 0x60001
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x438c16
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 0x18]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.name
push 0x60001
push 0
push dword [ebp - 0x1c]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push 0x60001
push 0
push dword [ebp - 0x20]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x20]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov ebx, dword [0x6e53b0]
add ebx, 8
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
push str.patrolInfo
push 0x60001
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x438d5e
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 0x34]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.quality
push 0x60001
push 0
push dword [ebp - 0x38]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push 0x60001
push 0
push dword [ebp - 0x3c]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov ebx, dword [ebp - 0x3c]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov ecx, dword [ebp - 0x40]
cmp ecx, reloc.WS2_32.dll_connect
je 0x438e6d
push 5
call fcn.004c34df
add esp, 4
lea eax, [ebp - 0x48]
push eax
call fcn.00439ea1
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x438e89
push ebx
call fcn.004c34d9
add esp, 4
push 0x5f5c1e
push dword [ebp - 0x10]
push 0x5f4d8e
push dword [ebp - 0x4c]
push 0x5f5240
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x438eb6
push 5
call fcn.004c34df
add esp, 4
push dword [ebp - 0x2c]
push 0x5f5c20
mov ecx, 7
call fcn.004027be
add esp, 0x1c
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x438ee5
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x438ef5
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x438ef5
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x438f05
push ebx
call fcn.004c34d9
add esp, 4
lea eax, [ebp - 0x50]
push eax
mov eax, 0x5f5c27
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push 1
push dword [ebp + 8]
call fcn.0040281a
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x438f2f
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x438f3f
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x24
mov dword [ebp - 0x14], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x5f5bf6
push 0x60001
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x18], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x5f457c]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x60001
push 0
push dword [ebp - 0x18]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x18]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.city
push 0x60001
push 0
push dword [ebp - 0x2c]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
push 0x60001
push 0
push dword [ebp - 0x30]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov ebx, dword [ebp - 0x30]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp ecx, 0x80000101
jne 0x4390af
and eax, 0xff
jmp 0x4390fa
cmp ecx, 0x80000201
jne 0x4390ba
cwde
jmp 0x4390fa
cmp ecx, 0x80000301
je 0x4390fa
cmp ecx, 0x80000401
je 0x4390fa
mov dword [ebp - 0x44], eax
cmp ecx, 0x80000501
je 0x4390ea
cmp ecx, 0x80000601
je 0x4390ef
push 2
call fcn.004c34df
add esp, 4
fld dword [ebp - 0x44]
jmp 0x4390f5
mov dword [ebp - 0x40], edx
fld qword [ebp - 0x44]
call fcn.00401004
push eax
push dword [ebp + 8]
call fcn.00439fa5
pop eax
pop ebx
pop ecx
jmp 0x438169
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x1c]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 1
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x439135
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x439145
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x439155
push ebx
call fcn.004c34d9
add esp, 4
mov esp, ebp
pop ebp
ret 4