Function at 0x427c38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 4
call fcn.004c34cd
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601d0
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 8]
add ebx, 0x44
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 3
jl 0x427ce6
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 3
jne 0x427ce6
push 0xffffffffffffffff
push 0x12
push 0x16017afd
push 0x52010001
call fcn.004c34f7
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x427ce6
xor eax, eax
jmp 0x427ceb
mov eax, 1
test eax, eax
je 0x427cf8
jmp 0x4285ab
push dword [ebp + 8]
call fcn.004285f9
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x427d12
jmp 0x4285ab
push 0x90004
push 0x16017aff
push 0x52010001
push 1
mov eax, 8
mov ebx, 0x567230
call fcn.004c34eb
add esp, 0x10
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 0x4285a8
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x5f457c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x90004
push 0x16017aff
push 0x52010001
push 2
mov eax, 8
mov ebx, 0x567000
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jne 0x4285a0
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x5f457c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x90004
push 0x16017aff
push 0x52010001
push 2
mov eax, 8
mov ebx, 0x567020
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004287a1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
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
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
push str.cityId
push 0x60001
push 0
push dword [ebp - 0xc]
push 2
mov eax, 5
mov ebx, 0x560a20
call fcn.004c34eb
add esp, 0x1c
test eax, eax
je 0x4285a0
push reloc.WS2_32.dll_connect
push 0
push str.matchTimes
push 0x60001
push 0
push dword [ebp - 0xc]
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, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
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
fld qword [0x5f562f]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp ecx, 0x80000101
jne 0x427f02
and eax, 0xff
jmp 0x427f28
cmp ecx, 0x80000201
jne 0x427f0d
cwde
jmp 0x427f28
mov dword [ebp - 0x2c], eax
cmp ecx, 0x80000301
je 0x427f2b
cmp ecx, 0x80000401
jne 0x427f30
mov dword [ebp - 0x28], edx
fild qword [ebp - 0x2c]
jmp 0x427f52
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
jmp 0x427f52
cmp ecx, 0x80000501
jne 0x427f3d
fld dword [ebp - 0x2c]
jmp 0x427f52
cmp ecx, 0x80000601
je 0x427f5b
push 2
call fcn.004c34df
add esp, 4
fstp qword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp ecx, reloc.WS2_32.dll_connect
je 0x427f7e
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x427f8e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x427f8e
push ebx
call fcn.004c34d9
add esp, 4
fld qword [ebp - 0x34]
fcomp qword [0x5f4ecd]
fnstsw ax
test ah, 0x41
jne 0x428147
push reloc.WS2_32.dll_connect
push 0
push str.matchTimes
push 0x60001
push 0
push dword [ebp - 0xc]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x3c], eax
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
push 0xffffffffffffffff
push 8
push 0x16017afb
push 0x52010001
call fcn.004c34f7
add esp, 0x10
mov dword [ebp - 0x4c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x428050
mov eax, 0x5f4734
push eax
push 1
mov ebx, 0x4c45b0
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x428076
push ebx
call fcn.004c34d9
add esp, 4
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x80000101
jne 0x42808e
and eax, 0xff
jmp 0x4280b4
cmp ecx, 0x80000201
jne 0x428099
cwde
jmp 0x4280b4
mov dword [ebp - 0x58], eax
cmp ecx, 0x80000301
je 0x4280b7
cmp ecx, 0x80000401
jne 0x4280bc
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x58]
jmp 0x4280de
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
jmp 0x4280de
cmp ecx, 0x80000501
jne 0x4280c9
fld dword [ebp - 0x58]
jmp 0x4280de
cmp ecx, 0x80000601
je 0x4280e7
push 2
call fcn.004c34df
add esp, 4
fstp qword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
fild dword [ebp - 0x50]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x58]
fsub qword [ebp - 0x60]
fcomp qword [0x5f4d5c]
fnstsw ax
test ah, 1
mov eax, 0
setne al
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, reloc.WS2_32.dll_connect
je 0x428126
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x428136
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x428136
push ebx
call fcn.004c34d9
add esp, 4
cmp dword [ebp - 0x64], 0
je 0x428147
mov eax, 1
jmp 0x42814c
mov eax, 0
test eax, eax
je 0x4285a0
mov ebx, dword [0x6e53b0]
add ebx, 8
mov dword [ebp - 0x18], ebx
push reloc.WS2_32.dll_connect
push 0
push str.city
push 0x60001
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
push str.cityId
push 0x60001
push 0
push dword [ebp - 0xc]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x20], eax
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 ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, reloc.WS2_32.dll_connect
jne 0x428230
test eax, eax
jne 0x428241
mov eax, 0x5f4734
jmp 0x428241
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x428241
test eax, eax
jne 0x428241
mov eax, 0x5f4768
push ecx
push edx
push eax
push 1
mov ebx, 0x4c5500
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x428270
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x428280
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x428280
push ebx
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x428293
mov eax, 0x5f4734
push eax
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 - 0x34], 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
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4282f0
push ebx
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.name
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 0x60001
push 0
push dword [ebp - 0x38]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
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
mov ecx, dword [ebp - 0x3c]
cmp ecx, reloc.WS2_32.dll_connect
je 0x4283b2
push 5
call fcn.004c34df
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4283c6
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 - 0x18], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x5f5637
push 0x60001
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x42841b
mov eax, 0x5f4734
push eax
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 reloc.WS2_32.dll_connect
push 0
push str.name
push 0x60001
push 0
push dword [ebp - 0x20]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x24], eax
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
push 0x60001
push 0
push dword [ebp - 0x24]
push 1
mov eax, 5
mov ebx, 0x560530
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov ebx, dword [ebp - 0x24]
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 - 0x28]
cmp ecx, reloc.WS2_32.dll_connect
je 0x42852a
push 5
call fcn.004c34df
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42853e
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x5f5641
mov ecx, 2
call fcn.004027be
add esp, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x5f5648
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [ebp + 8]
call fcn.0040281a
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x428584
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x428594
push ebx
call fcn.004c34d9
add esp, 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.00428b05
pop eax
pop ebx
pop ecx
jmp 0x427d41
add esp, 0xc
mov ebx, dword [ebp - 0xc]
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 [ebp - 0x10]
test ebx, ebx
je 0x4285e3
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4285f3
push ebx
call fcn.004c34d9
add esp, 4
mov esp, ebp
pop ebp
ret 4