Function at 0x348a2a2a
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [eax + eax]
push ecx
push edi
push edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call sub.msvcr80.dll_memset
mov word [esi + 0x56], di
mov word [esi + 0x58], di
mov word [esi + 0x54], di
mov dword [esi + 0xe0], edi
mov esi, dword [esp + 0x38]
movzx eax, word [esi]
add esp, 0xc
cmp ax, 0x3b
je 0x348a2a97
movzx eax, ax
cmp ax, di
je 0x348a2a97
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
jne 0x348a2a85
movzx eax, word [esi]
cmp ax, di
je 0x348a2d72
jmp 0x348a2aa7
xor edi, edi
cmp ax, 0x20
jne 0x348a2ab6
add esi, 2
cmp word [esi], 0x20
je 0x348a2aad
cmp word [esi], 0x3b
jne 0x348a2d72
movzx eax, word [esi + 2]
add esi, 2
cmp ax, di
je 0x348a2d72
cmp ax, 0x20
jne 0x348a2ae2
lea esp, [esp]
add esi, 2
cmp word [esi], 0x20
je 0x348a2ad9
movzx eax, word [esi]
cmp ax, di
je 0x348a2d72
mov ebp, esi
cmp ax, 0x3d
je 0x348a2b0a
cmp ax, 0x20
je 0x348a2b0a
movzx eax, word [esi + 2]
add esi, 2
cmp ax, di
jne 0x348a2af0
jmp 0x348a2b0f
cmp word [esi], di
jne 0x348a2b1f
mov ecx, dword [esp + 0x3c]
push 1
push 0xfffffc15
call fcn.348a7e01
mov ebx, esi
sub ebx, ebp
sar ebx, 1
cmp word [esi], 0x20
jne 0x348a2b34
add esi, 2
cmp word [esi], 0x20
je 0x348a2b2b
cmp word [esi], 0x3d
jne 0x348a2b42
add esi, 2
cmp word [esi], di
jne 0x348a2b52
mov ecx, dword [esp + 0x3c]
push 1
push 0xfffffc15
call fcn.348a7e01
cmp word [esi], 0x20
mov edi, esi
jne 0x348a2b63
add esi, 2
cmp word [esi], 0x20
je 0x348a2b5a
cmp dword [esp + 0x14], 0
jne 0x348a2bf2
push 3
push ebp
push 0x34891f98
call fcn.348ce3d0
add esp, 0xc
test eax, eax
jne 0x348a2bf2
cmp ebx, 3
jne 0x348a2bf2
movzx eax, word [edi]
xor ecx, ecx
test ax, ax
mov dword [esp + 0x14], 1
mov esi, edi
je case.default.0x348a2c5e
movzx eax, ax
lea esp, [esp]
cmp ax, 0x3b
je case.default.0x348a2c5e
cmp ax, 0x5c
jne 0x348a2bbc
cmp word [esi + 2], 0
je 0x348a2bdd
cmp ecx, dword [esp + 0x34]
jae 0x348a2bdd
mov edx, dword [esp + 0x30]
add esi, 2
mov word [edx + ecx*2], ax
movzx eax, word [esi]
add ecx, 1
test ax, ax
jne 0x348a2ba5
jmp 0x348a2d70
mov ecx, dword [esp + 0x3c]
push 1
push 0xfffff88f
call fcn.348a7e01
jmp case.default.0x348a2c5e
cmp word [esi], 0
jne 0x348a2c0d
mov ecx, dword [esp + 0x3c]
push 1
push 0xfffffc15
call fcn.348a7e01
jmp case.default.0x348a2c5e
push 6
push ebp
push 0x34891fa0
call fcn.348ce3d0
add esp, 0xc
test eax, eax
jne 0x348a2c65
cmp ebx, 6
jne 0x348a2c65
xor ebx, ebx
push 0
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.msvcr80.dll_wcstol]
add esp, 0xc
cmp esi, dword [esp + 0x2c]
mov edi, eax
jne 0x348a2c51
mov ecx, dword [esp + 0x3c]
push 1
push 0xfffffc15
call fcn.348a7e01
cmp ebx, 3
mov esi, dword [esp + 0x2c]
ja case.default.0x348a2c5e
jmp dword [ebx*4 + 0x348a2de0]
push 2
push ebp
push 0x34891fb0
call fcn.348ce3d0
add esp, 0xc
test eax, eax
jne 0x348a2c85
cmp ebx, 2
jne 0x348a2c85
mov ebx, 1
jmp 0x348a2c28
push 7
push ebp
push 0x34891fb8
call fcn.348ce3d0
add esp, 0xc
test eax, eax
jne 0x348a2ca5
cmp ebx, 7
jne 0x348a2ca5
mov ebx, 2
jmp 0x348a2c28
push 4
push ebp
push 0x34891fc8
call fcn.348ce3d0
add esp, 0xc
test eax, eax
jne 0x348a2cc8
cmp ebx, 4
jne 0x348a2cc8
mov ebx, 3
jmp 0x348a2c28
push 7
push ebp
push 0x34891fd4
call fcn.348ce3d0
add esp, 0xc
test eax, eax
jne 0x348a2ceb
cmp ebx, 7
jne 0x348a2ceb
mov ebx, 4
jmp 0x348a2c28
movzx eax, word [esi]
test ax, ax
je 0x348a2d70
mov edi, edi
cmp ax, 0x3b
je case.default.0x348a2c5e
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x348a2cf5
jmp 0x348a2d70
mov ecx, dword [esp + 0x10]
mov word [ecx + 0x56], di
mov dword [esp + 0x20], 1
jmp case.default.0x348a2c5e
mov edx, dword [esp + 0x10]
mov word [edx + 0x58], di
mov dword [esp + 0x24], 1
jmp case.default.0x348a2c5e
mov eax, dword [esp + 0x10]
mov word [eax + 0x54], di
mov dword [esp + 0x1c], 1
jmp case.default.0x348a2c5e
mov ebx, dword [esp + 0x10]
mov ebp, 1
push edi
mov dword [ebx + 0xe0], edi
mov word [ebx + 0x56], di
mov word [ebx + 0x54], bp
call fcn.348bda4c
mov word [ebx + 0x58], ax
mov dword [esp + 0x18], ebp
movzx eax, word [esi]
test ax, ax
jne 0x348a2aa5
xor edi, edi
mov ecx, dword [esp + 0x3c]
test byte [ecx], 8
jne 0x348a2dd1
cmp dword [esp + 0x38], edi
jne 0x348a2dd1
cmp dword [esp + 0x18], edi
jne 0x348a2dd1
cmp dword [esp + 0x1c], edi
jne 0x348a2da3
push 1
push 0xfffffbdb
call fcn.348a7e01
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14
cmp dword [esp + 0x20], edi
jne 0x348a2dbf
push 1
push 0xfffffbda
call fcn.348a7e01
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14
cmp dword [esp + 0x24], edi
jne 0x348a2dd1
push 1
push 0xfffffbd9
call fcn.348a7e01
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14