Function at 0x4b9750
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x2c8]
sub esp, 0x2c8
push 0xffffffffffffffff
push 0x6297c4
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x2c4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0x2d0]
mov dword [ebp - 4], 0
wait
cmp byte [esi + 0x336], 0
jne 0x4b9952
cmp byte [ebp + 0x2d8], 0
je 0x4b996a
mov eax, ecx
mov ecx, dword [eax + 0xbc]
call fcn.00450a70
mov edi, eax
test edi, edi
je 0x4b996a
push edi
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xbc]
call fcn.00450a50
mov ecx, dword [ebx + 0xbc]
mov edx, dword [ecx + 0x5c]
cmp edi, edx
je 0x4b989f
cmp edi, dword [ecx + 0x54]
je 0x4b989f
mov ebx, dword [ecx + 0x58]
cmp edi, ebx
je 0x4b989f
cmp eax, edx
je 0x4b989f
cmp eax, dword [ecx + 0x54]
je 0x4b989f
cmp eax, ebx
je 0x4b989f
mov edx, dword [ecx + 0x60]
cmp edi, edx
jne 0x4b983f
cmp dword [esi + 0xaa8], 0
jg 0x4b996a
mov byte [esi + 0xac0], 1
or eax, 0xffffffff
wait
jmp 0x4ba0e5
cmp eax, edx
jne 0x4b9865
push edi
call fcn.005dbc2b
cmp dword [esi + 0xaa8], eax
je 0x4b996a
mov byte [esi + 0xac0], 1
or eax, 0xffffffff
wait
jmp 0x4ba0e5
mov edx, dword [ecx + 0x64]
cmp edi, edx
jne 0x4b9875
cmp dword [esi + 0x4c4], 0
jmp 0x4b9829
cmp eax, edx
jne 0x4b996a
push edi
call fcn.005dbc2b
cmp dword [esi + 0x4c4], eax
je 0x4b996a
mov byte [esi + 0xac0], 1
or eax, 0xffffffff
wait
jmp 0x4ba0e5
xor eax, eax
mov dword [ebp + 0x228], eax
mov dword [ebp + 0x230], eax
xor ecx, ecx
mov word [ebp + 0x22c], cx
mov byte [ebp - 4], 1
lea edx, [ebp + 0x228]
push edx
push edi
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xbc]
call fcn.004bb710
mov byte [ebp - 0x19], al
push edi
mov ecx, dword [ebx + 0xbc]
call fcn.004baa30
mov ebx, eax
mov cl, byte [ebp - 0x19]
test cl, cl
je 0x4b9909
push edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xbc]
call fcn.005dbc2b
xor ecx, ecx
cmp dword [esi + 0x314], eax
sete cl
mov eax, ecx
mov cl, byte [ebp - 0x19]
jmp 0x4b990b
xor eax, eax
test ebx, ebx
je 0x4b995b
mov edx, 3
cmp ebx, edx
je 0x4b9938
cmp ebx, 1
jne 0x4b9927
cmp dword [esi + 0x91c], edx
je 0x4b993c
jmp 0x4b9934
cmp ebx, 2
jne 0x4b993c
cmp dword [esi + 0x91c], edx
jne 0x4b993c
test cl, cl
je 0x4b995b
test eax, eax
jne 0x4b995b
mov byte [esi + 0xac0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x228]
call fcn.004011f0
or eax, 0xffffffff
wait
jmp 0x4ba0e5
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x228]
call fcn.004011f0
xor edi, edi
mov dword [ebp - 0x68], edi
push 0x30
push edi
lea edx, [ebp - 0x64]
push edx
call fcn.005f8cb0
add esp, 0xc
mov dword [ebp - 0x68], 5
mov eax, dword [esi + 0x4c0]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x48], eax
mov dword [ebp + 0x21c], edi
mov dword [ebp + 0x224], edi
xor eax, eax
mov word [ebp + 0x220], ax
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x21c]
push ecx
mov ecx, esi
call fcn.0059cba0
mov eax, dword [ebp + 0x21c]
cmp eax, edi
je 0x4b99ca
mov dword [ebp - 0x54], eax
jmp 0x4b99d5
lea edx, [ebp + 0x220]
mov dword [ebp - 0x54], edx
mov eax, edx
lea edx, [eax + 2]
jmp 0x4b99e0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b99e0
sub eax, edx
sar eax, 1
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x68]
push eax
push edi
push 0x104d
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov dword [ebp - 0x18], edi
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4b9a95
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b9a20
sub eax, edx
je 0x4b9a95
xor eax, eax
mov dword [ebp + 0x210], eax
mov dword [ebp + 0x218], eax
xor edx, edx
mov word [ebp + 0x214], dx
mov byte [ebp - 4], 3
movzx eax, byte [esi + 0x33e]
neg eax
sbb eax, eax
and eax, 0xfde9
push eax
mov ecx, dword [esi + 0x60]
push ecx
lea ecx, [ebp + 0x210]
call fcn.00401960
mov eax, dword [ebp + 0x210]
test eax, eax
jne 0x4b9a76
lea eax, [ebp + 0x214]
push eax
push edi
push 8
mov edx, dword [ebx + 0x20]
push edx
call fcn.0044e630
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x210]
call fcn.004011f0
mov edi, dword [esi + 0x4c8]
mov eax, dword [esi + 0x4cc]
mov ecx, edi
or ecx, eax
jne 0x4b9cfc
mov edx, dword [esi + 0x110]
or edx, dword [esi + 0x114]
jne 0x4b9cfc
mov eax, dword [esi + 0x44]
cmp eax, 4
je 0x4b9ad6
cmp eax, 5
je 0x4b9ad6
cmp dword [esi + 0x330], edx
je 0x4b9ebf
fldz
fcom qword [esi + 0x3b0]
fnstsw ax
test ah, 5
jnp 0x4b9b01
cmp dword [esi + 0x3e4], 0
jl 0x4b9ebd
jg 0x4b9b01
cmp dword [esi + 0x3e0], 0
jbe 0x4b9ebd
fcom qword [esi + 0x3b0]
fnstsw ax
test ah, 5
jp 0x4b9b1b
fld qword [esi + 0x3b0]
call fcn.005fa886
jmp 0x4b9b27
mov eax, dword [esi + 0x3e0]
mov edx, dword [esi + 0x3e4]
test edx, edx
jl 0x4b9b7e
jg 0x4b9b31
test eax, eax
jbe 0x4b9b7e
fstp st(0)
mov ebx, vtable.StringConvertor.0
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x234]
push ecx
push edx
push eax
lea ecx, [ebp - 0x34]
call fcn.0043abb0
mov edx, dword [0x70f730]
push edx
lea eax, [ebp + 0x234]
push eax
push 3
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
push eax
call fcn.00454380
add esp, 0x14
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], ebx
fldz
jmp 0x4b9b83
mov ebx, vtable.StringConvertor.0
cmp dword [esi + 0x91c], 3
je 0x4b9ebd
fcomp qword [esi + 0x4e0]
fnstsw ax
test ah, 5
jp 0x4b9ebf
push 8
lea ecx, [ebp + 0x2bc]
push ecx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4b9bc7
mov edx, 0x2c
mov word [ebp + 0x2bc], dx
fldz
fcomp qword [esi + 0x3b0]
fnstsw ax
test ah, 5
jp 0x4b9bde
fld qword [esi + 0x3b0]
jmp 0x4b9be4
fild qword [esi + 0x3e0]
fld qword [esi + 0x4e0]
fld qword [0x65bb98]
fmul st(1), st(0)
fxch st(1)
fdivrp st(2)
fld qword [0x65bb80]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x4b9c5c
fld st(1)
call fcn.005fa850
mov edi, eax
mov dword [ebp - 0x20], edi
fild dword [ebp - 0x20]
fsubp st(2)
fmulp st(1)
call fcn.005fa850
push eax
lea eax, [ebp + 0x2bc]
push eax
push edi
push 0x65bb88
lea ecx, [ebp + 0x274]
push ecx
call fcn.005fb4cb
mov edx, dword [0x70f730]
push edx
lea eax, [ebp + 0x274]
push eax
push 4
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
push eax
call fcn.00454380
add esp, 0x28
jmp 0x4b9c60
fstp st(1)
fstp st(0)
mov eax, dword [esi + 0x4e8]
mov dword [ebp - 0x20], eax
cmp eax, 0xa
jle 0x4b9ebf
mov ecx, dword [esi + 0x4d0]
mov dword [ebp - 0x28], ecx
mov eax, dword [esi + 0x4d4]
mov dword [ebp - 0x24], eax
test eax, eax
jl 0x4b9ebf
jg 0x4b9c96
test ecx, ecx
jbe 0x4b9ebf
fld qword [esi + 0x3b0]
fdiv qword [esi + 0x4e0]
fsub qword [0x65bb70]
fild qword [ebp - 0x28]
fmulp st(1)
fidiv dword [ebp - 0x20]
call fcn.005fa886
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x274]
push ecx
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043abb0
mov edx, dword [0x70f730]
push edx
lea eax, [ebp + 0x274]
push eax
push 5
mov ecx, dword [ebp - 0x18]
push ecx
mov edi, dword [ebp - 0x14]
mov edx, dword [edi + 0x20]
push edx
call fcn.00454380
add esp, 0x14
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], ebx
jmp 0x4b9ec2
mov ecx, edi
or ecx, eax
je 0x4b9d06
mov ebx, eax
jmp 0x4b9d12
mov edi, dword [esi + 0x110]
mov ebx, dword [esi + 0x114]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], vtable.StringConvertor.0
mov byte [ebp - 4], 4
lea edx, [ebp + 0x274]
push edx
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.0043a250
mov eax, dword [0x70f730]
push eax
lea ecx, [ebp + 0x274]
push ecx
push 3
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00454380
add esp, 0x14
cmp dword [esi + 0x91c], 3
je 0x4b9eb0
push 8
lea edx, [ebp + 0x2b4]
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4b9d89
mov eax, 0x2c
mov word [ebp + 0x2b4], ax
mov ecx, dword [esi + 0x4d0]
mov dword [ebp - 0x28], ecx
mov eax, dword [esi + 0x4d4]
mov dword [ebp - 0x24], eax
test eax, eax
jl 0x4b9e21
jg 0x4b9dad
test ecx, ecx
jbe 0x4b9e21
fild qword [ebp - 0x28]
fld qword [0x65bb98]
fmul st(1), st(0)
fild qword [ebp - 0x30]
fdivp st(2)
fxch st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fcom qword [0x65bb80]
fnstsw ax
test ah, 5
jp 0x4b9e1d
fld st(0)
call fcn.005fa850
mov dword [ebp - 0x2c], eax
fisub dword [ebp - 0x2c]
fmulp st(1)
call fcn.005fa850
push eax
lea ecx, [ebp + 0x2b4]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0x65bb88
lea eax, [ebp + 0x274]
push eax
call fcn.005fb4cb
add esp, 0x14
lea ecx, [ebp + 0x274]
push ecx
push 4
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.005dbac8
jmp 0x4b9e21
fstp st(0)
fstp st(0)
cmp dword [esi + 0x4e8], 0xa
jle 0x4b9eb0
cmp ebx, dword [esi + 0x4d4]
jl 0x4b9eb0
jg 0x4b9e44
cmp edi, dword [esi + 0x4d0]
jb 0x4b9eb0
mov eax, edi
or eax, ebx
je 0x4b9eb0
mov dword [ebp - 0x24], vtable.StringConvertor.0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x274]
push ecx
sub edi, dword [esi + 0x4d0]
sbb ebx, dword [esi + 0x4d4]
mov eax, dword [esi + 0x4e8]
cdq
push edx
push eax
push ebx
push edi
call fcn.005fc580
push edx
push eax
lea ecx, [ebp - 0x24]
call fcn.0043abb0
mov edx, dword [0x70f730]
push edx
lea eax, [ebp + 0x274]
push eax
push 5
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
push eax
call fcn.00454380
add esp, 0x14
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], vtable.StringConvertor.0
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], vtable.StringConvertor.0
jmp 0x4b9ebf
fstp st(0)
mov edi, dword [ebp - 0x14]
cmp dword [esi + 0x4d4], 0
jg 0x4b9f27
jl 0x4b9ed6
cmp dword [esi + 0x4d0], 0
ja 0x4b9f27
mov eax, dword [esi + 0xa94]
cmp eax, 0x7565
jne 0x4b9efd
mov ecx, dword [0x70f730]
push ecx
mov edx, dword [0x710b6c]
push edx
push 4
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edi + 0x20]
push ecx
jmp 0x4b9f1f
cmp eax, 0x7540
je 0x4b9f27
test eax, eax
je 0x4b9f27
mov edx, dword [0x70f730]
push edx
mov eax, dword [0x710b74]
push eax
push 4
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [edi + 0x20]
push edx
call fcn.00454380
add esp, 0x14
lea edx, [esi + 0x64]
mov eax, edx
lea ebx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b9f30
sub eax, ebx
je 0x4b9f49
push edx
push 7
mov eax, dword [ebp - 0x18]
push eax
mov ecx, edi
call fcn.005dbac8
lea edx, [esi + 0x94]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b9f54
sub eax, ebx
je 0x4b9f6d
push edx
push 1
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.005dbac8
cmp dword [esi + 0x5c], 0
je 0x4ba024
lea edx, [esi + 0x54]
push edx
lea ecx, [ebp + 0x228]
call fcn.00420940
mov byte [ebp - 4], 8
cmp dword [0x70f608], 0
je 0x4b9fbe
mov eax, dword [0x70f784]
test eax, eax
mov ecx, eax
jne 0x4b9fa3
mov ecx, 0x70f788
mov eax, dword [0x70f6ec]
test eax, eax
jne 0x4b9fb1
mov eax, 0x70f6f0
push ecx
push eax
lea ecx, [ebp + 0x228]
call fcn.0043a8a0
cmp dword [0x70f60c], 0
je 0x4b9ff2
mov eax, dword [0x70f79c]
test eax, eax
mov ecx, eax
jne 0x4b9fd7
mov ecx, 0x70f7a0
mov eax, dword [0x70f790]
test eax, eax
jne 0x4b9fe5
mov eax, 0x70f794
push ecx
push eax
lea ecx, [ebp + 0x228]
call fcn.0043a8a0
mov eax, dword [ebp + 0x228]
test eax, eax
jne 0x4ba002
lea eax, [ebp + 0x22c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 9
mov ecx, dword [edi + 0x20]
push ecx
call fcn.0044e630
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x228]
call fcn.004011f0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4ba039
push eax
push 0xa
mov edx, dword [ebp - 0x18]
push edx
mov ecx, edi
call fcn.005dbac8
cmp dword [esi + 0x91c], 3
jne 0x4ba061
mov eax, dword [0x70f730]
push eax
mov ecx, dword [0x71083c]
push ecx
push 4
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [edi + 0x20]
push eax
call fcn.00454380
add esp, 0x14
cmp byte [ebp + 0x2d4], 0
je 0x4ba092
cmp dword [ebp - 0x18], 0
jl 0x4ba092
push 8
call fcn.005cfa6c
add esp, 4
mov dword [eax], esi
mov dword [eax + 4], edi
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
push 0x4b9420
call fcn.005db08e
mov byte [esi + 0xac0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x21c]
call fcn.004011f0
mov eax, dword [ebp - 0x18]
wait
jmp 0x4ba0e5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c4]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x2c8
mov esp, ebp
pop ebp
ret 0xc