Function at 0x21003b1d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push 0x30c
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.21053be0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x21003b55
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
je 0x21003b55
mov dword [ebp - 0x230], 0
jmp 0x21003b5f
mov dword [ebp - 0x230], 1
cmp dword [ebp - 0x230], 0
jne 0x21003ba1
mov eax, dword [ebp + 8]
push eax
call fcn.2104b5b0
test eax, eax
je 0x21003b86
mov ecx, dword [ebp + 8]
push ecx
call fcn.2104b6c4
mov dword [ebp - 0x234], eax
jmp 0x21003b8f
mov edx, dword [ebp + 8]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
push eax
push 0x20
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.21003071
mov edx, dword [ebp + 0xc]
mov word [edx + 0x20], 0x401
mov eax, dword [ebp + 0xc]
mov word [eax + 0x22], 0x334
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x24], 0x9c
mov edx, dword [ebp + 0xc]
mov word [edx + 0x26], 0x270
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x28], 0x66e03
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x2c], 1
mov edx, dword [ebp + 0xc]
mov ax, word [0x2108ac88]
mov word [edx + 0x2e], ax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.2100abb0
mov edx, dword [ebp + 0xc]
mov word [edx + 0x38], 1
mov eax, dword [ebp + 0xc]
mov word [eax + 0x36], 1
call fcn.21043f50
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x3a], ax
mov edx, dword [ebp + 0xc]
mov word [edx + 0x3c], 2
call fcn.21043f50
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x40], ax
mov edx, dword [ebp + 0xc]
mov word [edx + 0x42], 3
call fcn.21043f50
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x66], ax
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x68], 0x18
mov eax, dword [ebp + 0xc]
mov word [eax + 0x34], 0x64
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x9c], 0x5046
mov edx, dword [ebp + 0xc]
mov word [edx + 0x9e], 8
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0
call fcn.21044000
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
push 0
lea edx, [ebp - 0x104]
push edx
call fcn.21054486
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
call fcn.2100a7c0
test eax, eax
jne 0x21003cb8
lea ecx, [ebp - 0x208]
push ecx
push 0x20
mov edx, dword [ebp + 0xc]
add edx, 0xa0
push edx
call fcn.21003071
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc0], 0x1363f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc0]
or dl, 0x80
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc0], edx
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0xf6], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc0]
or ah, 0x40
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc0], eax
mov edx, dword [ebp + 0xc]
mov word [edx + 0x202], 0x8000
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc0]
or ecx, 0x40
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc0], ecx
mov eax, dword [ebp + 0xc]
mov word [eax + 0xf8], 1
cmp dword [0x2108afc4], 2
jl 0x21003d88
push 0x20
lea ecx, [ebp - 0x22c]
push ecx
push 0x100a
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0xa
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x22c]
push eax
call fcn.2105446f
add esp, 0xc
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 8
jb 0x21003d88
cmp dword [ebp - 0x238], 9
jbe 0x21003d7c
jmp 0x21003d88
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0xf8], 2
call fcn.21043f50
mov edx, dword [ebp + 0xc]
mov word [edx + 0xc4], ax
push 0x2107f470
mov ecx, dword [ebp + 0xc]
add ecx, 0xc6
call fcn.2101eb60
mov eax, dword [ebp + 0xc]
mov word [eax + 0xce], 1
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0xd2], 0x31
mov edx, dword [ebp + 0xc]
mov ax, word [edx + 0xd2]
or al, 0xc0
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0xd2], ax
mov edx, dword [ebp + 0xc]
mov word [edx + 0x308], 0x12c
mov eax, dword [ebp + 0xc]
mov word [eax + 0x1fe], 0x60
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x200], 0x4b
mov edx, dword [ebp + 0xc]
mov word [edx + 0xf4], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc0]
or ch, 8
mov edx, dword [ebp + 0xc]
mov dword [edx + 0xc0], ecx
push 0x2108ac90
push 0x20
mov eax, dword [ebp + 0xc]
add eax, 0xd4
push eax
call fcn.21003071
mov esp, ebp
pop ebp
ret 8