Function at 0x21003cfd
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.210493f0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x21003d35
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
je 0x21003d35
mov dword [ebp - 0x230], 0
jmp 0x21003d3f
mov dword [ebp - 0x230], 1
cmp dword [ebp - 0x230], 0
jne 0x21003d81
mov eax, dword [ebp + 8]
push eax
call fcn.21042850
test eax, eax
je 0x21003d66
mov ecx, dword [ebp + 8]
push ecx
call fcn.21042964
mov dword [ebp - 0x234], eax
jmp 0x21003d6f
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.210032d1
mov edx, dword [ebp + 0xc]
mov word [edx + 0x20], 0x401
mov eax, dword [ebp + 0xc]
mov word [eax + 0x22], 0x319
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 [0x2107ba7c]
mov word [edx + 0x2e], ax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.21008ae0
mov edx, dword [ebp + 0xc]
mov word [edx + 0x38], 1
mov eax, dword [ebp + 0xc]
mov word [eax + 0x36], 1
call fcn.2103bde0
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x3a], ax
mov edx, dword [ebp + 0xc]
mov word [edx + 0x3c], 2
call fcn.2103bde0
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x40], ax
mov edx, dword [ebp + 0xc]
mov word [edx + 0x42], 3
call fcn.2103bde0
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.2103be90
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
push 0
lea edx, [ebp - 0x104]
push edx
call fcn.2104955c
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
call fcn.210086f0
test eax, eax
jne 0x21003e98
lea ecx, [ebp - 0x208]
push ecx
push 0x20
mov edx, dword [ebp + 0xc]
add edx, 0xa0
push edx
call fcn.210032d1
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 [0x2107bdb8], 2
jl 0x21003f68
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.21049e5f
add esp, 0xc
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 8
jb 0x21003f68
cmp dword [ebp - 0x238], 9
jbe 0x21003f5c
jmp 0x21003f68
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0xf8], 2
call fcn.2103bde0
mov edx, dword [ebp + 0xc]
mov word [edx + 0xc4], ax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x21071460]
mov dword [eax + 0xc6], ecx
mov edx, dword [0x21071464]
mov dword [eax + 0xca], edx
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 0x2107ba84
push 0x20
mov eax, dword [ebp + 0xc]
add eax, 0xd4
push eax
call fcn.210032d1
mov esp, ebp
pop ebp
ret 8