Function at 0x3003fd20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x3001dedc]
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.3003f988
test al, al
jne 0x300402c7
mov eax, dword [ebp + 0x18]
cmp eax, 0xc
jg 0x3003ff6b
je 0x3003fedf
mov ecx, eax
sub ecx, 0
je 0x3003fe5f
dec ecx
je 0x3003fdec
dec ecx
dec ecx
je 0x3003fe5f
dec ecx
jne 0x3003ff86
mov eax, dword [esi]
mov ecx, dword [0x3007ce1c]
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.3003d992
mov dword [ebp - 0x208], eax
jmp 0x300402b9
call fcn.30040b45
test al, al
je 0x3003fe38
push dword [esi + 0xc]
call fcn.3003fa19
test al, al
je 0x3003fe38
mov eax, dword [esi]
push dword [ebp + 0xc]
imul eax, eax, 0x24
push dword [ebp - 0x20c]
mov ecx, dword [0x3007ce1c]
push 2
push dword [eax + ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
mov dword [ebp - 0x208], eax
jbe 0x3003fe38
mov ecx, dword [ebp - 0x210]
mov dword [ecx], eax
jmp 0x300402b9
mov eax, dword [esi + 0xc]
mov ecx, dword [0x3007ce1c]
mov dword [ebp - 0x218], eax
mov eax, dword [esi]
imul eax, eax, 0x24
mov ebx, dword [eax + ecx + 4]
mov dword [ebp - 0x214], 0x3001dd5c
jmp 0x3003ff38
mov ebx, dword [esi]
push ebx
call fcn.3003c9a1
test al, al
jne 0x300402c7
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.3003ea84
test eax, eax
mov dword [edi], eax
jl 0x3003fe9d
mov ecx, dword [ebp - 0x228]
test ecx, ecx
jne 0x3003fea3
mov ecx, dword [ebp - 0x21c]
cmp eax, 0x8007000e
je 0x300402b9
cmp dword [ebp + 0x18], 0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 0x3001dd84
je 0x3003fed1
mov dword [ebp - 0x214], 0x3001dda8
mov eax, dword [0x3007ce1c]
imul ecx, ecx, 0x24
mov ebx, dword [eax + ecx + 4]
jmp 0x3003ff38
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x220], 0
mov dword [ebp - 0x214], 0x3001dd38
jne 0x3003ff13
lea eax, [ebp - 0x220]
push eax
push dword [esi]
call fcn.3003e9c1
test eax, eax
mov dword [edi], eax
jl 0x300402cd
push edi
push 0
push 5
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x220]
call fcn.3003dcf4
test eax, eax
je 0x300402b9
lea ebx, [ebp - 0x104]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x21c], ecx
and dword [ebp - 0x21c], 0x7100
je 0x30040080
xor eax, eax
test dword [eax*8 + 0x3001da34], ecx
jne 0x3004005c
inc eax
cmp eax, 4
jl 0x3003ff53
jmp 0x30040080
mov ecx, eax
sub ecx, 0xd
je 0x3003fee8
sub ecx, 0x1c
je 0x30040010
dec ecx
je 0x30040019
imul eax, eax, 0x14
mov ecx, dword [eax + 0x3001d080]
test cl, 0x10
mov dword [ebp - 0x228], eax
je 0x3003ffa6
mov dword [ebp - 0x214], 0x3001dd04
jmp 0x30040005
test cl, 0x20
je 0x30040005
test ebx, ebx
jne 0x3003ffcf
lea eax, [ebp - 0x224]
push eax
push 1
push dword [esi]
call fcn.3003e191
test eax, eax
mov dword [edi], eax
jl 0x300402cd
mov ebx, dword [ebp - 0x224]
mov eax, dword [0x3007ce50]
push 0
shl ebx, 4
push dword [ebx + eax + 4]
lea eax, [ebp - 0x104]
push 0x7f
push eax
call fcn.3004077f
test al, al
je 0x300402b9
lea eax, [ebp - 0x104]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x228]
mov ebx, dword [eax + 0x3001d074]
jmp 0x3003ff38
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x218], eax
test ebx, ebx
mov dword [ebp - 0x214], 0x3001ddcc
jne 0x3004004b
lea eax, [ebp - 0x224]
push eax
push 1
push dword [ebp - 0x21c]
call fcn.3003e191
test eax, eax
mov dword [edi], eax
jl 0x300402cd
mov ebx, dword [ebp - 0x224]
mov eax, dword [0x3007ce50]
shl ebx, 4
mov ebx, dword [ebx + eax + 4]
jmp 0x3003ff38
push ebx
push dword [eax*8 + 0x3001da38]
lea eax, [ebp - 0x204]
push 0x7f
push eax
call fcn.3004080a
test al, al
je 0x300402b9
lea ebx, [ebp - 0x204]
lea eax, [ebp - 0x254]
push eax
push 0
push ebx
push dword [ebp - 0x214]
push dword [ebp - 0x218]
call fcn.3003f7d3
test eax, eax
jl 0x300400ca
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
test eax, eax
mov ecx, dword [ebp + 0x18]
jne 0x30040113
mov edx, ecx
imul edx, edx, 0x14
test word [edx + 0x3001d080], 0x4000
jne 0x30040113
lea eax, [ebp - 0x254]
push eax
call fcn.3003f840
cmp dword [ebp - 0x21c], 0
jne 0x300402b9
mov eax, dword [ebp + 0x18]
xor edx, edx
sub eax, edx
je 0x30040266
push 3
pop ecx
sub eax, ecx
je 0x30040266
dec eax
dec eax
je 0x3003fdbd
sub eax, ecx
je 0x30040207
sub eax, ecx
je 0x300401dd
sub eax, ecx
je 0x3004017d
sub eax, 4
jmp 0x30040259
imul ecx, ecx, 0x14
mov ecx, dword [ecx + 0x3001d080]
test cx, 0x2000
jne 0x30040291
test cx, cx
jns 0x30040148
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
call fcn.3004088d
mov ecx, dword [ebp - 0x210]
mov dword [ecx], eax
jmp 0x300402a7
test cx, 0x4000
je 0x300402ad
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.30040c92
jmp 0x300402a7
cmp dword [ebp - 0x220], edx
je 0x300401a5
push edi
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
push dword [ebp - 0x220]
call fcn.3003dcf4
jmp 0x3004024c
mov eax, dword [esi]
mov ecx, dword [0x3007ce1c]
imul eax, eax, 0x24
push dword [eax + ecx + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.30040963
mov eax, dword [ebp - 0x234]
test eax, eax
jbe 0x30040252
push edi
push 4
mov ecx, dword [ebp - 0x23c]
lea eax, [ecx + eax*2]
push eax
jmp 0x30040238
mov eax, dword [esi]
mov ecx, dword [0x3007ce1c]
imul eax, eax, 0x24
push dword [eax + ecx + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.30040963
mov eax, dword [ebp - 0x230]
test eax, eax
jbe 0x30040252
push edi
push 2
jmp 0x300401d1
mov eax, dword [esi]
mov ecx, dword [0x3007ce1c]
imul eax, eax, 0x24
push dword [eax + ecx + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.30040963
cmp dword [ebp - 0x238], 0
jbe 0x30040252
push edi
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
call fcn.3003fcb2
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x300402b9
push edi
push 0x30001608
jmp 0x3003fdcd
lea eax, [ebp - 0x254]
push eax
push edx
push ebx
push 0x3001dd5c
push dword [ebp - 0x218]
call fcn.3003f7d3
test eax, eax
mov dword [edi], eax
jl 0x300402cd
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
test eax, eax
je 0x300402ad
push edi
push eax
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x20c]
call fcn.3003d992
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x254]
push eax
call fcn.3003f840
cmp dword [edi], 0
jl 0x300402cd
cmp dword [ebp - 0x208], 0
jne 0x300402cd
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.30040fc0
leave
ret 0x1c