Function at 0x10008b60
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 0x10009219
mov byte [esp + eax + 0x14], 0
lea eax, [esp + 0x14]
push eax
call fcn.10027b58
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 0x10008bd0
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 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
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 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
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 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
add esp, 4
cmp eax, 9
jge 0x10008ca3
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0x19
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
add esp, 4
jmp 0x10008ca8
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 0x10008cc5
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 0x10008d00
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 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
add esp, 4
cmp eax, 9
jge 0x10008d74
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0x11
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
add esp, 4
jmp 0x10008d79
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 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
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 0x10008dc2
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 0x10008df7
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 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
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 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
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 0x10009214
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.10027b58
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 0x10008eb3
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 0x10008ee8
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 0x10008f20
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 0x10008f55
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 0x10008fb4
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi + 0xe], ax
cwde
add eax, 2
push eax
call fcn.10021140
mov edx, eax
mov dword [edi + 0x1c], edx
test edx, edx
je 0x100091fa
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008fe2
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 0x10009027
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi], ax
cwde
add eax, 2
push eax
call fcn.10021140
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax], edx
test edx, edx
je 0x100091fa
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009057
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 0x10008f90
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 0x100090d4
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi + 0x18], ax
cwde
add eax, 2
push eax
call fcn.10021140
mov edx, eax
mov dword [edi + 0x30], edx
test edx, edx
je 0x100091fa
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009102
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 0x10009147
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi], ax
cwde
add eax, 2
push eax
call fcn.10021140
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax], edx
test edx, edx
je 0x100091fa
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009177
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 0x100090b0
movzx eax, word [ebp]
test ax, ax
je 0x100091e3
mov esi, dword [esp + 0x14]
movzx eax, ax
push eax
call fcn.10021ed0
test eax, eax
jne 0x100091d7
mov ax, word [ebp]
mov word [esi + 0x42], ax
movzx eax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x100091c2
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.100269f6
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.100269f6
add esp, 0x5c
ret 4
call fcn.10027a7c
call fcn.10027a7c
int3