Function at 0x10079120
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
push 0xa4
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10079149
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov ecx, 0x29
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x118]
lea eax, [esp + 0x14]
push eax
push 5
push ecx
call fcn.1007b420
lea eax, [esi + 4]
lea edx, [esp + 0x20]
push eax
push esi
push edx
call fcn.1007ae40
add esp, 0x18
cmp eax, 0xffffffff
jne 0x10079196
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [esi + 0xc]
mov ebx, 0x38
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
push 0
push 0
push ebx
push ecx
call edi
mov ebp, eax
push ebp
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x14]
add esp, 4
test eax, eax
mov dword [edx], eax
je 0x10079329
push ebp
push eax
mov eax, dword [esi]
push ebx
push eax
call edi
lea eax, [esi + 4]
push eax
push ebp
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp]
push ecx
call fcn.1007b510
add esp, 0xc
inc ebx
add ebp, 4
cmp ebx, 0x43
mov dword [esp + 0x10], ebp
jle 0x100791a8
lea edx, [esi + 0x3c]
mov ebx, 0x44
mov dword [esp + 0x10], edx
mov eax, dword [esi]
push 0
push 0
push ebx
push eax
call edi
mov ebp, eax
push ebp
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
mov dword [ecx], eax
je 0x10079329
mov edx, dword [esi]
push ebp
push eax
push ebx
push edx
call edi
lea eax, [esi + 4]
push eax
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
push eax
call fcn.1007b510
add esp, 0xc
inc ebx
add ebp, 4
cmp ebx, 0x4f
mov dword [esp + 0x10], ebp
jle 0x10079202
mov ebx, 0x2a
cmp ebx, 0x30
je 0x10079263
lea ecx, [ebx - 0x29]
mov dword [esp + 0x10], ecx
jmp 0x1007926b
mov dword [esp + 0x10], 0
mov edx, dword [esi]
push 0
push 0
push ebx
push edx
call edi
mov ebp, eax
push ebp
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
mov dword [esi + ecx*4 + 0x6c], eax
je 0x10079329
mov edx, dword [esi]
push ebp
push eax
push ebx
push edx
call edi
lea eax, [esi + 4]
push eax
mov eax, dword [esp + 0x14]
push ebp
mov ecx, dword [esi + eax*4 + 0x6c]
push ecx
call fcn.1007b510
add esp, 0xc
inc ebx
cmp ebx, 0x30
jle 0x10079258
mov ebx, 0x31
cmp ebx, 0x37
je 0x100792c8
lea edx, [ebx - 0x30]
mov dword [esp + 0x10], edx
jmp 0x100792d0
mov dword [esp + 0x10], 0
mov eax, dword [esi]
push 0
push 0
push ebx
push eax
call edi
mov ebp, eax
push ebp
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
mov dword [esi + ecx*4 + 0x88], eax
je 0x10079329
mov edx, dword [esi]
push ebp
push eax
push ebx
push edx
call edi
lea eax, [esi + 4]
push eax
mov eax, dword [esp + 0x14]
push ebp
mov ecx, dword [esi + eax*4 + 0x88]
push ecx
call fcn.1007b510
add esp, 0xc
inc ebx
cmp ebx, 0x37
jle 0x100792bd
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
push esi
call fcn.10079760
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret