Function at 0x572470
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x5bd46b
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 0x57293c
cmp byte [edi], 0
je 0x57293c
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.004ea830
mov eax, dword [esp + 0x58]
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x28], eax
jle 0x572919
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x24], esi
jle 0x572804
jmp 0x5724fe
mov esi, dword [esp + 0x24]
xor ebx, ebx
lea ecx, [esp + 0x60]
push esi
push ecx
lea ecx, [esp + 0x40]
call fcn.0041ac50
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.004ebaf0
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.004ebaf0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x54], 5
cmp dword [ecx - 8], 3
jne 0x5728d9
mov edx, dword [esp + 0x28]
dec edx
cmp esi, edx
jge 0x5725c8
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 0xa
jne 0x57281f
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 0x572627
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.00572970
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 0x57288e
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 0x57265c
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 0x572662
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 0x5726b2
cmp eax, edi
je 0x5726a7
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 0x5727ad
cmp eax, edi
jne 0x5726ea
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 0x5727ad
mov ecx, dword [ebp + 0x24]
cmp ebx, ecx
jg 0x572718
cmp edx, ebx
jge 0x572708
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 0x5727ad
jle 0x572710
sub edx, ebx
mov dword [esp + 0x30], edx
mov dword [ebp + 0x20], ebx
jmp 0x5727ad
mov eax, dword [ebp + 0x28]
cmp eax, edi
jne 0x572742
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x572736
mov eax, 4
jmp 0x572742
cmp eax, 0x400
jle 0x572742
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x572750
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 0x5724f8
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.00592bb2
push 0x609824
jmp 0x572941
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea ecx, [esp + 0x24]
push esi
push 0x62ab40
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 0x572929
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea eax, [esp + 0x24]
push esi
push 0x62ab10
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 0x57285a
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
inc esi
lea edx, [esp + 0x20]
push esi
push 0x62aae0
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 0x57285a
mov esi, dword [esp + 0x5c]
push 0x62aac0
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.00592bb2
jmp 0x57294c
push 0x62aaa4
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