Function at 0x409280
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4096c3
sub esp, 0x30
cmp word [0xb0a9c4], 0x10
jne 0x4096ac
call fcn.0042f5d0
xor eax, eax
jmp 0x4092c7
lea edx, [eax + eax*4]
lea ebx, [0xb0a9c0]
movzx ebp, word [ebx + eax*2]
lea esi, [0xb56594]
mov dword [esi + edx*4], ebp
inc eax
cmp eax, 0x43
jge 0x4092d3
jb 0x4092b0
jmp 0x4096a2
mov eax, dword [0xb532ec]
test eax, eax
je 0x40968c
cmp eax, 0x80000
ja 0x409600
cmp eax, 0x1000
jb 0x409574
lea edx, [eax - 1]
test eax, edx
jne 0x409512
mov eax, dword [0xb532e8]
lea edx, [eax - 1]
test eax, edx
jne 0x4094b0
cmp eax, 0x400000
jbe 0x409324
mov dword [0xb532e8], 0
mov eax, dword [0xb532e8]
test eax, eax
jne 0x409339
jmp 0x409355
lea eax, [ecx + 1]
mov dword [0xb532e4], eax
mov ecx, dword [0xb532e4]
cmp ecx, 0x20
sbb eax, eax
mov edx, 1
shl edx, cl
and edx, eax
cmp dword [0xb532e8], edx
jne 0x409330
lea eax, [0xb44d20]
mov dword [esp], eax
call fcn.004215f0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call fcn.00413500
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp]
mov dword [eax + 0xbc], ecx
mov dword [esp], 0
mov dword [esp + 4], 0x10221000
call fcn.00414620
mov eax, dword [esp + 8]
test eax, eax
je 0x4093bd
nop
mov dword [0xb45040], eax
mov dword [0xb45044], eax
add eax, 0x10221000
mov dword [0xb45048], eax
mov eax, dword [0xb0b9d8]
test eax, eax
jae 0x4093c9
xor eax, eax
cmp dword [0xb45040], eax
ja 0x4094a9
mov ecx, dword [0xb45048]
cmp eax, ecx
jae 0x4094a9
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0x20000000
mov dword [esp + 0x24], 0x10000000
mov dword [esp + 0x28], 0x8000000
lea eax, [ecx + 0x43ffff]
and eax, 0xffc00000
mov dword [esp + 0x14], eax
xor ecx, ecx
jmp 0x409431
mov edx, dword [esp + 0x1c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x14]
cmp ecx, 3
jge 0x40947a
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x20]
mov ebx, dword [edx + ecx*4]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x400000
call fcn.00409cb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x409426
mov edx, eax
mov dword [0xb45050], eax
mov dword [0xb45054], eax
add eax, ecx
mov dword [0xb45058], eax
lea eax, [edx + ecx]
mov dword [esp + 0x18], eax
lea ecx, [0xb47294]
mov dword [esp], ecx
call fcn.00415440
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [0xb4504c]
mov dword [eax + 8], ecx
mov dword [0xb4504c], eax
add esp, 0x30
ret
mov ecx, eax
jmp 0x4093e3
call fcn.00432510
lea eax, [0x7efdf8]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00432db0
mov eax, dword [0xb532e8]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432ac0
lea eax, [0x7ef347]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00432db0
call fcn.00432580
lea eax, [0x7f1192]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00430c90
call fcn.00432510
lea eax, [0x7ec0e4]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00432db0
mov eax, dword [0xb532ec]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432ac0
lea eax, [0x7ef347]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00432db0
call fcn.00432580
lea eax, [0x7ed605]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00430c90
call fcn.00432510
lea eax, [0x7ec0e4]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00432db0
mov eax, dword [0xb532ec]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432ac0
lea eax, [0x7f806d]
mov dword [esp], eax
mov dword [esp + 4], 0x25
call fcn.00432db0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
call fcn.00432bf0
lea eax, [0x7e3209]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00432db0
call fcn.00432580
lea eax, [0x7ed605]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00430c90
call fcn.00432510
lea eax, [0x7ec0e4]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00432db0
mov eax, dword [0xb532ec]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432ac0
lea eax, [0x7f7845]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00432db0
mov dword [esp], 0x80000
mov dword [esp + 4], 0
call fcn.00432bf0
lea eax, [0x7e3209]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00432db0
call fcn.00432580
lea eax, [0x7ed605]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00430c90
lea eax, [0x7f4693]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00430c90
mov ecx, 0x43
call fcn.004596a0
lea eax, [0x7eb1b7]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00430c90
nop
call fcn.00457de0
jmp fcn.00409280