Function at 0x479d92
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
push 0x90004
push 0x1601879d
push 0x52010001
push 1
mov eax, 8
mov ebx, 0x567380
call fcn.004c34eb
add esp, 0x10
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x28
mov dword [ebp - 8], ebx
push 0x60001
push 0
mov ebx, dword [ebp - 8]
push dword [ebx]
push 1
mov eax, 5
mov ebx, 0x560a80
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 0x47aab2
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x28
mov dword [ebp - 8], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x5f457c]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x60001
push 0
mov ebx, dword [ebp - 8]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
push str.city
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 ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, reloc.WS2_32.dll_connect
jne 0x479f2c
test eax, eax
jne 0x479f3d
mov eax, 0x5f4734
jmp 0x479f3d
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x479f3d
test eax, eax
jne 0x479f3d
mov eax, 0x5f4768
push ecx
push edx
push eax
push 1
mov ebx, 0x4c45b0
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x479f6c
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x479f7c
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x479f7c
push ebx
call fcn.004c34d9
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x30]
mov ebx, 0xc
call fcn.004010d8
push 0x80000301
push 0
push 0xffffffff
push 0x90004
push 0x1601879d
push 0x52010001
push 7
mov eax, 8
mov ebx, 0x567260
call fcn.004c34eb
add esp, 0x58
fild dword [ebp - 4]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fsub qword [0x5f457c]
fstp qword [ebp - 0x14]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x28
mov dword [ebp - 0x18], ebx
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
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
push str.name
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 0x47a0f0
test eax, eax
jne 0x47a101
mov eax, 0x5f4734
jmp 0x47a101
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x47a101
test eax, eax
jne 0x47a101
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 0x47a130
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x47a140
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x47a140
push ebx
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x47a153
mov eax, 0x5f4734
push eax
push 0x80000301
push 0
push 1
fld qword [ebp - 0x14]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x90004
push 0x1601879d
push 0x52010001
push 4
mov eax, 8
mov ebx, 0x5671f0
call fcn.004c34eb
add esp, 0x34
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x47a1a6
push ebx
call fcn.004c34d9
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fsub qword [0x5f457c]
fstp qword [ebp - 0x14]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x28
mov dword [ebp - 0x18], ebx
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
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
push str.scale
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]
cmp ecx, reloc.WS2_32.dll_connect
je 0x47a2d0
push 5
call fcn.004c34df
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.0047aabb
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x47a2ec
push ebx
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x47a2ff
mov eax, 0x5f4734
push eax
push 0x80000301
push 0
push 2
fld qword [ebp - 0x14]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x90004
push 0x1601879d
push 0x52010001
push 4
mov eax, 8
mov ebx, 0x5671f0
call fcn.004c34eb
add esp, 0x34
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x47a352
push ebx
call fcn.004c34d9
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fsub qword [0x5f457c]
fstp qword [ebp - 0x14]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x28
mov dword [ebp - 0x18], ebx
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
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
push str.peace
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]
cmp ecx, reloc.WS2_32.dll_bind
je 0x47a47c
push 5
call fcn.004c34df
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x47a490
mov eax, 0x63ba27
jmp 0x47a495
mov eax, 0x63ba2c
mov dword [ebp - 0x40], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x47a4ab
mov eax, 0x5f4734
push eax
push 0x80000301
push 0
push 3
fld qword [ebp - 0x14]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x90004
push 0x1601879d
push 0x52010001
push 4
mov eax, 8
mov ebx, 0x5671f0
call fcn.004c34eb
add esp, 0x34
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x47a4fe
push ebx
call fcn.004c34d9
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fsub qword [0x5f457c]
fstp qword [ebp - 0x14]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x28
mov dword [ebp - 0x18], ebx
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
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
push str.corpsName
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 0x47a62c
test eax, eax
jne 0x47a63d
mov eax, 0x5f4734
jmp 0x47a63d
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x47a63d
test eax, eax
jne 0x47a63d
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 0x47a66c
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x47a67c
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x47a67c
push ebx
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x47a68f
mov eax, 0x5f4734
push eax
push 0x80000301
push 0
push 4
fld qword [ebp - 0x14]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x90004
push 0x1601879d
push 0x52010001
push 4
mov eax, 8
mov ebx, 0x5671f0
call fcn.004c34eb
add esp, 0x34
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x47a6e2
push ebx
call fcn.004c34d9
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fsub qword [0x5f457c]
fstp qword [ebp - 0x14]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x28
mov dword [ebp - 0x18], ebx
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
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
push str.rDefLv
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 0x47a810
test eax, eax
jne 0x47a821
mov eax, 0x5f4734
jmp 0x47a821
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x47a821
test eax, eax
jne 0x47a821
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 0x47a850
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x47a860
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x47a860
push ebx
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x47a873
mov eax, 0x5f4734
push eax
push 0x80000301
push 0
push 5
fld qword [ebp - 0x14]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x90004
push 0x1601879d
push 0x52010001
push 4
mov eax, 8
mov ebx, 0x5671f0
call fcn.004c34eb
add esp, 0x34
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x47a8c6
push ebx
call fcn.004c34d9
add esp, 4
fild dword [ebp - 4]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fsub qword [0x5f457c]
fstp qword [ebp - 0x14]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x14]
add ebx, 0x28
mov dword [ebp - 0x18], ebx
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
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 2
mov eax, 5
mov ebx, 0x560ad0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
push str.rDef
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 0x47a9f4
test eax, eax
jne 0x47aa05
mov eax, 0x5f4734
jmp 0x47aa05
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x47aa05
test eax, eax
jne 0x47aa05
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 0x47aa34
cmp ecx, reloc.WS2_32.dll_getpeername
jne 0x47aa44
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x47aa44
push ebx
call fcn.004c34d9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x47aa57
mov eax, 0x5f4734
push eax
push 0x80000301
push 0
push 6
fld qword [ebp - 0x14]
call fcn.00401004
push 0x80000301
push 0
push eax
push 0x90004
push 0x1601879d
push 0x52010001
push 4
mov eax, 8
mov ebx, 0x5671f0
call fcn.004c34eb
add esp, 0x34
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x47aaaa
push ebx
call fcn.004c34d9
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x479e02
add esp, 0xc
mov esp, ebp
pop ebp
ret 4