Function at 0x401645
Capabilities:
Check http status code

Disassembly:
jmp 0x41743f
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor edx, edx
mov dword [esp + 0x28], edx
mov eax, dword [edi + 0xf0]
lea ebx, [edi + 0xf8]
mov esi, dword [edi + 0x4d8]
mov ebp, dword [edi + 0x4dc]
mov dword [edi + 0x524], edx
mov dword [edi + 0x554], edx
mov dword [edi + 0x560], edx
mov dword [edi + 0x56c], edx
mov ecx, dword [eax + 0x6050]
mov eax, dword [edi + 0x4a4]
sub eax, dword [edi + 0x4a8]
mov dword [esp + 0x1c], ecx
mov ecx, ebx
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], ebp
call fcn.004010fa
mov ecx, dword [edi + 0xf0]
push eax
add ecx, 0x6e28
call fcn.004013de
push esi
mov ecx, ebx
call fcn.0040168b
mov ecx, dword [edi + 0xf0]
push eax
add ecx, 0x6fb8
call fcn.004013de
test ebp, ebp
je 0x41750c
push ebp
mov ecx, ebx
call fcn.004010fa
mov ecx, dword [edi + 0xf0]
push eax
add ecx, 0x6ef0
call fcn.004013de
push ebp
mov ecx, ebx
call fcn.0040168b
mov ecx, dword [edi + 0xf0]
push eax
add ecx, 0x7080
call fcn.004013de
cmp dword [edi + 0x24], 0
jne 0x417bfe
xor esi, esi
mov dword [esp + 0x18], esi
mov ebp, dword [edi + 0x4a4]
lea eax, [edi + 0x520]
sub ebp, dword [edi + 0x4a8]
mov ecx, eax
sub ebp, dword [esp + 0x20]
push 4
call fcn.004014b5
push 0xa
mov ecx, edi
mov dword [eax], ebp
call fcn.0040113b
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x4a4]
mov byte [esp + 0x12], 0
mov dl, byte [eax]
inc eax
mov dword [esp + 0x1c], eax
lea eax, [ecx + 1]
movzx ebx, dl
mov dword [edi + 0x4a4], eax
mov byte [ecx], dl
cmp ebx, 0xc4
jne 0x417596
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x4a4]
mov byte [esp + 0x12], 1
mov dl, byte [eax]
inc eax
mov dword [esp + 0x1c], eax
lea eax, [ecx + 1]
mov dword [edi + 0x4a4], eax
movzx ebx, dl
mov byte [ecx], dl
mov eax, 0xbc
cmp ebx, eax
ja 0x41775a
je 0x417a7a
cmp ebx, 0x10
je 0x417a7a
cmp ebx, 0x11
je 0x41773c
cmp ebx, 0x84
je 0x4176ca
lea eax, [ebx - 0xaa]
cmp eax, 1
ja 0x417779
mov ecx, dword [edi + 0xf0]
add ecx, 0x60fc
call fcn.00401609
mov ecx, dword [edi + 0x4a4]
mov ebp, eax
sub ecx, dword [edi + 0x4a8]
mov edx, dword [esp + 0x20]
sub ecx, edx
test cl, 3
je 0x417624
mov ecx, dword [edi + 0x4a4]
lea eax, [ecx + 1]
mov dword [edi + 0x4a4], eax
mov byte [ecx], 0
mov eax, dword [edi + 0x4a4]
sub eax, dword [edi + 0x4a8]
sub eax, edx
test al, 3
jne 0x417600
lea eax, [ebp*8 + 0x1e]
mov ecx, edi
push eax
call fcn.0040113b
push 4
push esi
mov ecx, edi
call fcn.004017e4
cmp ebx, 0xaa
jne 0x41768d
mov ecx, dword [edi + 0xf0]
add ecx, 0x61c4
call fcn.00401609
mov esi, eax
mov ecx, edi
push esi
call fcn.0040167c
lea eax, [ebp - 1]
mov ecx, edi
add eax, esi
push eax
call fcn.0040167c
test ebp, ebp
jle 0x417b36
mov ebx, dword [esp + 0x18]
push 4
push ebx
mov ecx, edi
call fcn.004017e4
sub ebp, 1
jne 0x417679
jmp 0x417b36
push ebp
mov ecx, edi
call fcn.0040167c
test ebp, ebp
jle 0x417b36
mov ecx, dword [edi + 0xf0]
add ecx, 0x61c4
call fcn.00401609
push eax
mov ecx, edi
call fcn.0040167c
push 4
push esi
mov ecx, edi
call fcn.004017e4
sub ebp, 1
jne 0x41769d
jmp 0x417b36
mov ecx, dword [edi + 0xf0]
add ecx, 0x641c
call fcn.00401609
cmp byte [esp + 0x12], 0
mov ebx, eax
mov eax, 0x628c
mov ecx, 0x6354
cmove ecx, eax
add ecx, dword [edi + 0xf0]
call fcn.00401609
cmp byte [esp + 0x12], 0
mov edx, eax
mov dword [esp + 0x2c], edx
je 0x417715
push ebx
mov ecx, edi
call fcn.00401505
push dword [esp + 0x2c]
jmp 0x41774e
mov ecx, dword [edi + 0x4a4]
lea eax, [ecx + 1]
mov dword [edi + 0x4a4], eax
mov byte [ecx], bl
mov ecx, dword [edi + 0x4a4]
lea eax, [ecx + 1]
mov dword [edi + 0x4a4], eax
mov byte [ecx], dl
jmp 0x417b36
mov ecx, dword [edi + 0xf0]
add ecx, 0x6354
call fcn.00401609
push eax
mov ecx, edi
call fcn.00401505
jmp 0x417b36
mov eax, ebx
sub eax, 0xfd
je 0x417ae6
sub eax, 1
je 0x417a94
sub eax, 1
je 0x417b4d
lea eax, [ebx - 0xe6]
cmp eax, 2
ja 0x41782b
add ebx, 0xffffff1a
mov dword [esp + 0x14], 0xb7
sub ebx, 0
je 0x4177ac
sub ebx, 1
je 0x4177a6
mov esi, dword [esp + 0x28]
jmp 0x4177b0
mov esi, dword [esp + 0x30]
jmp 0x4177b0
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x4a4]
mov byte [eax - 1], 0xb7
mov ecx, dword [edi + 0xf0]
add ecx, 0x7164
call fcn.00401609
push esi
lea ecx, [edi + 0xf8]
mov dword [esp + 0x30], eax
call fcn.0040168b
cmp dword [edi + 0x24], 0
mov ebp, eax
jne 0x417bfe
xor esi, esi
xor ebx, ebx
test ebp, ebp
je 0x41781c
push esi
mov ecx, ebp
call fcn.0040108c
mov edx, eax
test edx, edx
je 0x41781e
mov ecx, dword [edx + 0xc]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx]
cmp ecx, dword [edi + 0x490]
jne 0x417819
mov eax, ebx
inc ebx
cmp eax, dword [esp + 0x2c]
je 0x41781e
inc esi
jmp 0x4177eb
xor edx, edx
push edx
mov ecx, edi
call fcn.004014bf
jmp 0x417b36
lea eax, [esp + 0x14]
mov ecx, edi
push eax
lea eax, [esp + 0x17]
push eax
push ebx
call fcn.004016b8
mov esi, eax
test esi, esi
je 0x4178a4
cmp byte [esp + 0x13], 0
mov ecx, dword [edi + 0x4a4]
jne 0x417859
mov al, byte [esp + 0x14]
mov byte [ecx - 1], al
jmp 0x417888
mov byte [ecx - 1], 0x2a
lea ecx, [edi + 0x520]
push 4
call fcn.004014b5
inc dword [esp + 0x18]
lea ecx, [ebp + 1]
mov dword [eax], ecx
mov ecx, dword [edi + 0x4a4]
lea eax, [ecx + 1]
mov dword [edi + 0x4a4], eax
mov al, byte [esp + 0x14]
mov byte [ecx], al
push 0
push dword [esi + 0xc]
mov ecx, esi
call fcn.004013f7
cmp dword [edi + 0x24], 0
jne 0x417bfe
push eax
jmp 0x41781f
push ebx
call fcn.00410d93
pop ecx
mov ecx, edi
test al, al
je 0x4178cf
cmp ebx, 0xc8
mov ebx, dword [esp + 0x18]
sbb eax, eax
and eax, 0xfffffffe
add eax, 4
push eax
push ebx
call fcn.004017e4
jmp 0x417b36
push ebx
call fcn.0040186b
mov esi, eax
test esi, esi
je 0x417a1b
cmp byte [esi + 0x11], 0
setne cl
movzx ecx, cl
push ecx
push dword [esi + 0xc]
mov ecx, esi
call fcn.004013f7
cmp dword [edi + 0x24], 0
mov ebp, eax
jne 0x417bfe
test ebp, ebp
jne 0x417917
mov ecx, dword [edi + 0xf0]
add ecx, 0x6a40
cmp esi, ecx
cmove ebp, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
cmp ebx, 0xee
ja 0x41795c
cmp ebx, 0xec
jae 0x417987
cmp ebx, 0x12
je 0x417952
cmp ebx, 0x13
je 0x417987
cmp ebx, 0x14
je 0x41798b
cmp ebx, 0xbb
je 0x417956
cmp ebx, 0xe8
jbe 0x417992
cmp ebx, 0xeb
ja 0x417992
push 0x12
jmp 0x41798d
mov dword [esp + 0x28], ebp
jmp 0x417992
mov eax, ebx
sub eax, 0xef
je 0x41798b
sub eax, 1
je 0x417952
sub eax, 1
je 0x417987
sub eax, 1
je 0x417980
sub eax, 1
jne 0x417992
mov ebx, 0xb8
jmp 0x41798e
mov ebx, 0xb7
jmp 0x41798e
push 0x13
jmp 0x41798d
push 0x14
pop ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0x4a4]
mov ecx, edi
push ebp
mov byte [eax - 1], bl
cmp ebx, 0x12
je 0x417b31
call fcn.004014bf
cmp ebx, 0xc5
je 0x417a7a
cmp ebx, 0xb9
jne 0x4179e6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
call fcn.00401613
mov edx, dword [edi + 0x4a4]
inc al
lea ecx, [edx + 1]
mov dword [edi + 0x4a4], ecx
mov byte [edx], al
jmp 0x417a04
cmp ebx, 0xba
jne 0x417b36
mov ecx, dword [edi + 0x4a4]
lea eax, [ecx + 1]
mov dword [edi + 0x4a4], eax
mov byte [ecx], 0
mov ecx, dword [edi + 0x4a4]
lea eax, [ecx + 1]
mov dword [edi + 0x4a4], eax
mov byte [ecx], 0
jmp 0x417b36
push ebx
call fcn.00410e05
pop ecx
test al, al
je 0x417b36
mov ecx, dword [edi + 0xf0]
add ecx, 0x641c
call fcn.00401609
cmp byte [esp + 0x12], 0
mov edx, eax
je 0x417a5d
push edx
mov ecx, edi
call fcn.00401505
cmp ebx, 0x84
jne 0x417b36
jmp 0x41773c
mov ecx, dword [edi + 0x4a4]
lea eax, [ecx + 1]
mov dword [edi + 0x4a4], eax
mov byte [ecx], dl
cmp ebx, 0x84
jne 0x417b36
mov ecx, dword [edi + 0xf0]
mov eax, dword [ecx + 0x62a8]
mov dl, byte [eax]
inc eax
mov dword [ecx + 0x62a8], eax
jmp 0x417726
mov ecx, dword [edi + 0xf0]
dec dword [edi + 0x4a4]
add ecx, 0x73bc
call fcn.00401609
mov esi, eax
mov ecx, edi
push esi
call fcn.0040113b
test esi, esi
jle 0x417b36
mov ecx, dword [edi + 0xf0]
mov eax, dword [ecx + 0x74a0]
mov dl, byte [eax]
inc eax
mov dword [ecx + 0x74a0], eax
mov ecx, dword [edi + 0x4a4]
lea eax, [ecx + 1]
mov dword [edi + 0x4a4], eax
mov byte [ecx], dl
sub esi, 1
jne 0x417ab9
jmp 0x417b36
mov ecx, dword [edi + 0xf0]
dec dword [edi + 0x4a4]
add ecx, 0x72f4
call fcn.00401609
mov ecx, dword [edi + 0xf0]
mov esi, eax
add ecx, 0x7210
push 1
push dword [ecx + 0xc]
call fcn.004013f7
cmp dword [edi + 0x24], 0
jne 0x417bfe
sub esi, 1
je 0x417b2e
sub esi, 1
jne 0x417b36
jmp 0x41789e
push eax
mov ecx, edi
call fcn.00401893
inc dword [esp + 0x18]
cmp dword [edi + 0x24], 0
jne 0x417bfe
mov esi, dword [esp + 0x18]
jmp 0x41751c
mov eax, dword [edi + 0xf0]
dec dword [edi + 0x4a4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x6050], ecx
xor ebx, ebx
cmp dword [edi + 0x554], ebx
jle 0x417bfe
mov eax, dword [edi + 0x550]
mov ecx, dword [edi + 0xf0]
add ecx, 0x64e4
movzx ebp, byte [ebx + eax]
mov eax, dword [edi + 0x55c]
mov eax, dword [eax + ebx*4]
add eax, dword [edi + 0x4a8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x568]
mov esi, dword [eax + ebx*4]
call fcn.00401609
add eax, esi
mov ecx, edi
push eax
call fcn.0040111d
push esi
mov ecx, edi
mov dword [esp + 0x34], eax
call fcn.0040111d
mov ecx, dword [esp + 0x30]
sub ecx, eax
cmp dword [edi + 0x24], 0
jne 0x417bfe
dec ebp
sub ebp, 1
je 0x417be2
dec ebp
sub ebp, 1
jne 0x417bf1
push ecx
push dword [esp + 0x2c]
call fcn.004016ea
jmp 0x417bef
movzx eax, cx
push eax
push dword [esp + 0x2c]
call fcn.004014e2
pop ecx
pop ecx
inc ebx
cmp ebx, dword [edi + 0x554]
jl 0x417b71
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret