Function at 0x1002148d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d3ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10021526
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100214fe
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 4], eax
jmp 0x10021521
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10021521
push 0
push 0x9ec
call dword [sym.imp.GDI32.dll_SetLayout]
jmp 0x10021781
lea eax, [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10021770
mov dword [ebp - 0x44], 0x1fd7
cmp dword [ebp - 0x44], 0x8af
jge 0x10021728
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x10615218
call fcn.10033aab
lea ecx, [ebp - 0x64]
call fcn.10016741
and dword [ebp - 4], 0
lea edx, [ebp - 0x64]
mov ecx, 0x10615218
call fcn.10035958
push 0x10007675
lea ecx, [ebp - 0x7c]
call fcn.10016752
mov byte [ebp - 4], 1
and dword [ebp - 0x14], 0
jmp 0x10021593
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x64]
call fcn.10033aa7
cmp dword [ebp - 0x14], eax
jae 0x100216f7
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x61
je 0x1002161a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x6f
je 0x1002161a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x75
je 0x1002161a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x65
je 0x1002161a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x69
je 0x1002161a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x79
jne 0x100216d9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov esi, dword [ebp - 0x14]
inc esi
lea ecx, [ebp - 0x64]
call fcn.10033aa7
cmp esi, eax
jae 0x100216be
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x61
je 0x100216b2
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x6f
je 0x100216b2
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x75
je 0x100216b2
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x65
je 0x100216b2
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x69
je 0x100216b2
mov eax, dword [ebp - 0x14]
inc eax
push eax
lea ecx, [ebp - 0x64]
call fcn.1001678b
movsx eax, byte [eax]
cmp eax, 0x79
jne 0x100216be
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x10021620
push dword [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.1001678b
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x7c]
call fcn.10033a96
jmp 0x100216f2
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.1001678b
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x7c]
call fcn.10033a96
jmp 0x1002158c
push 0x10035afa
lea edx, [ebp - 0x7c]
mov ecx, 0x106150f8
call fcn.1003595d
mov ecx, eax
call fcn.10033c6a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10016781
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.10016781
mov byte [ebp - 0xd], 0
push 0x5dc
push 0x7258
push 0x1544
push 1
push 1
push 0x3bed
push 0x50fd
lea eax, [ebp - 0xd]
push eax
push 0xa31
push 0xc07
push 0x648b
push 0x412d
push 0x3a2b
call fcn.1001d994
add esp, 0x34
jmp 0x10021781
push 0x1c73
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret