Function at 0x30068426
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x3002226c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [esi + 8]
mov dword [ebp - 0x20c], eax
mov eax, dword [esi]
xor edx, edx
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], eax
mov eax, dword [esi + 4]
mov dword [ecx], edx
push esi
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x208], edx
mov dword [edi], edx
call fcn.3006808e
test al, al
jne 0x300689cd
mov eax, dword [ebp + 0x18]
cmp eax, 0xc
jg 0x30068671
je 0x300685e5
mov ecx, eax
sub ecx, 0
je 0x30068565
dec ecx
je 0x300684f2
dec ecx
dec ecx
je 0x30068565
dec ecx
jne 0x3006868c
mov eax, dword [esi]
mov ecx, dword [0x300d731c]
imul eax, eax, 0x24
push edi
push dword [eax + ecx + 4]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
call fcn.30066098
mov dword [ebp - 0x208], eax
jmp 0x300689bf
call fcn.3006924b
test al, al
je 0x3006853e
push dword [esi + 0xc]
call fcn.3006811f
test al, al
je 0x3006853e
mov eax, dword [esi]
push dword [ebp + 0xc]
imul eax, eax, 0x24
push dword [ebp - 0x20c]
mov ecx, dword [0x300d731c]
push 2
push dword [eax + ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
mov dword [ebp - 0x208], eax
jbe 0x3006853e
mov ecx, dword [ebp - 0x210]
mov dword [ecx], eax
jmp 0x300689bf
mov eax, dword [esi + 0xc]
mov ecx, dword [0x300d731c]
mov dword [ebp - 0x218], eax
mov eax, dword [esi]
imul eax, eax, 0x24
mov ebx, dword [eax + ecx + 4]
mov dword [ebp - 0x214], 0x300220ec
jmp 0x3006863e
mov ebx, dword [esi]
push ebx
call fcn.300650a7
test al, al
jne 0x300689cd
and dword [ebp - 0x228], 0
lea eax, [ebp - 0x228]
push eax
xor eax, eax
cmp dword [ebp + 0x18], eax
setne al
inc eax
push eax
push ebx
call fcn.3006718a
test eax, eax
mov dword [edi], eax
jl 0x300685a3
mov ecx, dword [ebp - 0x228]
test ecx, ecx
jne 0x300685a9
mov ecx, dword [ebp - 0x21c]
cmp eax, 0x8007000e
je 0x300689bf
cmp dword [ebp + 0x18], 0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 0x30022114
je 0x300685d7
mov dword [ebp - 0x214], 0x30022138
mov eax, dword [0x300d731c]
imul ecx, ecx, 0x24
mov ebx, dword [eax + ecx + 4]
jmp 0x3006863e
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x220], 0
mov dword [ebp - 0x214], 0x300220c8
jne 0x30068619
lea eax, [ebp - 0x220]
push eax
push dword [esi]
call fcn.300670c7
test eax, eax
mov dword [edi], eax
jl 0x300689d3
push edi
push 0
push 5
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x220]
call fcn.300663fa
test eax, eax
je 0x300689bf
lea ebx, [ebp - 0x104]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x21c], ecx
and dword [ebp - 0x21c], 0x7100
je 0x30068786
xor eax, eax
test dword [eax*8 + 0x30021dc4], ecx
jne 0x30068762
inc eax
cmp eax, 4
jl 0x30068659
jmp 0x30068786
mov ecx, eax
sub ecx, 0xd
je 0x300685ee
sub ecx, 0x1c
je 0x30068716
dec ecx
je 0x3006871f
imul eax, eax, 0x14
mov ecx, dword [eax + 0x30021410]
test cl, 0x10
mov dword [ebp - 0x228], eax
je 0x300686ac
mov dword [ebp - 0x214], 0x30022094
jmp 0x3006870b
test cl, 0x20
je 0x3006870b
test ebx, ebx
jne 0x300686d5
lea eax, [ebp - 0x224]
push eax
push 1
push dword [esi]
call fcn.30066897
test eax, eax
mov dword [edi], eax
jl 0x300689d3
mov ebx, dword [ebp - 0x224]
mov eax, dword [0x300d7350]
push 0
shl ebx, 4
push dword [ebx + eax + 4]
lea eax, [ebp - 0x104]
push 0x7f
push eax
call fcn.30068e85
test al, al
je 0x300689bf
lea eax, [ebp - 0x104]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x228]
mov ebx, dword [eax + 0x30021404]
jmp 0x3006863e
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x218], eax
test ebx, ebx
mov dword [ebp - 0x214], 0x3002215c
jne 0x30068751
lea eax, [ebp - 0x224]
push eax
push 1
push dword [ebp - 0x21c]
call fcn.30066897
test eax, eax
mov dword [edi], eax
jl 0x300689d3
mov ebx, dword [ebp - 0x224]
mov eax, dword [0x300d7350]
shl ebx, 4
mov ebx, dword [ebx + eax + 4]
jmp 0x3006863e
push ebx
push dword [eax*8 + 0x30021dc8]
lea eax, [ebp - 0x204]
push 0x7f
push eax
call fcn.30068f10
test al, al
je 0x300689bf
lea ebx, [ebp - 0x204]
lea eax, [ebp - 0x254]
push eax
push 0
push ebx
push dword [ebp - 0x214]
push dword [ebp - 0x218]
call fcn.30067ed9
test eax, eax
jl 0x300687d0
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
test eax, eax
mov ecx, dword [ebp + 0x18]
jne 0x30068819
mov edx, ecx
imul edx, edx, 0x14
test word [edx + 0x30021410], 0x4000
jne 0x30068819
lea eax, [ebp - 0x254]
push eax
call fcn.30067f46
cmp dword [ebp - 0x21c], 0
jne 0x300689bf
mov eax, dword [ebp + 0x18]
xor edx, edx
sub eax, edx
je 0x3006896c
push 3
pop ecx
sub eax, ecx
je 0x3006896c
dec eax
dec eax
je 0x300684c3
sub eax, ecx
je 0x3006890d
sub eax, ecx
je 0x300688e3
sub eax, ecx
je 0x30068883
sub eax, 4
jmp 0x3006895f
imul ecx, ecx, 0x14
mov ecx, dword [ecx + 0x30021410]
test cx, 0x2000
jne 0x30068997
test cx, cx
jns 0x3006884e
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
call fcn.30068f93
mov ecx, dword [ebp - 0x210]
mov dword [ecx], eax
jmp 0x300689ad
test cx, 0x4000
je 0x300689b3
push edi
push 0
push 0
push dword [ebp - 0x254]
push dword [ebp - 0x250]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
call fcn.30069398
jmp 0x300689ad
cmp dword [ebp - 0x220], edx
je 0x300688ab
push edi
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
push dword [ebp - 0x220]
call fcn.300663fa
jmp 0x30068952
mov eax, dword [esi]
mov ecx, dword [0x300d731c]
imul eax, eax, 0x24
push dword [eax + ecx + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.30069069
mov eax, dword [ebp - 0x234]
test eax, eax
jbe 0x30068958
push edi
push 4
mov ecx, dword [ebp - 0x23c]
lea eax, [ecx + eax*2]
push eax
jmp 0x3006893e
mov eax, dword [esi]
mov ecx, dword [0x300d731c]
imul eax, eax, 0x24
push dword [eax + ecx + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.30069069
mov eax, dword [ebp - 0x230]
test eax, eax
jbe 0x30068958
push edi
push 2
jmp 0x300688d7
mov eax, dword [esi]
mov ecx, dword [0x300d731c]
imul eax, eax, 0x24
push dword [eax + ecx + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.30069069
cmp dword [ebp - 0x238], 0
jbe 0x30068958
push edi
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
call fcn.300683b8
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x300689bf
push edi
push 0x300049f8
jmp 0x300684d3
lea eax, [ebp - 0x254]
push eax
push edx
push ebx
push 0x300220ec
push dword [ebp - 0x218]
call fcn.30067ed9
test eax, eax
mov dword [edi], eax
jl 0x300689d3
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
test eax, eax
je 0x300689b3
push edi
push eax
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
call fcn.30066098
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x254]
push eax
call fcn.30067f46
cmp dword [edi], 0
jl 0x300689d3
cmp dword [ebp - 0x208], 0
jne 0x300689d3
mov dword [edi], 0x80004005
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x208]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.300696c7
leave
ret 0x1c