Function at 0x10030eaf
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x101bf7e3
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1024bd20]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1024bd20]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
push 0x800
call fcn.1004217d
mov esi, eax
mov byte [esp + 0x40], 0
push 7
pop ecx
xor eax, eax
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x41]
rep stosd dword es:[edi], eax
push dword [0x10255de4]
push 0x101d5128
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x48]
push eax
call ebp
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0x3f
pop edi
push edi
mov ebx, eax
mov byte [esp + 0x60], 0
lea eax, [esp + 0x61]
push 0
push eax
call fcn.10179250
add esp, 0xc
lea eax, [esp + 0x5c]
push 0x40
push eax
push 0x59
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x101d5130
lea eax, [esp + 0x60]
push 0x40
push eax
call fcn.1017cdfc
lea ecx, [esp + 0x68]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030f73
sub ecx, edx
lea eax, [esp + 0x5c]
sub edi, ecx
add eax, ecx
push edi
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x101d5134
lea ecx, [esp + 0x1c]
call fcn.100224c2
and dword [esp + 0xa8], 0
lea ecx, [esp + 0x14]
push 0x101d5140
call fcn.1001ec35
lea eax, [esp + 0x24]
mov byte [esp + 0xa8], 1
push 0
push eax
call fcn.1003cf21
pop ecx
pop ecx
mov ebx, eax
mov edi, dword [esp + 0x14]
mov byte [esp + 0xa8], 2
cmp dword [edi - 4], 1
jle 0x10030fed
push dword [edi - 0xc]
lea ecx, [esp + 0x18]
call fcn.1001f81c
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x10031007
push dword [eax - 0xc]
lea ecx, [esp + 0x1c]
call fcn.1000ba60
mov eax, dword [esp + 0x18]
push dword [ebx]
push 0x101d4ca0
push edi
push eax
push 0x101d4ca4
lea eax, [esp + 0x50]
push eax
push 0x101d4ca8
lea eax, [esp + 0x78]
push eax
push 0x101d4cac
push str._s_s_s_s_s_S__s_s_s
push esi
call ebp
mov ecx, dword [esp + 0x50]
add esp, 0x2c
mov byte [esp + 0xa8], 1
lea ecx, [ecx - 0x10]
call fcn.1000c230
mov eax, dword [section..data]
mov ebx, section..data
mov ebp, 0x101d514c
cmp eax, ebx
je 0x1003106d
push esi
push ebp
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100288b0
add esp, 0x14
mov ecx, dword [0x1025c2a8]
lea eax, [esp + 0x2c]
and dword [esp + 0x20], 0
push 0x10
push eax
push 0xf
call fcn.1003e6cf
mov eax, dword [section..data]
cmp eax, ebx
je 0x100310a0
push ebp
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1002114e
add esp, 0x10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call fcn.10041b8d
push esi
mov edi, eax
call fcn.10042178
and dword [esp + 0x20], 0
pop ecx
mov ecx, dword [section..data]
cmp ecx, ebx
je 0x100310dd
push ebp
push 0x1e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.1002114e
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x24]
push edi
call fcn.1015cd50
push edi
call fcn.10042178
mov ecx, dword [esp + 0x2c]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100310fc
sub ecx, edx
imul esi, ecx, 3
add esi, 0xa
push esi
call fcn.1004217d
mov edi, eax
mov dword [esp], 0x101d4ccc
push esi
push edi
mov byte [edi], 0
call fcn.1017cdfc
push str.query
push esi
push edi
call fcn.1017cdfc
push 0x101d4cd8
push esi
push edi
call fcn.1017cdfc
add esp, 0x24
mov eax, dword [section..data]
cmp eax, ebx
je 0x10031159
push ebp
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1002114e
add esp, 0x10
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003115e
sub ecx, edx
mov edx, edi
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1003116c
sub edx, ebx
sub esi, ecx
push esi
lea eax, [edx + edi]
push eax
push dword [esp + 0x24]
call fcn.101595a0
push dword [esp + 0x28]
call fcn.1015ce70
add esp, 0x10
mov eax, dword [section..data]
cmp eax, section..data
je 0x100311ae
push ebp
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1002114e
add esp, 0x10
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.1000c230
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000c230
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1017868e
add esp, 0x98
ret