Function at 0x45ded0
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x4822b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4ac
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], esi
call fcn.00430a80
xor ebp, ebp
lea ecx, [esp + 0x98]
mov dword [esp + 0x4c0], ebp
call fcn.0043d510
mov ebx, dword [esp + 0x4e8]
mov byte [esp + 0x4c0], 1
cmp ebx, ebp
je 0x45df2b
mov dword [ebx], 0xc8
mov ecx, esi
call fcn.0045cdd0
test eax, eax
jne 0x45df64
lea ecx, [esp + 0x98]
mov byte [esp + 0x4c0], al
call fcn.0043d250
lea ecx, [esp + 0x70]
mov dword [esp + 0x4c0], 0xffffffff
call fcn.00430aa0
xor eax, eax
jmp 0x45e571
mov ecx, dword [esp + 0x4c8]
push edi
push ebp
call fcn.0043baa0
mov edx, dword [esp + 0x4f8]
mov dword [esp + 0x1c], ebp
cmp edx, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], ebp
je 0x45dfa9
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x45dfa9
xor edx, edx
push ebp
push ebp
push edx
mov ecx, dword [esp + 0x4dc]
neg edx
sbb edx, edx
and edx, 3
push edx
push ebp
call fcn.0043baa0
push eax
call dword [esi + 0x38]
cmp eax, ebp
mov ebp, dword [esp + 0x4dc]
mov dword [esp + 0x3c], eax
je 0x45e4a9
cmp dword [esp + 0x4f0], 0xffffffff
je 0x45dff2
lea ecx, [esp + 0x4f0]
push 4
push ecx
push 2
push eax
call dword [esi + 0x44]
test ebp, ebp
mov esi, 0x8408cb00
je 0x45e01e
mov edx, dword [esp + 0x4e0]
mov edi, dword [esp + 0x4cc]
push edx
push edi
push 0xa
call ebp
add esp, 0xc
cmp eax, 1
jne 0x45e025
mov esi, 0x8400cb00
jmp 0x45e025
mov edi, dword [esp + 0x4cc]
mov eax, dword [esp + 0x4e8]
mov ecx, dword [esp + 0x4e4]
push 0
push esi
push eax
push ecx
push 0
mov ecx, edi
call fcn.0043baa0
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
push eax
push edx
call dword [esi + 0x60]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x45e07a
push eax
mov ecx, edi
call fcn.0043baa0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 0
call esi
push eax
mov ecx, 0x4a2a80
call fcn.0043dd60
jmp 0x45e4a9
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x2c]
push ecx
push edx
push 0x20000013
push eax
mov dword [esp + 0x24], 4
call dword [esi + 0x4c]
test eax, eax
je 0x45e0c1
mov eax, dword [esp + 0x28]
test ebx, ebx
je 0x45e0a5
mov dword [ebx], eax
cmp eax, 0xc8
je 0x45e0c1
cmp eax, 0xce
je 0x45e0c1
push 0
mov ecx, edi
call fcn.0043baa0
jmp 0x45e4a9
mov edi, str.Content_Disposition
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xbc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov esi, 0x400
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0xffff
push eax
mov dword [esp + 0x24], esi
call dword [ecx + 0x4c]
test eax, eax
je 0x45e14d
mov edx, dword [esp + 0x4d4]
lea eax, [esp + 0xbc]
test ebp, ebp
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
je 0x45e14d
mov ecx, dword [esp + 0x4e0]
lea edx, [esp + 0x64]
push ecx
push edx
push 0
call ebp
add esp, 0xc
test eax, eax
je 0x45e4a9
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 1
push edx
mov dword [esp + 0x24], esi
call dword [eax + 0x4c]
mov edi, dword [esp + 0x4d4]
test eax, eax
je 0x45e1a8
lea ecx, [esp + 0xbc]
mov dword [esp + 0x54], edi
test ebp, ebp
mov dword [esp + 0x58], ecx
je 0x45e1a8
mov edx, dword [esp + 0x4e0]
lea eax, [esp + 0x54]
push edx
push eax
push 1
call ebp
add esp, 0xc
test eax, eax
je 0x45e4a9
xor eax, eax
test ebp, ebp
mov dword [esp + 0x24], eax
je 0x45e1d2
mov ecx, dword [esp + 0x4e0]
lea edx, [esp + 0x24]
push ecx
push edx
push 2
call ebp
add esp, 0xc
test eax, eax
je 0x45e4a9
mov eax, dword [esp + 0x24]
dec eax
push 3
neg eax
sbb eax, eax
push 0x8000000
and al, 0xfe
mov ecx, edi
add eax, 3
push eax
push 0
call fcn.0043baa0
push eax
lea ecx, [esp + 0x84]
call fcn.00432030
test eax, eax
jne 0x45e21f
push eax
mov ecx, edi
call fcn.0043baa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x45e4a9
mov dword [ebx], 0x3e7
jmp 0x45e4a9
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 5
push edx
mov dword [esp + 0x24], esi
call dword [eax + 0x4c]
test eax, eax
je 0x45e2ae
lea ecx, [esp + 0x34]
lea edx, [esp + 0xbc]
push ecx
push str._I64d
push edx
call fcn.0046fcfa
add esp, 0xc
cmp eax, 1
jne 0x45e2ae
cmp dword [esp + 0x24], 1
jne 0x45e272
push 0
push 0
push 2
jmp 0x45e299
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push 0
lea ecx, [esp + 0x80]
call fcn.00432340
lea ecx, [esp + 0x74]
call fcn.004323d0
push 0
push 0
push 0
lea ecx, [esp + 0x80]
call fcn.00432340
push 0
mov ecx, edi
call fcn.0043baa0
test ebp, ebp
je 0x45e32c
mov edx, dword [esp + 0x4e0]
mov eax, dword [esp + 0x34]
push edx
push eax
push 4
call ebp
add esp, 0xc
test eax, eax
je 0x45e4a9
mov ecx, dword [esp + 0x4e0]
lea edx, [esp + 0x34]
push ecx
push edx
push 5
call ebp
add esp, 0xc
test eax, eax
je 0x45e4a9
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0xbc]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push 0x22
push edx
mov dword [esp + 0x20], esi
call dword [eax + 0x34]
test eax, eax
je 0x45e32c
mov ecx, dword [esp + 0x4e0]
lea edx, [esp + 0xbc]
push ecx
push edx
push 6
call ebp
add esp, 0xc
test eax, eax
je 0x45e4a9
mov edi, dword [esp + 0x4f4]
mov esi, dword [esp + 0x4d8]
xor ebx, ebx
cmp esi, ebx
je 0x45e34a
cmp esi, 0x400
mov eax, esi
jb 0x45e34f
mov eax, 0x400
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xc4]
push edx
push eax
call dword [ecx + 0x58]
test eax, eax
je 0x45e47c
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x45e46d
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x74]
push edx
push eax
call fcn.004321d0
test eax, eax
je 0x45e47c
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add edx, eax
adc ecx, ebx
cmp edi, ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
je 0x45e42b
lea ecx, [esp + 0x9c]
call fcn.0043d620
lea ecx, [esp + 0x9c]
call fcn.0043d640
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], edi
fild qword [esp + 0x5c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
fmul qword [0x483d08]
fild qword [esp + 0x4c]
fdivr qword [0x4837e8]
fmulp st(1)
fild qword [esp + 0x6c]
fsubp st(1)
call fcn.00470110
cmp eax, ebx
jle 0x45e41f
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x9c]
call fcn.0043d610
cmp ebp, ebx
je 0x45e45a
mov ebx, dword [esp + 0x4e0]
mov edx, dword [esp + 0x2c]
push ebx
push edx
push 7
call ebp
add esp, 0xc
test eax, eax
je 0x45e482
lea eax, [esp + 0x2c]
push ebx
push eax
push 8
call ebp
add esp, 0xc
test eax, eax
je 0x45e482
xor ebx, ebx
cmp esi, ebx
je 0x45e33a
sub esi, dword [esp + 0x20]
je 0x45e48c
jmp 0x45e33a
mov ecx, dword [esp + 0x4d4]
push ebx
call fcn.0043baa0
jmp 0x45e48c
mov dword [esp + 0x14], ebx
jmp 0x45e48c
mov dword [esp + 0x14], 0
xor ebx, ebx
cmp ebp, ebx
je 0x45e4a9
mov ecx, dword [esp + 0x4e0]
push ecx
push 0
push 9
call ebp
add esp, 0xc
test eax, eax
jne 0x45e4a9
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x74]
call fcn.004322e0
mov eax, dword [esp + 0x14]
pop edi
test eax, eax
jne 0x45e50c
mov edx, dword [esp + 0x24]
mov esi, 1
lea eax, [esp + 0x10]
mov dword [esp + 0x3c], edx
test ebp, ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
je 0x45e4f4
mov ecx, dword [esp + 0x4dc]
lea edx, [esp + 0x3c]
push ecx
push edx
push 3
call ebp
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp eax, esi
jne 0x45e50c
mov ecx, dword [esp + 0x4d0]
push 0
call fcn.0043baa0
push eax
lea ecx, [esp + 0x74]
call fcn.00432000
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45e51e
mov esi, dword [esp + 0x14]
push eax
call dword [esi + 0x5c]
jmp 0x45e522
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45e52e
push eax
call dword [esi + 0x5c]
mov ecx, esi
call fcn.0045cfd0
mov ecx, dword [esp + 0x4c8]
push 0
call fcn.0043baa0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x98]
mov byte [esp + 0x4c0], 0
call fcn.0043d250
lea ecx, [esp + 0x70]
mov dword [esp + 0x4c0], 0xffffffff
call fcn.00430aa0
mov eax, esi
mov ecx, dword [esp + 0x4b8]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4b8
ret 0x30