Function at 0x4c8370
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x3c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xf
rep stosd dword es:[edi], eax
pop edi
pop ecx
cmp dword [ebp + 8], 0
je 0x4c8464
call fcn.0056d3b0
cmp al, 0
je 0x4c83c9
push 4
lea eax, [ebp - 0x10]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, 0xffffffff
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.0058a000
jmp 0x4c843e
push 4
lea eax, [ebp - 8]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 8]
lea eax, [ebp - 8]
push eax
call fcn.0040d340
pop ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00589f70
cmp dword [ebp - 0x14], 0
je 0x4c840f
mov ebx, dword [ebp - 0x14]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0058a7b0
cmp dword [ebp - 0x14], 0
je 0x4c8429
mov ecx, dword [ebp - 0x14]
call fcn.00589d70
call fcn.00546dd0
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x4c843e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.0058a3a0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.0058a7b0
cmp dword [ebp - 0x18], 0
je 0x4c8464
mov ecx, dword [ebp - 0x18]
call fcn.00589d70
cmp dword [ebp + 0xc], 0
je 0x4c853d
call fcn.0056d3b0
cmp al, 0
je 0x4c84a2
push 4
lea eax, [ebp - 0x10]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add eax, 0xffffffff
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0058a000
jmp 0x4c8517
push 4
lea eax, [ebp - 8]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 8]
lea eax, [ebp - 8]
push eax
call fcn.0040d340
pop ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00589f70
cmp dword [ebp - 0x1c], 0
je 0x4c84e8
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0058a7b0
cmp dword [ebp - 0x1c], 0
je 0x4c8502
mov ecx, dword [ebp - 0x1c]
call fcn.00589d70
call fcn.00546dd0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
je 0x4c8517
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0058a3a0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0058a7b0
cmp dword [ebp - 0x20], 0
je 0x4c853d
mov ecx, dword [ebp - 0x20]
call fcn.00589d70
cmp dword [ebp + 0x10], 0
je 0x4c8616
call fcn.0056d3b0
cmp al, 0
je 0x4c857b
push 4
lea eax, [ebp - 0x10]
push eax
push 0x1d
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, 0xffffffff
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0058a000
jmp 0x4c85f0
push 4
lea eax, [ebp - 8]
push eax
push 0x1d
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x24], 0
lea edx, [ebp - 8]
lea eax, [ebp - 8]
push eax
call fcn.0040d340
pop ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.00589f70
cmp dword [ebp - 0x24], 0
je 0x4c85c1
mov ebx, dword [ebp - 0x24]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0058a7b0
cmp dword [ebp - 0x24], 0
je 0x4c85db
mov ecx, dword [ebp - 0x24]
call fcn.00589d70
call fcn.00546dd0
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
je 0x4c85f0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0058a3a0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0058a7b0
cmp dword [ebp - 0x28], 0
je 0x4c8616
mov ecx, dword [ebp - 0x28]
call fcn.00589d70
cmp dword [ebp + 0x14], 0
je 0x4c86ef
call fcn.0056d3b0
cmp al, 0
je 0x4c8654
push 4
lea eax, [ebp - 0x10]
push eax
push 0x1e
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, 0xffffffff
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0058a000
jmp 0x4c86c9
push 4
lea eax, [ebp - 8]
push eax
push 0x1e
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 8]
lea eax, [ebp - 8]
push eax
call fcn.0040d340
pop ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00589f70
cmp dword [ebp - 0x2c], 0
je 0x4c869a
mov ebx, dword [ebp - 0x2c]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0058a7b0
cmp dword [ebp - 0x2c], 0
je 0x4c86b4
mov ecx, dword [ebp - 0x2c]
call fcn.00589d70
call fcn.00546dd0
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x4c86c9
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0058a3a0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0058a7b0
cmp dword [ebp - 0x30], 0
je 0x4c86ef
mov ecx, dword [ebp - 0x30]
call fcn.00589d70
lea esp, [ebp - 4]
pop ebx
pop ebp
ret