Function at 0x402520
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.00409490
mov eax, dword [0x41e024]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push edi
push ecx
push str.sessionID_i
mov dword [ebp - 0x1048], eax
xor eax, eax
lea edx, [ebp - 0x24]
xor ebx, ebx
push 0x1d
push edx
mov dword [ebp - 0x1038], ebx
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov byte [ebp - 7], al
call fcn.0040953a
add esp, 0x10
lea eax, [ebp - 0x1034]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
inc word [ebp - 0x102a]
lea ecx, [ebp - 0x1050]
push ecx
lea edx, [ebp - 0x1034]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryExA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1038]
push eax
push ebx
push ebx
push ebx
push 0x200001
push ebx
push ebx
call edi
test eax, eax
jne 0x4025cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1038]
push esi
push ecx
call fcn.00409a19
push 0xfff
lea edx, [ebp - 0x1023]
push ebx
push edx
mov esi, eax
mov dword [ebp - 0x103c], 0x1000
mov byte [ebp - 0x1024], bl
call fcn.004094c0
add esp, 0x10
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1038]
push eax
push esi
push ebx
push ebx
push 0x200001
push ebx
push ebx
mov dword [ebp - 0x1040], ebx
mov dword [ebp - 0x1044], ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x402765
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x402674
push esi
cmp eax, 0x7a
jne 0x402783
call fcn.0040a0ba
mov ecx, dword [ebp - 0x1038]
push ecx
call fcn.00409a19
mov edx, dword [ebp - 0x1038]
add esp, 8
push 0
push 0
mov esi, eax
push 0
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x103c], edx
push eax
jmp 0x402759
mov eax, dword [esi + 4]
push str.ClientServicesServlet_RequestTypeDownloadLauncher
push eax
call fcn.00409317
add esp, 8
test eax, eax
je 0x402740
lea edi, [esi + 0x30]
push edi
lea edx, [ebp - 0x1050]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x402735
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00409317
add esp, 8
test eax, eax
je 0x402740
cmp byte [ebp - 0x1024], 0
jne 0x4026f5
mov edx, dword [ebp - 0x1038]
mov eax, dword [esi + 4]
push edx
push eax
lea ecx, [ebp - 0x1024]
push ecx
call fcn.004091d3
mov edx, dword [edi]
mov dword [ebp - 0x1044], edx
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [ebp - 0x1040], eax
jmp 0x402740
lea ecx, [ebp - 0x1044]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x402740
mov edx, dword [ebp - 0x1038]
mov eax, dword [esi + 4]
push edx
push eax
lea ecx, [ebp - 0x1024]
push ecx
call fcn.004091d3
mov edx, dword [edi]
mov dword [ebp - 0x1044], edx
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [ebp - 0x1040], eax
jmp 0x402740
push str.future_date
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x1038]
push 0
push 0
push 0
lea edx, [ebp - 0x103c]
mov dword [ebp - 0x103c], ecx
push edx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryExA]
test eax, eax
je 0x40276c
xor eax, eax
jmp 0x402632
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x103c]
mov dword [ebp - 0x1038], ecx
jmp 0x402632
call fcn.0040a0ba
add esp, 4
pop esi
test ebx, ebx
je 0x402797
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
lea edx, [ebp - 0x1024]
push str._servlet_ClientServicesServlet
push edx
call fcn.00409317
add esp, 8
pop edi
pop ebx
test eax, eax
je 0x4027da
mov byte [eax], 0
lea eax, [ebp - 0x1024]
push str.http
push eax
call fcn.00409317
mov edx, dword [ebp - 0x1048]
add esp, 8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4027d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409472
mov esp, ebp
pop ebp
ret