Function at 0x449590
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x18]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], ecx
test edi, edi
je 0x44986d
test eax, eax
je 0x44986d
test ecx, ecx
je 0x44986d
test esi, esi
je 0x44986d
push 1
push 0x52eed
mov ecx, esi
call fcn.004d2730
push dword [ebp + 0x10]
mov ecx, esi
push 0x52ee0
call fcn.004d2730
push dword [ebp - 0x438]
xor eax, eax
lea ecx, [ebp - 0x284]
mov edx, 0x100
mov word [ebp - 0x284], ax
call fcn.0052fa00
add esp, 4
lea eax, [ebp - 0x284]
mov ecx, esi
push eax
push 0xe2ee2
call fcn.004d2810
push dword [ebp - 0x434]
xor eax, eax
lea ecx, [ebp - 0x284]
mov edx, 0x100
mov word [ebp - 0x284], ax
call fcn.0052fa00
add esp, 4
lea eax, [ebp - 0x284]
mov ecx, esi
push eax
push 0xe2eec
call fcn.004d2810
call fcn.00449550
movzx eax, al
mov ecx, esi
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0x103
push eax
push 0x52ee1
call fcn.004d2730
call dword [sym.imp.KERNEL32.dll_GetVersion]
push eax
push 0x52ee3
mov ecx, esi
call fcn.004d2730
xor eax, eax
push 0x100
mov word [ebp - 0x284], ax
lea eax, [ebp - 0x284]
push eax
push 0x1002
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x284]
mov ecx, esi
push eax
push 0xe2ee4
call fcn.004d2810
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov dword [ebp - 0x434], eax
test eax, eax
je 0x449720
push dword [ebp - 0x430]
mov ecx, esi
push 0x52eea
call fcn.004d2730
cmp dword [ebp - 0x434], 2
lea eax, [ebp - 0x3d8]
mov ecx, esi
je 0x449715
lea eax, [ebp - 0x42c]
push eax
push 0xe2eeb
call fcn.004d2810
lea ecx, [ebp - 0x384]
call fcn.0050ad00
test al, al
je 0x44975c
lea eax, [ebp - 0x384]
mov edx, 0x100
push eax
lea ecx, [ebp - 0x284]
call fcn.0052fa00
add esp, 4
lea eax, [ebp - 0x284]
mov ecx, esi
push eax
push 0xe2ef5
call fcn.004d2810
call fcn.0050c640
test eax, eax
je 0x449772
push eax
push 0x52ef7
mov ecx, esi
call fcn.004d2730
xor eax, eax
lea ecx, [ebp - 0x284]
mov edx, 0x100
mov word [ebp - 0x284], ax
call fcn.0050aa70
test al, al
je 0x4497a2
lea eax, [ebp - 0x284]
mov ecx, esi
push eax
push 0xe2ef8
call fcn.004d2810
push 0x7f
lea eax, [ebp - 0x83]
mov byte [ebp - 0x84], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x84]
mov edx, 0x80
call fcn.0050da70
test al, al
je 0x449800
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4497e0
sub ecx, edx
lea eax, [ecx + 1]
mov ecx, esi
push eax
lea eax, [ebp - 0x84]
push eax
push 0xd2f02
call fcn.004d26d0
mov ecx, dword [edi]
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov eax, dword [esi + 0x10]
cmp ecx, eax
jae 0x449824
pop edi
pop esi
mov eax, 0x1b61
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x44985a
test eax, eax
je 0x44984d
mov ecx, dword [esi + 8]
push eax
push ecx
push ebx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret
push eax
xor ecx, ecx
push ecx
push ebx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x1b62
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553510
mov esp, ebp
pop ebp
ret