Function at 0x1002bf90
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x5c
mov eax, dword [0x1004f8f4]
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 0x1002c649
mov byte [esp + eax + 0x14], 0
lea eax, [esp + 0x14]
push eax
call fcn.1003c62c
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 0x1002c000
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 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
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 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
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 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
add esp, 4
cmp eax, 9
jge 0x1002c0d3
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0x19
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
add esp, 4
jmp 0x1002c0d8
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 0x1002c0f5
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 0x1002c130
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 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
add esp, 4
cmp eax, 9
jge 0x1002c1a4
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0x11
call ebx
push eax
call ebp
cmp eax, 0x10
jae 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
add esp, 4
jmp 0x1002c1a9
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 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
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 0x1002c1f2
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 0x1002c227
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 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
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 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
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 0x1002c644
mov byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call fcn.1003c62c
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 0x1002c2e3
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 0x1002c318
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 0x1002c350
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 0x1002c385
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 0x1002c3e4
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi + 0xe], ax
cwde
add eax, 2
push eax
call fcn.10032330
mov edx, eax
mov dword [edi + 0x1c], edx
test edx, edx
je 0x1002c62a
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c412
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 0x1002c457
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi], ax
cwde
add eax, 2
push eax
call fcn.10032330
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax], edx
test edx, edx
je 0x1002c62a
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c487
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 0x1002c3c0
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 0x1002c504
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi + 0x18], ax
cwde
add eax, 2
push eax
call fcn.10032330
mov edx, eax
mov dword [edi + 0x30], edx
test edx, edx
je 0x1002c62a
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c532
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 0x1002c577
sub ecx, edx
lea eax, [ecx + ecx]
mov word [esi], ax
cwde
add eax, 2
push eax
call fcn.10032330
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax], edx
test edx, edx
je 0x1002c62a
lea ecx, [esp + 0x28]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c5a7
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 0x1002c4e0
movzx eax, word [ebp]
test ax, ax
je 0x1002c613
mov esi, dword [esp + 0x14]
movzx eax, ax
push eax
call fcn.10033030
test eax, eax
jne 0x1002c607
mov ax, word [ebp]
mov word [esi + 0x42], ax
movzx eax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x1002c5f2
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1003a853
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.1003a853
add esp, 0x5c
ret 4
call fcn.1003b3c8
call fcn.1003b3c8
int3