Function at 0x449910
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f617
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x56c36c]
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 [0x571b70]
mov edx, dword [eax + edx*4]
mov eax, dword [0x571898]
cmp eax, dword [edx + 4]
jg 0x449ba7
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 0x4499fd
mov ecx, dword [0x571890]
test ecx, ecx
je 0x4499fd
push 0
push 0
push dword [ebp + 0xc]
push eax
call ecx
test eax, eax
jle 0x449b7f
push eax
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x15c], 0
call fcn.00449810
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 [0x571890]
jmp 0x449a65
mov eax, dword [esi + 0xc]
test eax, eax
je 0x449b7f
push 0
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x449b7f
push eax
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x15c], 0
call fcn.00449810
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.00449810
cmp dword [ebp - 0x170], 0
jle 0x449b7f
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.0047f232
add esp, 4
mov dword [ebx], esi
cmp byte [ebp - 0x15c], 0
mov eax, dword [ebp - 0x160]
mov byte [ebp - 4], 2
je 0x449b12
test eax, eax
je 0x449b12
push dword [ebp - 0x164]
push eax
call fcn.00408000
mov eax, dword [ebp - 0x160]
add esp, 8
push eax
call fcn.0047f232
add esp, 4
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
cmp byte [ebp - 0x168], 0
mov dword [ebp - 4], 3
je 0x449b56
test edi, edi
je 0x449b56
mov eax, dword [ebp - 0x170]
lea ecx, [eax + eax]
push ecx
push edi
call fcn.00408000
add esp, 8
push edi
call fcn.0047f232
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.0047f941
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 0x558100
lea eax, [ebp - 0x158]
push eax
call fcn.00480e30
push 0x571898
call fcn.0047f835
add esp, 4
cmp dword [0x571898], 0xffffffff
jne 0x44996f
push 0
push str.GetLocaleInfoEx
push str.Kernel32
mov ecx, 0x571890
mov dword [ebp - 4], 0
call fcn.0042cd30
push 0x527e00
call fcn.0047f612
push 0x571898
call fcn.0047f7eb
add esp, 8
jmp 0x44996f