Function at 0x572cb0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5bef0b
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 0x57317c
cmp byte [edi], 0
je 0x57317c
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.004ea160
mov eax, dword [esp + 0x58]
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x28], eax
jle 0x573159
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x24], esi
jle 0x573044
jmp 0x572d3e
mov esi, dword [esp + 0x24]
xor ebx, ebx
lea ecx, [esp + 0x60]
push esi
push ecx
lea ecx, [esp + 0x40]
call fcn.0040aa20
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.004eb300
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.004eb300
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x54], 5
cmp dword [ecx - 8], 3
jne 0x573119
mov edx, dword [esp + 0x28]
dec edx
cmp esi, edx
jge 0x572e08
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 0xa
jne 0x57305f
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 0x572e67
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.005731b0
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 0x5730ce
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 0x572e9c
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 0x572ea2
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 0x572ef2
cmp eax, edi
je 0x572ee7
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 0x572fed
cmp eax, edi
jne 0x572f2a
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 0x572fed
mov ecx, dword [ebp + 0x24]
cmp ebx, ecx
jg 0x572f58
cmp edx, ebx
jge 0x572f48
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 0x572fed
jle 0x572f50
sub edx, ebx
mov dword [esp + 0x30], edx
mov dword [ebp + 0x20], ebx
jmp 0x572fed
mov eax, dword [ebp + 0x28]
cmp eax, edi
jne 0x572f82
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x572f76
mov eax, 4
jmp 0x572f82
cmp eax, 0x400
jle 0x572f82
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x572f90
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 0x572d38
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.00594582
push 0x60b824
jmp 0x573181
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea ecx, [esp + 0x24]
push esi
push 0x62ca40
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 0x573169
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea eax, [esp + 0x24]
push esi
push 0x62ca10
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 0x57309a
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea edx, [esp + 0x20]
push esi
push 0x62c9e0
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 0x57309a
mov esi, dword [esp + 0x5c]
push 0x62c9c0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.00594582
jmp 0x57318c
push 0x62c9a4
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