Function at 0x4152b0
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4371f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4ac
push ebx
push ebp
push edi
mov edi, ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x10], edi
call fcn.00412600
xor ebx, ebx
lea ecx, [esp + 0x98]
mov dword [esp + 0x4c0], ebx
call fcn.00423690
mov ebp, dword [esp + 0x4e8]
mov byte [esp + 0x4c0], 1
cmp ebp, ebx
je 0x41530c
mov dword [ebp], 0xc8
mov ecx, edi
call fcn.00414020
test eax, eax
jne 0x415345
lea ecx, [esp + 0x98]
mov byte [esp + 0x4c0], bl
call fcn.004112a0
lea ecx, [esp + 0x70]
mov dword [esp + 0x4c0], 0xffffffff
call fcn.00412620
xor eax, eax
jmp 0x415936
mov ecx, dword [esp + 0x4c8]
push esi
push ebx
call fcn.0040eef0
mov esi, dword [esp + 0x4f8]
mov dword [esp + 0x1c], ebx
cmp esi, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
je 0x415389
push esi
call fcn.0042b1f8
add esp, 4
test eax, eax
jne 0x415389
xor esi, esi
push ebx
push ebx
push esi
mov ecx, dword [esp + 0x4dc]
neg esi
sbb esi, esi
and esi, 3
push esi
push ebx
call fcn.0040eef0
push eax
call dword [edi + 0x38]
mov edi, dword [esp + 0x4dc]
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x415873
cmp dword [esp + 0x4f0], 0xffffffff
je 0x4153d6
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4f0]
push 4
push ecx
push 2
push eax
call dword [edx + 0x44]
cmp edi, ebx
mov esi, 0x8408cb00
je 0x415400
mov eax, dword [esp + 0x4e0]
mov ecx, dword [esp + 0x4cc]
push eax
push ecx
push 0xa
call edi
add esp, 0xc
cmp eax, 1
jne 0x415400
mov esi, 0x8400cb00
mov edx, dword [esp + 0x4e8]
mov eax, dword [esp + 0x4e4]
mov ecx, dword [esp + 0x4cc]
push ebx
push esi
push edx
push eax
push ebx
call fcn.0040eef0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
push eax
push ecx
call dword [edx + 0x60]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x1c], esi
jne 0x41545e
mov ecx, dword [esp + 0x4cc]
push ebx
call fcn.0040eef0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push ebx
call esi
push eax
mov ecx, 0x44ef70
call fcn.00406860
jmp 0x415873
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0x20000013
push esi
mov dword [esp + 0x24], 4
call dword [edx + 0x4c]
test eax, eax
je 0x4154ad
mov eax, dword [esp + 0x28]
cmp ebp, ebx
je 0x41548d
mov dword [ebp], eax
cmp eax, 0xc8
je 0x4154ad
cmp eax, 0xce
je 0x4154ad
mov ecx, dword [esp + 0x4cc]
push ebx
call fcn.0040eef0
jmp 0x415877
lea eax, [esp + 0xbc]
push str.Content_Disposition
push eax
call fcn.0042b099
mov eax, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x10]
lea edx, [esp + 0xbc]
push ebx
push ecx
push edx
push 0xffff
push esi
mov dword [esp + 0x24], 0x400
call dword [eax + 0x4c]
test eax, eax
je 0x41551e
mov ecx, dword [esp + 0x4d4]
lea edx, [esp + 0xbc]
cmp edi, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
je 0x41551e
mov eax, dword [esp + 0x4e0]
lea ecx, [esp + 0x64]
push eax
push ecx
push ebx
call edi
add esp, 0xc
test eax, eax
je 0x415877
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ebx
lea eax, [esp + 0xc0]
push edx
push eax
push 1
push esi
mov dword [esp + 0x24], 0x400
call dword [ecx + 0x4c]
test eax, eax
je 0x415578
mov edx, dword [esp + 0x4d4]
lea eax, [esp + 0xbc]
cmp edi, ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
je 0x415578
mov ecx, dword [esp + 0x4e0]
lea edx, [esp + 0x54]
push ecx
push edx
push 1
call edi
add esp, 0xc
test eax, eax
je 0x415877
xor eax, eax
cmp edi, ebx
mov dword [esp + 0x24], eax
je 0x4155a2
mov eax, dword [esp + 0x4e0]
lea ecx, [esp + 0x24]
push eax
push ecx
push 2
call edi
add esp, 0xc
test eax, eax
je 0x415877
mov eax, dword [esp + 0x24]
dec eax
mov ecx, dword [esp + 0x4d4]
neg eax
sbb eax, eax
push 3
and al, 0xfe
push 0x8000000
add eax, 3
push eax
push ebx
call fcn.0040eef0
push eax
lea ecx, [esp + 0x84]
call fcn.00412e40
test eax, eax
jne 0x4155f9
mov ecx, dword [esp + 0x4d4]
push ebx
call fcn.0040eef0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebp, ebx
je 0x415877
mov dword [ebp], 0x3e7
jmp 0x415877
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ebx
lea eax, [esp + 0xc0]
push edx
push eax
mov ebp, 0x400
push 5
push esi
mov dword [esp + 0x24], ebp
call dword [ecx + 0x4c]
test eax, eax
je 0x415686
lea edx, [esp + 0x34]
lea eax, [esp + 0xbc]
push edx
push str._I64d
push eax
call fcn.0042ab86
add esp, 0xc
cmp eax, 1
jne 0x415686
cmp dword [esp + 0x24], 1
jne 0x41564a
push ebx
push ebx
push 2
jmp 0x41566d
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
push ebx
lea ecx, [esp + 0x80]
call fcn.00413390
lea ecx, [esp + 0x74]
call fcn.004133e0
push ebx
push ebx
push ebx
lea ecx, [esp + 0x80]
call fcn.00413390
mov ecx, dword [esp + 0x4d4]
push ebx
call fcn.0040eef0
cmp edi, ebx
je 0x415700
mov eax, dword [esp + 0x4e0]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push 4
call edi
add esp, 0xc
test eax, eax
je 0x415877
mov edx, dword [esp + 0x4e0]
lea eax, [esp + 0x34]
push edx
push eax
push 5
call edi
add esp, 0xc
test eax, eax
je 0x415877
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xbc]
push ecx
push edx
push 0x22
push esi
mov dword [esp + 0x20], ebp
call dword [eax + 0x34]
test eax, eax
je 0x415700
mov ecx, dword [esp + 0x4e0]
lea edx, [esp + 0xbc]
push ecx
push edx
push 6
call edi
add esp, 0xc
test eax, eax
je 0x415877
mov ebp, dword [esp + 0x4f4]
mov esi, dword [esp + 0x4d8]
cmp esi, ebx
je 0x41571c
cmp esi, 0x400
mov eax, esi
jb 0x415721
mov eax, 0x400
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xc4]
push edx
push eax
call dword [ecx + 0x58]
test eax, eax
je 0x415853
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x415844
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x74]
push edx
push eax
call fcn.00413230
test eax, eax
je 0x415853
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add edx, eax
adc ecx, ebx
cmp ebp, ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
je 0x4157fd
lea ecx, [esp + 0x9c]
call fcn.004237a0
lea ecx, [esp + 0x9c]
call fcn.004237c0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], ebp
fild qword [esp + 0x5c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
fmul qword [0x43a7b0]
fild qword [esp + 0x4c]
fdivr qword [0x43a7c0]
fmulp st(1)
fild qword [esp + 0x6c]
fsubp st(1)
call fcn.0042b35c
cmp eax, ebx
jle 0x4157f1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x9c]
call fcn.00423790
cmp edi, ebx
je 0x415831
mov edx, dword [esp + 0x4e0]
mov eax, dword [esp + 0x2c]
push edx
push eax
push 7
call edi
add esp, 0xc
test eax, eax
je 0x415853
mov ecx, dword [esp + 0x4e0]
lea edx, [esp + 0x2c]
push ecx
push edx
push 8
call edi
add esp, 0xc
test eax, eax
je 0x415853
cmp esi, ebx
je 0x41571c
sub esi, dword [esp + 0x20]
je 0x415857
jmp 0x41570e
mov ecx, dword [esp + 0x4d4]
push ebx
call fcn.0040eef0
jmp 0x415857
mov dword [esp + 0x18], ebx
cmp edi, ebx
je 0x415873
mov eax, dword [esp + 0x4e0]
push eax
push ebx
push 9
call edi
add esp, 0xc
test eax, eax
jne 0x415873
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x74]
call fcn.00413330
cmp dword [esp + 0x18], ebx
jne 0x4158d6
mov ecx, dword [esp + 0x28]
mov ebp, 1
lea edx, [esp + 0x18]
cmp edi, ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edx
je 0x4158bf
mov eax, dword [esp + 0x4e0]
lea ecx, [esp + 0x40]
push eax
push ecx
push 3
call edi
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ebp
jne 0x4158d6
mov ecx, dword [esp + 0x4d4]
push ebx
call fcn.0040eef0
push eax
lea ecx, [esp + 0x78]
call fcn.00412e10
cmp esi, ebx
je 0x4158e4
push esi
mov esi, dword [esp + 0x18]
call dword [esi + 0x5c]
jmp 0x4158e8
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4158f4
push eax
call dword [esi + 0x5c]
mov ecx, esi
call fcn.00414220
mov ecx, dword [esp + 0x4cc]
push ebx
call fcn.0040eef0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x4c4], bl
call fcn.004112a0
lea ecx, [esp + 0x74]
mov dword [esp + 0x4c4], 0xffffffff
call fcn.00412620
mov eax, esi
pop esi
mov ecx, dword [esp + 0x4b8]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4b8
ret 0x30