Function at 0x10008b70
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x5c
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea eax, [esp + 0xc]
push ebp
push edi
mov edi, dword [esp + 0x6c]
push 0x10
push eax
push 5
mov dword [esp + 0x1c], edi
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push eax
call ebp
cmp eax, 0x10
jae 0x10009229
mov byte [esp + eax + 0x14], 0
lea eax, [esp + 0x14]
push eax
call fcn.10027cb8
add esp, 4
mov dword [edi], eax
lea eax, [esp + 0x24]
push 0x40
push eax
push 0x14
call ebx
push eax
call ebp
lea ecx, [esp + 0x24]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x24], 0
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008be0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [edi + 0x10]
push 9
push eax
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
push 0
push 0
call esi
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0x1b
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
mov dword [edi + 0x24], eax
lea eax, [esp + 0x18]
push 0x10
push eax
push 0x1c
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
mov dword [edi + 0x28], eax
lea eax, [esp + 0x18]
push 0x10
push eax
push 0x19
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
cmp eax, 9
jge 0x10008cb3
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0x19
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
jmp 0x10008cb8
mov eax, 9
mov dword [edi + 0x2c], eax
lea eax, [esp + 0x28]
push 0x40
push eax
push 0x16
call ebx
push eax
call ebp
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008cd5
push 1
lea eax, [edi + 0x30]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call esi
push 0x40
lea eax, [esp + 0x2c]
push eax
push 0x17
call ebx
push eax
call ebp
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008d10
push 1
lea eax, [edi + 0x32]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call esi
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0x11
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
cmp eax, 9
jge 0x10008d84
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0x11
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
jmp 0x10008d89
mov eax, 9
mov dword [edi + 8], eax
lea eax, [esp + 0x18]
push 0x10
push eax
push 0x12
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
mov dword [edi + 0xc], eax
lea eax, [esp + 0x28]
push 0x40
push eax
push 0xe
call ebx
push eax
call ebp
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008dd2
push 1
lea eax, [edi + 4]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call esi
push 0x40
lea eax, [esp + 0x2c]
push eax
push 0xf
call ebx
push eax
call ebp
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008e07
push 1
lea eax, [edi + 6]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call esi
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0x23
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
mov dword [edi + 0x34], eax
lea eax, [esp + 0x18]
push 0x10
push eax
push 0x25
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
mov dword [edi + 0x38], eax
lea eax, [esp + 0x18]
push 0x10
push eax
push 0x1005
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009224
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027cb8
add esp, 4
mov dword [edi + 0x3c], eax
lea eax, [esp + 0x28]
push 0x40
push eax
push 0x28
call ebx
push eax
call ebp
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008ec3
push 9
lea eax, [edi + 0x44]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call esi
push 0x40
lea eax, [esp + 0x2c]
push eax
push 0x29
call ebx
push eax
call ebp
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008ef8
push 9
lea eax, [edi + 0x56]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call esi
push 0x40
lea eax, [esp + 0x2c]
push eax
push 0x1e
call ebx
push eax
call ebp
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008f30
push 1
lea eax, [edi + 0x40]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call esi
push 0x40
lea eax, [esp + 0x2c]
push eax
push 0x1f
call ebx
push eax
call ebp
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008f65
push 0x41
lea ebp, [edi + 0x68]
sub ecx, edx
push ebp
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call esi
mov dword [edi + 0x1d0], 1
lea esi, [edi + 0x124]
add edi, 0xec
mov ebx, 0x31
mov dword [esp + 0x10], edi
nop
push 0x40
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx - 7]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008fc4
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi + 0xe], ax
cwde
add eax, 2
push eax
call fcn.10021290
mov edx, eax
mov dword [edi + 0x1c], edx
test edx, edx
je 0x1000920a
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008ff2
movsx eax, word [esi + 0xe]
sub ecx, edi
add eax, 2
shr eax, 1
push eax
push edx
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x40
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009037
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi], ax
cwde
add eax, 2
push eax
call fcn.10021290
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax], edx
test edx, edx
je 0x1000920a
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009067
movsx eax, word [esi]
sub ecx, edi
add eax, 2
shr eax, 1
push eax
push edx
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [esp + 0x10]
inc ebx
add edi, 4
add esi, 2
mov dword [esp + 0x10], edi
lea eax, [ebx - 0x31]
cmp eax, 7
jl 0x10008fa0
mov eax, dword [esp + 0x14]
mov ebx, 0x44
lea edi, [eax + 0x140]
lea esi, [eax + 0x1a0]
mov dword [esp + 0x10], edi
mov edi, edi
push 0x40
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100090e4
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi + 0x18], ax
cwde
add eax, 2
push eax
call fcn.10021290
mov edx, eax
mov dword [edi + 0x30], edx
test edx, edx
je 0x1000920a
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009112
movsx eax, word [esi + 0x18]
sub ecx, edi
add eax, 2
shr eax, 1
push eax
push edx
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x40
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 0x28]
lea edx, [ecx + 1]
mov byte [esp + eax + 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009157
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi], ax
cwde
add eax, 2
push eax
call fcn.10021290
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax], edx
test edx, edx
je 0x1000920a
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009187
movsx eax, word [esi]
sub ecx, edi
add eax, 2
shr eax, 1
push eax
push edx
push ecx
lea eax, [esp + 0x34]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [esp + 0x10]
inc ebx
add edi, 4
add esi, 2
mov dword [esp + 0x10], edi
lea eax, [ebx - 0x44]
cmp eax, 0xc
jl 0x100090c0
movzx eax, word [ebp]
test ax, ax
je 0x100091f3
mov esi, dword [esp + 0x14]
movzx eax, ax
push eax
call fcn.10022030
test eax, eax
jne 0x100091e7
mov ax, word [ebp]
mov word [esi + 0x42], ax
movzx eax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x100091d2
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10026b56
add esp, 0x5c
ret 4
mov ecx, dword [esp + 0x68]
mov eax, 0xfffffffe
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.10026b56
add esp, 0x5c
ret 4
call fcn.10027bdc
call fcn.10027bdc
int3