Function at 0x579f70
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5c700b
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 0x57a43c
cmp byte [edi], 0
je 0x57a43c
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.004ec420
mov eax, dword [esp + 0x58]
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x28], eax
jle 0x57a419
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x24], esi
jle 0x57a304
jmp 0x579ffe
mov esi, dword [esp + 0x24]
xor ebx, ebx
lea ecx, [esp + 0x60]
push esi
push ecx
lea ecx, [esp + 0x40]
call fcn.0041abd0
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.004ed5c0
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.004ed5c0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x54], 5
cmp dword [ecx - 8], 3
jne 0x57a3d9
mov edx, dword [esp + 0x28]
dec edx
cmp esi, edx
jge 0x57a0c8
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 0xa
jne 0x57a31f
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 0x57a127
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.0057a470
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 0x57a38e
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 0x57a15c
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 0x57a162
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 0x57a1b2
cmp eax, edi
je 0x57a1a7
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 0x57a2ad
cmp eax, edi
jne 0x57a1ea
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 0x57a2ad
mov ecx, dword [ebp + 0x24]
cmp ebx, ecx
jg 0x57a218
cmp edx, ebx
jge 0x57a208
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 0x57a2ad
jle 0x57a210
sub edx, ebx
mov dword [esp + 0x30], edx
mov dword [ebp + 0x20], ebx
jmp 0x57a2ad
mov eax, dword [ebp + 0x28]
cmp eax, edi
jne 0x57a242
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x57a236
mov eax, 4
jmp 0x57a242
cmp eax, 0x400
jle 0x57a242
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x57a250
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 0x579ff8
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.0059ba94
push 0x614848
jmp 0x57a441
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea ecx, [esp + 0x24]
push esi
push 0x636304
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 0x57a429
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea eax, [esp + 0x24]
push esi
push 0x6362d4
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 0x57a35a
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea edx, [esp + 0x20]
push esi
push 0x6362a4
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 0x57a35a
mov esi, dword [esp + 0x5c]
push 0x636284
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.0059ba94
jmp 0x57a44c
push 0x636268
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