Function at 0x10001ca0
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c4
mov eax, dword [0x1000a004]
xor eax, esp
mov dword [esp + 0x2c0], eax
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [esp + 0x48], eax
xor eax, eax
push edi
mov edi, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov edi, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
call fcn.10007939
xor esi, esi
mov ecx, dword [esi + 0x1000a018]
call fcn.100084a3
mov dword [esi + 0x1000a01c], eax
add esi, 0x14
cmp esi, 0x244
jb 0x10001d32
push 0x14
lea eax, [esp + 0xa8]
push eax
push 0xc
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x10001d73
mov word [esp + 0xa4], 0x2c
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
lea eax, [esp + 0xb0]
mov ecx, ebx
push eax
call fcn.100035b5
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x10002390
cmp dword [esp + 0x28], eax
jbe 0x10001e1d
mov ecx, dword [0x1000abd4]
cmp dword [ecx + 4], 0
je 0x10001db1
mov dword [esp + 0x1c], eax
cmp dword [ecx], 0x3001001f
je 0x10001e0b
cmp dword [ecx], 0x3003001f
je 0x10001e07
cmp dword [ecx], 0x3a06001f
je 0x10001e01
cmp dword [ecx], 0x3a11001f
je 0x10001dfb
cmp dword [ecx], 0x3a16001f
je 0x10001df5
cmp dword [ecx], 0x3a44001f
je 0x10001def
cmp dword [ecx], 0x3a4f001f
jne 0x10001e0f
mov dword [esp + 0x64], eax
jmp 0x10001e0f
mov dword [esp + 0x58], eax
jmp 0x10001e0f
mov dword [esp + 0x54], eax
jmp 0x10001e0f
mov dword [esp + 0x60], eax
jmp 0x10001e0f
mov dword [esp + 0x5c], eax
jmp 0x10001e0f
mov edi, eax
jmp 0x10001e0f
mov dword [esp + 0x48], eax
inc eax
add ecx, 0x14
cmp eax, dword [esp + 0x28]
jb 0x10001da7
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x50]
call fcn.10008798
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x10002390
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0xa8]
call fcn.1000190a
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x10002390
mov eax, dword [0x1000abd8]
xor ecx, ecx
inc ecx
mov dword [esp + 0x84], eax
cmp eax, ecx
ja 0x10001e71
mov dword [esp + 0x84], ecx
and dword [esp + 0x80], 0
lea eax, [esp + 0xb8]
push 0x105
push eax
push 0x5de
push dword [0x1000abe0]
call dword [sym.imp.USER32.dll_LoadStringW]
mov ebx, dword [esp + 0x68]
lea ecx, [esp + 0xb8]
neg eax
mov esi, esp
sbb eax, eax
and eax, ecx
mov ecx, ebx
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x3c]
call dword [0x1000b17c]
call ebx
cmp esi, esp
je 0x10001ed2
mov ecx, 4
int 0x29
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0xac]
call fcn.10003122
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x10002373
mov esi, dword [esp + 0x24]
mov ecx, edi
mov ebx, dword [esp + 0x18]
mov edx, dword [0x1000abd4]
push 1
push esi
push ebx
push dword [esp + 0x34]
call fcn.100019a5
test eax, eax
je 0x10001f22
mov eax, dword [ebx + edi*4]
mov dword [esp + 0x34], eax
push dword [esp + 0x54]
lea ecx, [esp + 0x24]
push edi
push dword [esp + 0x60]
push dword [esp + 0x68]
push dword [esp + 0x70]
push dword [esp + 0x78]
push dword [esp + 0x60]
push esi
push ebx
push dword [esp + 0x4c]
call fcn.100019e7
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
xor eax, eax
cmp dword [ecx], eax
sete al
lea eax, [eax*4 + 1]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x14]
mov edi, esp
push edx
push eax
mov eax, dword [0x1000abd0]
mov esi, dword [ecx]
push dword [eax + 0xc]
mov esi, dword [esi + 0x4c]
push dword [eax + 8]
push ecx
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x10001f99
mov ecx, 4
int 0x29
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10002381
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
cmp ecx, eax
jae 0x10001fc1
mov eax, ecx
cmp ebx, eax
ja 0x1000213b
mov eax, dword [0x1000abd4]
cmp dword [esi + eax + 4], 0
je 0x10002132
cmp dword [esi + eax + 0xc], 0
je 0x10002132
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x1000212e
cmp byte [ecx], 0
je 0x1000212e
mov eax, dword [esi + eax]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10002012
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [edi + ebx*4]
call fcn.10001c42
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10002368
cmp dword [esp + 0x70], 0x3003001f
mov dword [esp + 0x78], eax
jne 0x1000209c
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x10002060
mov al, byte [ecx]
cmp al, 0x40
je 0x10002066
jmp 0x1000205c
js 0x10002066
cmp al, 0xd
je 0x10002066
cmp al, 0xa
je 0x10002066
push ecx
cmp al, 0x40
je 0x1000208d
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x10002043
xor eax, eax
test eax, eax
jne 0x1000209c
push dword [esp + 0x4c]
push dword [esp + 0x38]
push dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.1000704c
test eax, eax
jne 0x10002361
and dword [esp + 0x34], eax
jmp 0x1000212e
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
call fcn.100018c8
jmp 0x10002062
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x70]
mov edi, esp
push 0
push ecx
mov esi, dword [eax]
push 1
push eax
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x100020c6
mov ecx, 4
int 0x29
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10002381
cmp dword [esp + 0x70], 0x3003001f
jne 0x10002126
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x70]
mov edi, esp
mov dword [esp + 0x70], 0x3002001f
push 0
mov dword [esp + 0x7c], 0x1000148c
mov esi, dword [eax]
push ecx
push 1
push eax
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x10002118
mov ecx, 4
int 0x29
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10002381
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
inc ebx
add esi, 0x14
jmp 0x10001faf
mov ebx, dword [esp + 0x8c]
cmp ebx, dword [esp + 0x48]
je 0x100021bd
cmp ebx, 0xffffffff
je 0x100021bd
cmp ebx, 0xfffffffe
je 0x100021bd
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], 0x3001001f
test eax, eax
je 0x10002169
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + ebx*4]
call fcn.10001c42
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10002368
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x70]
mov eax, dword [esp + 0x14]
mov edi, esp
push 0
push ecx
push 1
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x100021af
mov ecx, 4
int 0x29
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10002381
mov eax, dword [esp + 0x14]
mov edi, esp
push 5
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x100021e0
mov ecx, 4
int 0x29
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jns 0x100022b1
cmp ebx, 0x80040604
jne 0x100022b1
mov ecx, dword [esp + 0x4c]
cmp dword [ecx], 2
jne 0x100022ab
mov edi, dword [esp + 0x20]
mov dword [esp + 0x90], edi
test edi, edi
jne 0x10002221
mov dword [esp + 0x90], 0x10001120
mov eax, dword [esp + 0x34]
push 4
pop ebx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x90]
push eax
push 0x10007fa0
push dword [esp + 0x40]
mov dword [esp + 0xa4], ebx
push 0x44f
push dword [0x1000abe0]
mov dword [esp + 0xb4], ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, dword [esp + 0x98]
sub eax, 0
je 0x10002271
dec eax
sub eax, 1
jne 0x100022a2
mov eax, dword [esp + 0x14]
mov edi, esp
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x10002292
mov ecx, 4
int 0x29
mov eax, dword [esp + 0x3c]
and dword [esp + 0x14], 0
or eax, ebx
jmp 0x10001f63
sub eax, 3
je 0x10002361
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x18]
test edi, edi
je 0x100022e8
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
je 0x100022db
cmp dword [edi + esi*4], 0
je 0x100022d6
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jb 0x100022c3
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x68]
lea eax, [esp + 0x80]
inc dword [esp + 0x80]
mov esi, esp
push eax
push dword [esp + 0x3c]
mov ecx, edi
call dword [0x1000b17c]
call edi
cmp esi, esp
je 0x10002316
mov ecx, 4
int 0x29
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10002340
mov eax, dword [ecx]
mov edi, esp
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x1000233b
mov ecx, 4
int 0x29
and dword [esp + 0x14], 0
mov edi, dword [esp + 0x20]
test edi, edi
je 0x10002354
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [esp + 0x20], 0
test ebx, ebx
jne 0x10002381
mov edi, dword [esp + 0x6c]
jmp 0x10001ed2
mov ebx, 0x80040113
jmp 0x1000237d
mov ebx, 0x8007000e
mov dword [esp + 0x10], ebx
jmp 0x10002390
cmp ebx, 0x8004010f
jne 0x10002381
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10002390
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x30], 0
je 0x100023a1
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100023b0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100023d5
mov eax, dword [ecx]
mov edi, esp
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x100023d5
mov ecx, 4
int 0x29
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x100023fa
mov eax, dword [ecx]
mov edi, esp
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x100023fa
mov ecx, 4
int 0x29
xor esi, esi
mov eax, dword [esi + 0x1000a01c]
test eax, eax
je 0x1000240d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
add esi, 0x14
cmp esi, 0x244
jb 0x100023fc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000244f
mov edi, dword [esp + 0x24]
xor esi, esi
test edi, edi
je 0x10002448
mov ebx, eax
cmp dword [ebx + esi*4], 0
je 0x1000243b
push dword [ebx + esi*4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc esi
cmp esi, edi
jb 0x1000242c
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [0x1000abd0]
test ecx, ecx
je 0x10002465
call fcn.100079e4
and dword [0x1000abd0], 0
mov ecx, dword [esp + 0x2cc]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10009160
mov esp, ebp
pop ebp
ret 0x14