Function at 0x21003c6f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
push 0x34c
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.2105e780
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x21003ca9
mov ecx, dword [ebp + 8]
xor edx, edx
mov dx, word [ecx]
test edx, edx
je 0x21003ca9
mov dword [ebp - 0x458], 0
jmp 0x21003cb3
mov dword [ebp - 0x458], 1
cmp dword [ebp - 0x458], 0
jne 0x21003d00
mov eax, dword [ebp + 8]
push eax
call fcn.21054f30
add esp, 4
test eax, eax
je 0x21003ce0
mov ecx, dword [ebp + 8]
push ecx
call fcn.2105504c
add esp, 4
mov dword [ebp - 0x45c], eax
jmp 0x21003ce9
mov edx, dword [ebp + 8]
mov dword [ebp - 0x45c], edx
push 0
mov eax, dword [ebp - 0x45c]
push eax
push 0x20
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.21003492
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov word [edx + 0x40], 0x401
mov eax, dword [ebp + 0xc]
mov word [eax + 0x42], 0x432
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x44], 0xdc
mov edx, dword [ebp + 0xc]
mov word [edx + 0x46], 0x270
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x48], 0x66e03
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x4c], 1
mov edx, dword [ebp + 0xc]
mov ax, word [0x2109bbd4]
mov word [edx + 0x4e], ax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.2100c341
add esp, 4
mov edx, dword [ebp + 0xc]
mov word [edx + 0x58], 1
mov eax, dword [ebp + 0xc]
mov word [eax + 0x56], 1
call fcn.2104c93e
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x5a], ax
mov edx, dword [ebp + 0xc]
mov word [edx + 0x5c], 2
call fcn.2104c93e
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x60], ax
mov edx, dword [ebp + 0xc]
mov word [edx + 0x62], 3
call fcn.2104c93e
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0xa6], ax
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xa8], 0x18
mov eax, dword [ebp + 0xc]
mov word [eax + 0x54], 0x64
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x5e], 1
mov edx, dword [ebp + 0xc]
mov word [edx + 0xdc], 0x5046
mov eax, dword [ebp + 0xc]
mov word [eax + 0xde], 8
push 0x104
lea ecx, [ebp - 0x208]
push ecx
push 0
call fcn.2104d8ac
add esp, 0xc
push 0
lea edx, [ebp - 0x410]
push edx
push 0
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.2105ef80
add esp, 0x14
lea ecx, [ebp - 0x410]
push ecx
call fcn.2100c01f
add esp, 4
test eax, eax
jne 0x21003e35
push 0
push 0
lea edx, [ebp - 0x410]
push edx
push 0x20
mov eax, dword [ebp + 0xc]
add eax, 0xe0
push eax
call fcn.2100338d
add esp, 0x14
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x100], 0x1363f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x100]
or al, 0x80
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x100], eax
mov edx, dword [ebp + 0xc]
mov word [edx + 0x136], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x100]
or ch, 0x40
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x100], ecx
mov eax, dword [ebp + 0xc]
mov word [eax + 0x242], 0x8000
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x100]
or edx, 0x40
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x100], edx
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x138], 1
cmp dword [0x2109c230], 2
jl 0x21003f04
push 0x20
lea edx, [ebp - 0x454]
push edx
push 0x100a
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xa
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x454]
push ecx
call fcn.2105ef69
add esp, 0xc
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 8
jb 0x21003f04
cmp dword [ebp - 0x460], 9
jbe 0x21003ef8
jmp 0x21003f04
mov edx, dword [ebp + 0xc]
mov word [edx + 0x138], 2
call fcn.2104c93e
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x104], ax
push 0x2108a718
mov ecx, dword [ebp + 0xc]
add ecx, 0x106
call fcn.21021420
mov edx, dword [ebp + 0xc]
mov word [edx + 0x10e], 1
mov eax, dword [ebp + 0xc]
mov word [eax + 0x112], 0x31
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0x112]
or dl, 0xc0
mov eax, dword [ebp + 0xc]
mov word [eax + 0x112], dx
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x348], 0x12c
mov edx, dword [ebp + 0xc]
mov word [edx + 0x23e], 0x60
mov eax, dword [ebp + 0xc]
mov word [eax + 0x240], 0x4b
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x134], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x100]
or ah, 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x100], eax
push 0
push 0
push 0x2108a958
push 0x20
mov edx, dword [ebp + 0xc]
add edx, 0x114
push edx
call fcn.2100338d
add esp, 0x14
mov esp, ebp
pop ebp
ret