Function at 0x4246c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46bd2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [esp + 0x90]
push ebx
push ebp
push esi
cmp eax, 8
push edi
mov dword [esp + 0x18], ecx
jge 0x424b0e
lea ecx, [esp + 0x38]
call fcn.00416ed0
mov ebp, dword [esp + 0xac]
lea eax, [esp + 0x38]
push eax
push str.Location
lea ecx, [ebp + 0x38]
mov dword [esp + 0x9c], 0
call fcn.00421e80
lea ecx, [esp + 0x38]
call fcn.004226f0
test eax, eax
je 0x424ae7
mov edi, dword [esp + 0xb0]
lea ecx, [esp + 0x38]
mov esi, dword [edi]
call fcn.00422700
push eax
push str.redirectUrl
mov ecx, edi
call dword [esi + 0x28]
push str.PageNotFound
lea ecx, [esp + 0x3c]
call fcn.00418160
test al, al
je 0x42476e
mov edx, dword [edi]
push str.This_is_actually_a_page_not_found_error.
mov ecx, edi
call dword [edx + 0x10]
jmp 0x424835
lea ecx, [esp + 0x54]
call fcn.00416ed0
mov esi, dword [esp + 0x9c]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x38]
push eax
push ecx
push esi
mov byte [esp + 0xa0], 1
call fcn.0042a3f0
add esp, 0xc
lea ecx, [esp + 0x54]
call fcn.004226f0
test eax, eax
jne 0x4247d7
mov edx, dword [edi]
push str.Failed_to_construct_new_URL
mov ecx, edi
call dword [edx + 0x10]
mov ebx, dword [edi]
lea ecx, [esp + 0x38]
call fcn.00422700
push eax
push str.location
mov ecx, edi
call dword [ebx + 0x28]
mov eax, dword [edi]
push esi
push 0x48326c
mov ecx, edi
call dword [eax + 0x28]
jmp 0x424824
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x42484e
call fcn.00422200
mov esi, eax
test esi, esi
je 0x42484e
mov ebx, dword [esi]
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x17], 0
call fcn.00422700
mov edx, dword [esp + 0xa0]
push eax
push edx
mov ecx, esi
call dword [ebx + 0x78]
mov al, byte [esp + 0x13]
test al, al
je 0x42484e
mov eax, dword [edi]
push str.Aborted_by_application.
mov ecx, edi
call dword [eax + 0x10]
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 0
call fcn.004171c0
lea ecx, [esp + 0x38]
mov dword [esp + 0x94], 0xffffffff
call fcn.004171c0
jmp 0x424b1f
mov ebx, dword [esp + 0xa4]
lea ecx, [ebx + 0x1e8]
call fcn.004226f0
test eax, eax
je 0x424991
mov al, byte [ebx + 0x205]
test al, al
je 0x424991
lea ebx, [ebp + 0x38]
push str.Set_Cookie
mov ecx, ebx
call fcn.00421ea0
test al, al
je 0x42498a
lea ecx, [esp + 0x70]
call fcn.00416ed0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x98], 2
lea esi, [ecx + 0x10]
push esi
call fcn.0041eae3
add esp, 8
lea ecx, [esp + 0x70]
push 0x47f6d4
call fcn.004164a0
lea ecx, [esp + 0x1c]
call fcn.0041e230
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 3
call fcn.00422700
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00422100
lea ecx, [esp + 0x14]
call fcn.0042af50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 4
call fcn.00422700
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x424947
push ebp
lea ecx, [esp + 0x20]
call fcn.00459100
test eax, eax
je 0x424942
push edi
push eax
mov ecx, esi
call fcn.00422700
push eax
mov eax, dword [esp + 0xb0]
lea ecx, [eax + 0x54]
push ecx
lea ecx, [eax + 0x1e8]
call fcn.00422700
push eax
lea ecx, [esp + 0x28]
call fcn.0042b560
inc ebp
cmp ebp, ebx
jl 0x42490a
lea ecx, [esp + 0x1c]
call fcn.0041e430
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 3
call fcn.0042af80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 2
call fcn.0041e250
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 1
call fcn.004171c0
mov ebp, dword [esp + 0xac]
mov ebx, dword [esp + 0xa4]
mov al, byte [ebx + 0x224]
test al, al
jne 0x4249d8
lea edx, [esp + 0x54]
lea ecx, [ebp + 0xc]
push edx
mov byte [ebp + 8], 1
call fcn.00417f00
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 0
call fcn.004171c0
lea ecx, [esp + 0x38]
mov dword [esp + 0x94], 0xffffffff
call fcn.004171c0
mov al, 1
jmp 0x424b21
lea ecx, [ebp + 0x38]
call fcn.00421eb0
mov esi, dword [esp + 0xa8]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x20]
lea ecx, [esp + 0x54]
mov byte [ebp + 8], 1
push ecx
lea ecx, [ebp + 0xc]
call fcn.00417f00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call fcn.00416ed0
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 5
call fcn.00416ed0
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x9c], 6
call fcn.0041f259
add esp, 8
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x58]
call fcn.00422700
push eax
call fcn.0041f259
add esp, 8
lea edx, [esp + 0x70]
lea ecx, [esp + 0x1c]
push edx
call fcn.00418490
test al, al
je 0x424a69
mov byte [esp + 0x14], 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 5
call fcn.004171c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 1
call fcn.004171c0
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
push eax
push edi
push ebp
push esi
push ebx
push 1
inc edx
push ecx
push edx
push 1
lea ecx, [esp + 0x78]
call fcn.00422700
mov ecx, dword [esp + 0x3c]
push eax
call fcn.00426c20
lea ecx, [esp + 0x54]
mov bl, al
mov byte [esp + 0x94], 0
call fcn.004171c0
lea ecx, [esp + 0x38]
mov dword [esp + 0x94], 0xffffffff
call fcn.004171c0
mov al, bl
jmp 0x424b21
mov ecx, dword [esp + 0xb0]
push str.Got_301_302_redirect__but_no_new_location.
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [esp + 0x38]
mov dword [esp + 0x94], 0xffffffff
call fcn.004171c0
jmp 0x424b1f
mov ecx, dword [esp + 0xb0]
push str.Aborted_to_avoid_infinite_redirects.
mov edx, dword [ecx]
call dword [edx + 0x10]
xor al, al
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 0x1c