Function at 0x575990
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5c1f8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x60]
xor ebx, ebx
cmp edi, ebx
mov ebp, ecx
mov dword [esp + 0x34], ebx
je 0x575e5c
cmp byte [edi], 0
je 0x575e5c
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CStringArray::CStringArray
push 1
push 1
push 8
lea eax, [esp + 0x44]
push 0x7c
push eax
push ecx
mov dword [esp + 0x6c], ebx
mov ecx, esp
mov dword [esp + 0x78], esp
push edi
call sub.MFC42.DLL_CString::CString_3
call fcn.004eb770
mov eax, dword [esp + 0x58]
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x28], eax
jle 0x575e39
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x24], esi
jle 0x575d24
jmp 0x575a1e
mov esi, dword [esp + 0x24]
xor ebx, ebx
lea ecx, [esp + 0x60]
push esi
push ecx
lea ecx, [esp + 0x40]
call fcn.0040aab0
push 0x3d
push 0x3a
lea ecx, [esp + 0x68]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CString::Replace_1
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::MakeUpper
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.CITY
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x60], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
mov byte [esp + 0x5c], 1
push eax
call fcn.004ec910
add esp, 8
mov byte [esp + 0x58], 3
mov ecx, esp
mov dword [esp + 0x38], esp
push str.DATE
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x60], 4
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x18]
mov byte [esp + 0x5c], 3
push eax
call fcn.004ec910
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x54], 5
cmp dword [ecx - 8], 3
jne 0x575df9
mov edx, dword [esp + 0x28]
dec edx
cmp esi, edx
jge 0x575ae8
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 0xa
jne 0x575d3f
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x54], 7
cmp dword [ecx - 8], ebx
je 0x575b47
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x30]
push eax
call fcn.00575e90
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 8], ebx
je 0x575dae
push 8
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
cmp edi, ebx
mov byte [esp + 0x54], 0xa
je 0x575b7c
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 4]
mov byte [esp + 0x54], 0xb
call sub.MFC42.DLL_CString::CString_1
mov esi, edi
mov dword [esp + 0x20], esi
jmp 0x575b82
mov dword [esp + 0x20], ebx
mov esi, ebx
lea edx, [esp + 0x14]
mov ecx, esi
push edx
mov byte [esp + 0x58], 7
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x18]
lea ecx, [esi + 4]
push eax
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ebx, edx
xor edi, edi
mov dword [esp + 0x34], ebx
inc ebx
cmp ebx, edi
jne 0x575bd2
cmp eax, edi
je 0x575bc7
push eax
mov dword [esp + 0x34], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x20], edi
jmp 0x575ccd
cmp eax, edi
jne 0x575c0a
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x1c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x20], ebx
jmp 0x575ccd
mov ecx, dword [ebp + 0x24]
cmp ebx, ecx
jg 0x575c38
cmp edx, ebx
jge 0x575c28
mov ecx, ebx
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp + 0x20], ebx
jmp 0x575ccd
jle 0x575c30
sub edx, ebx
mov dword [esp + 0x30], edx
mov dword [ebp + 0x20], ebx
jmp 0x575ccd
mov eax, dword [ebp + 0x28]
cmp eax, edi
jne 0x575c62
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x575c56
mov eax, 4
jmp 0x575c62
cmp eax, 0x400
jle 0x575c62
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x575c70
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x1c]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x34], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x20]
mov ecx, ebx
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1c]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
add esp, 8
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 5
mov dword [edx + eax*4], esi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x575a18
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.005971b2
push 0x60e848
jmp 0x575e61
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea ecx, [esp + 0x24]
push esi
push 0x62fe78
push ecx
mov byte [esp + 0x60], 6
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x68]
add esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x54], 5
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
jmp 0x575e49
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea eax, [esp + 0x24]
push esi
push 0x62fe48
push eax
mov byte [esp + 0x60], 9
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x68]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x54], 5
lea ecx, [esp + 0x18]
jmp 0x575d7a
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea edx, [esp + 0x20]
push esi
push 0x62fe18
push edx
mov byte [esp + 0x60], 0xc
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x68]
add esp, 0xc
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x54], 5
lea ecx, [esp + 0x20]
jmp 0x575d7a
mov esi, dword [esp + 0x5c]
push 0x62fdf8
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.005971b2
jmp 0x575e6c
push 0x62fddc
mov esi, dword [esp + 0x60]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 8