Function at 0x449b70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f8c7
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x56d370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x174], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x15c], ebx
mov eax, dword fs:[0x2c]
mov edx, dword [0x572b38]
mov edx, dword [eax + edx*4]
mov eax, dword [0x572860]
cmp eax, dword [edx + 4]
jg 0x449e07
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 0x168], 0
mov eax, dword [esi + 4]
mov dword [ebp - 4], 1
test eax, eax
je 0x449c5d
mov ecx, dword [0x572858]
test ecx, ecx
je 0x449c5d
push 0
push 0
push dword [ebp + 0xc]
push eax
call ecx
test eax, eax
jle 0x449ddf
push eax
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x15c], 0
call fcn.00449a70
mov edi, dword [ebp - 0x170]
mov esi, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x174]
push edi
push esi
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [0x572858]
jmp 0x449cc5
mov eax, dword [esi + 0xc]
test eax, eax
je 0x449ddf
push 0
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x449ddf
push eax
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x15c], 0
call fcn.00449a70
mov edi, dword [ebp - 0x170]
mov esi, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x174]
push edi
push esi
push dword [ebp + 0xc]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, eax
mov dword [ebp - 0x15c], esi
cmp ecx, edi
push ecx
cmovl edi, ecx
xor eax, eax
test edi, edi
lea ecx, [ebp - 0x170]
cmovg eax, edi
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x160]
push eax
call fcn.00449a70
cmp dword [ebp - 0x170], 0
jle 0x449ddf
mov edi, dword [ebp - 0x16c]
lea ecx, [ebp - 0x164]
push 1
push 0xffffffffffffffff
push 0xfde9
push edi
call fcn.00411420
mov esi, dword [ebp - 0x160]
push 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x164], 0
mov dword [ebx], 0
call fcn.0047f552
add esp, 4
mov dword [ebx], esi
cmp byte [ebp - 0x15c], 0
mov eax, dword [ebp - 0x160]
mov byte [ebp - 4], 2
je 0x449d72
test eax, eax
je 0x449d72
push dword [ebp - 0x164]
push eax
call fcn.00408000
mov eax, dword [ebp - 0x160]
add esp, 8
push eax
call fcn.0047f552
add esp, 4
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
cmp byte [ebp - 0x168], 0
mov dword [ebp - 4], 3
je 0x449db6
test edi, edi
je 0x449db6
mov eax, dword [ebp - 0x170]
lea ecx, [eax + eax]
push ecx
push edi
call fcn.00408000
add esp, 8
push edi
call fcn.0047f552
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047fc61
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetLocaleInfo_Ex_
lea ecx, [ebp - 0x158]
call fcn.00402910
push 0x5582d8
lea eax, [ebp - 0x158]
push eax
call fcn.00481150
push 0x572860
call fcn.0047fb55
add esp, 4
cmp dword [0x572860], 0xffffffff
jne 0x449bcf
push 0
push str.GetLocaleInfoEx
push str.Kernel32
mov ecx, 0x572858
mov dword [ebp - 4], 0
call fcn.0042cc40
push 0x528040
call fcn.0047f932
push 0x572860
call fcn.0047fb0b
add esp, 8
jmp 0x449bcf