Function at 0x1003e8d6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003e91f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x4c]
push 1
push dword [ebp - 0x54]
push dword [ebp - 0x7c]
push dword [ebp - 0x5c]
push 0x67ea
call fcn.1003ebfd
add esp, 0x18
jmp 0x1003ebf9
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x1003ebdc
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1003e9b5
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffea
jne 0x1003ebda
mov dword [ebp - 0xc], 0xa73d
mov dword [ebp - 0x70], 0xfffffffc
mov dword [ebp - 0x90], 0x753f3ac9
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x9c], 0x34c266d8
mov dword [ebp - 0x94], 0x5848308f
mov dword [ebp - 0x10], 0
jmp 0x1003ea04
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1003ea1a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x98], 0x162c5d17
jmp 0x1003e9fd
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
je 0x1003ea2d
mov dword [ebp - 0x38], 1
jmp 0x1003ea31
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x1003ea51
mov eax, 0x7a0
test eax, eax
jne 0x1003ea51
and dword [ebp - 0x24], 0
jmp 0x1003ea58
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
push 0
mov ecx, dword [ebp - 0x48]
call fcn.1001b01e
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], eax
jl 0x1003ea94
mov dword [ebp - 0x44], 1
jmp 0x1003ea98
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
imul eax, dword [ebp - 0x44]
cmp eax, 0x6746
jl 0x1003eab1
mov dword [ebp - 0x2c], 1
jmp 0x1003eab5
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0x16652d0d
je 0x1003eac7
mov dword [ebp - 0x3c], 1
jmp 0x1003eacb
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x3c], eax
jl 0x1003eadc
mov dword [ebp - 0x20], 1
jmp 0x1003eae0
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x28]
jle 0x1003eaf6
mov dword [ebp - 0x30], 1
jmp 0x1003eafa
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
cmp dword [ebp - 0x38], eax
jne 0x1003eb0e
mov dword [ebp - 0x40], 1
jmp 0x1003eb12
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x40], eax
jge 0x1003eb4f
mov dword [ebp - 0x78], 2
cmp dword [ebp - 0x78], 0
je 0x1003eb2c
jmp 0x1003ebda
push 0xc24
push 0
push 0x18ef
push 0x5979
push 0x72fa
push dword [ebp - 0x48]
call fcn.1003ebfd
add esp, 0x18
jmp 0x1003eb86
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 4]
test eax, eax
je 0x1003eb6f
push 0x6a01
push 0x1d79
push 0
call fcn.1002cd57
add esp, 0xc
mov byte [ebp - 3], 0
movzx eax, byte [ebp - 3]
test eax, eax
je 0x1003eb86
push 1
push 1
call fcn.10028651
pop ecx
pop ecx
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1003ebd5
push 0x40b7
push 0x3111
push 0x56a8
push 0
push 0x26d6
push 0x2300
push 0x57e3
push 0x26ca
push 0x78df
push 0x7ec9
push 0x52be
push 0x2fbb
push 1
call fcn.10029085
add esp, 0x34
jmp 0x1003e9aa
jmp 0x1003ebf9
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003ebf9
push 0x7aa
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret