Function at 0x4f7ea0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x22c
mov eax, dword [0x6bd6f8]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
mov ebp, dword [esp + 0x238]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0x6bb0d4
mov eax, 0x6bb0d4
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x4f7eef
mov ecx, dword [eax + 8]
cmp ecx, 0xffffffff
jle 0x4f7eef
cmp ecx, 0x5265c00
jl 0x4f7f1a
mov eax, dword [esp + 0x10]
mov dword [ebp], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f84d4
mov edx, dword [esp + 0x10]
push edx
jmp 0x4f84cc
mov edi, dword [esp + 0x244]
cmp edi, 1
jne 0x4f8118
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [eax + 4]
call fcn.004f7ad0
push eax
lea ecx, [esp + 0x14]
call fcn.004b7cb0
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f7f5c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b7ca0
add esp, 4
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], 0
jne 0x4f7f77
mov dword [ebp], 0x6bb0d4
mov eax, 0x6bb0d4
jmp 0x4f84b1
push ecx
mov eax, esp
mov edx, 0x54
lea ecx, [esp + 0x14]
mov word [eax], dx
call fcn.004b90b0
mov eax, dword [esi]
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [eax + 8]
call fcn.004f4c60
push eax
lea ecx, [esp + 0x14]
call fcn.004b8f70
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f7fc0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b7ca0
add esp, 4
mov esi, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, 2
je 0x4f80ff
sub eax, 1
jne 0x4f84aa
xor edx, edx
cmp dword [esi + 0x10], edx
mov eax, 0x30
setge dl
mov word [esp + 0x30], ax
mov ecx, eax
mov word [esp + 0x2c], cx
lea eax, [esp + 0x30]
push eax
mov eax, 0x88888889
lea edx, [edx + edx - 1]
mov edi, edx
mov edx, 0x20
mov word [esp + 0x1c], dx
mov ecx, dword [esi + 0x10]
cmp edi, 1
setne bl
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov ecx, 0x3c
idiv ecx
mov ecx, dword [esi + 0x10]
push 0xa
imul ecx, edi
push 2
lea eax, [esp + 0x38]
lea ebx, [ebx + ebx + 0x2b]
push edx
lea edx, [esp + 0x34]
push edx
push eax
mov eax, 0x91a2b3c5
imul ecx
add edx, ecx
push 0xa
sar edx, 0xb
push 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
push 0
push ecx
mov eax, esp
lea edx, [esp + 0x5c]
push edx
movzx cx, bl
push 0xffffffffffffffff
mov word [eax], cx
lea eax, [esp + 0x50]
push str._1_2:_3
push eax
call fcn.004b96a0
add esp, 0xc
mov ecx, eax
call fcn.004bc330
mov ecx, eax
call fcn.00401062
mov ecx, eax
call fcn.00401062
push eax
lea ecx, [esp + 0x14]
call fcn.004b8f70
mov ecx, dword [esp + 0x24]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f80c2
mov eax, dword [esp + 0x24]
push eax
call fcn.004b7ca0
add esp, 4
mov ecx, dword [esp + 0x20]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f80dc
mov eax, dword [esp + 0x20]
push eax
call fcn.004b7ca0
add esp, 4
mov ecx, dword [esp + 0x28]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f8490
mov eax, dword [esp + 0x28]
push eax
call fcn.004b7ca0
add esp, 4
jmp 0x4f8490
push ecx
mov eax, esp
mov ecx, 0x5a
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004b90b0
jmp 0x4f84aa
test edi, edi
jne 0x4f8418
push 0xff
lea edx, [esp + 0x3c]
push edx
push 0x22
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004babe0
add esp, 0xc
push 0xa
push edi
lea ecx, [esp + 0x20]
call fcn.004b8170
sub eax, 1
lea ecx, [edi + 7]
je 0x4f825c
mov edx, dword [esi]
mov eax, dword [edx + 4]
xor edx, edx
div ecx
inc edx
push edx
lea edx, [esp + 0x18]
push edx
call fcn.004f4ba0
add esp, 8
push eax
lea ecx, [esp + 0x14]
call fcn.004b7cb0
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f819f
mov edx, dword [esp + 0x14]
push edx
call fcn.004b7ca0
add esp, 4
push ecx
mov eax, esp
mov ecx, 0x20
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004b90b0
mov eax, dword [esi]
mov eax, dword [eax + 4]
push 0
lea edx, [esp + 0x20]
push edx
push 0
call fcn.004f44d0
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004f4b60
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
call fcn.004b8f70
mov eax, dword [esp + 0x28]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f81fc
mov edx, dword [esp + 0x28]
push edx
call fcn.004b7ca0
add esp, 4
push ecx
mov eax, esp
mov ecx, 0x20
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004b90b0
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
call fcn.004f44d0
mov ecx, dword [esp + 0x28]
push 0xa
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.004bc2d0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
call fcn.004b8f70
mov eax, dword [esp + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f8356
mov edx, dword [esp + 0x20]
push edx
jmp 0x4f834e
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edx, edx
div ecx
inc edx
push edx
lea edx, [esp + 0x28]
push edx
call fcn.004f4ba0
add esp, 8
push eax
lea ecx, [esp + 0x14]
call fcn.004b7cb0
mov eax, dword [esp + 0x24]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f8298
mov edx, dword [esp + 0x24]
push edx
call fcn.004b7ca0
add esp, 4
push ecx
mov eax, esp
mov ecx, 0x20
mov word [eax], cx
lea ecx, [esp + 0x14]
call fcn.004b90b0
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
call fcn.004f44d0
mov ecx, dword [esp + 0x28]
push 0xa
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004bc2d0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
call fcn.004b8f70
mov eax, dword [esp + 0x2c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f82f7
mov edx, dword [esp + 0x2c]
push edx
call fcn.004b7ca0
add esp, 4
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0x632d2c
call fcn.004b9030
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
call fcn.004f44d0
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004f4b60
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
call fcn.004b8f70
mov edx, dword [esp + 0x30]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f8356
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004b7ca0
add esp, 4
push ecx
mov eax, esp
mov edx, 0x20
lea ecx, [esp + 0x14]
mov word [eax], dx
call fcn.004b90b0
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [eax + 8]
call fcn.004f4c60
push eax
lea ecx, [esp + 0x14]
call fcn.004b8f70
mov edx, dword [esp + 0x14]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f839f
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b7ca0
add esp, 4
push ecx
mov eax, esp
mov edx, 0x20
lea ecx, [esp + 0x14]
mov word [eax], dx
call fcn.004b90b0
mov ecx, dword [esi]
push 0
lea eax, [esp + 0x38]
push 0
push eax
mov eax, dword [ecx + 4]
call fcn.004f44d0
mov edx, dword [esp + 0x40]
push 0xa
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004bc2d0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
call fcn.004b8f70
mov ecx, dword [esp + 0x14]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f83fe
mov eax, dword [esp + 0x14]
push eax
call fcn.004b7ca0
add esp, 4
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f84aa
mov eax, dword [esp + 0x18]
jmp 0x4f84a1
push edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [eax + 4]
call fcn.004f7ad0
push eax
lea ecx, [esp + 0x14]
call fcn.004b7cb0
mov edx, dword [esp + 0x14]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f844a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b7ca0
add esp, 4
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], 0
jne 0x4f8462
mov dword [ebp], 0x6bb0d4
mov eax, 0x6bb0d4
jmp 0x4f84b1
push ecx
mov eax, esp
mov edx, 0x20
lea ecx, [esp + 0x14]
mov word [eax], dx
call fcn.004b90b0
mov esi, dword [esi]
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 8]
call fcn.004f4c60
push eax
lea ecx, [esp + 0x14]
call fcn.004b8f70
mov ecx, dword [esp + 0x14]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f84aa
mov eax, dword [esp + 0x14]
push eax
call fcn.004b7ca0
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [ebp], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4f84d4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004b7ca0
add esp, 4
mov ecx, dword [esp + 0x238]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0057340c
add esp, 0x22c
ret 8