Function at 0x46a5c0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x46a5c9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x10]
call fcn.004052f0
mov eax, dword [ebp + 0x1c]
call fcn.004052f0
mov eax, dword [ebp + 0x18]
call fcn.004052f0
mov eax, dword [ebp + 0x14]
call fcn.004052f0
mov eax, dword [ebp + 0x10]
call fcn.004052f0
xor eax, eax
push ebp
push 0x46aced
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x3d], 0
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x20]
mov edx, 0x46ad0c
call fcn.00404f08
call fcn.004078d4
xor edx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
xor edx, edx
push ebp
push 0x46ac8f
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7a]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x10]
call fcn.00469a80
push 0
push 0
push 0
push 0
push 0
call fcn.00436a90
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x64], 0x1388
push 4
lea eax, [ebp - 0x64]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call fcn.00436aa0
push 4
lea eax, [ebp - 0x64]
push eax
push 8
mov eax, dword [ebp - 0xc]
push eax
call fcn.00436aa0
push 4
lea eax, [ebp - 0x64]
push eax
push 7
mov eax, dword [ebp - 0xc]
push eax
call fcn.00436aa0
push 0
push 0
push 3
mov eax, dword [ebp + 0x10]
call fcn.00405300
push eax
mov eax, dword [ebp + 0x14]
call fcn.00405300
push eax
movzx eax, word [ebp - 0x7a]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405300
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00436a88
mov dword [ebp - 8], eax
push 4
lea eax, [ebp - 0x64]
push eax
push 8
mov eax, dword [ebp - 8]
push eax
call fcn.00436aa0
push 4
lea eax, [ebp - 0x64]
push eax
push 7
mov eax, dword [ebp - 8]
push eax
call fcn.00436aa0
call fcn.00407874
cmp byte [ebp + 0x24], 0
je 0x46a722
mov edi, 0x46ad5c
jmp 0x46a727
mov edi, 0x46ad64
cmp byte [ebp + 0xc], 0
je 0x46a731
xor esi, esi
jmp 0x46a736
mov esi, 0x80000000
cmp dword [ebp - 0x54], 4
jne 0x46a742
or esi, 0x800000
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 0x18]
call fcn.00404f08
push 2
lea eax, [ebp - 0x30]
mov ecx, 1
mov edx, dword [0x46a580]
call fcn.0040667c
add esp, 4
mov eax, dword [ebp - 0x1c]
call fcn.00405300
mov edx, dword [ebp - 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x30]
xor edx, edx
mov dword [eax + 4], edx
push 0
push esi
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 0x1c]
call fcn.00405300
push eax
push 0x46ad68
mov eax, dword [ebp - 0x18]
call fcn.00405300
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call fcn.00436a68
mov dword [ebp - 4], eax
call fcn.00407874
cmp byte [ebp + 0x24], 0
je 0x46a99e
test ebx, ebx
je 0x46a8a8
mov ecx, 0x46ad7c
mov edx, 0x46ada0
mov eax, ebx
call fcn.0041d8bc
mov ecx, 0x46adb8
mov edx, 0x46ae00
mov eax, ebx
call fcn.0041d8bc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
dec edi
test edi, edi
jl 0x46a8a8
inc edi
xor esi, esi
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, ebx
call fcn.0041cf8c
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, ebx
call fcn.0041dd04
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46a817
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46a856
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], 0xb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x184], eax
mov byte [ebp - 0x180], 0xb
lea edx, [ebp - 0x18c]
mov ecx, 1
mov eax, 0x46ae10
call fcn.0040abc0
jmp 0x46a8a0
lea eax, [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], 0xb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x184], eax
mov byte [ebp - 0x180], 0xb
lea edx, [ebp - 0x18c]
mov ecx, 1
mov eax, 0x46ae10
call fcn.0040abc0
mov edx, dword [ebp - 0x190]
lea eax, [ebp - 0x24]
call fcn.0040513c
inc esi
dec edi
jne 0x46a7f3
cmp dword [ebp - 0x38], 0
je 0x46a967
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x46a8c1
cmp eax, 0
je 0x46a967
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x46a8da
cmp eax, 0
jbe 0x46a91a
jmp 0x46a8dc
jle 0x46a91a
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 0x34]
mov ecx, 1
mov edx, dword [0x408794]
call fcn.0040667c
add esp, 4
push 0
push 0
mov eax, dword [ebp - 0x38]
call fcn.0041e4a0
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call fcn.0041e6ac
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46a926
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x34]
call fcn.004064c0
push eax
mov eax, dword [ebp - 0x34]
push eax
push ebx
mov eax, dword [ebp - 0x24]
call fcn.00405300
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00436a78
test eax, eax
jne 0x46aae9
call fcn.00407874
test eax, eax
je 0x46aae9
push 0
call fcn.0040ecf8
jmp 0x46aae9
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46a973
sub ebx, 4
mov ebx, dword [ebx]
push 0
push 0
push ebx
mov eax, dword [ebp - 0x24]
call fcn.00405300
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00436a78
test eax, eax
jne 0x46aae9
push 0
call fcn.0040ecf8
jmp 0x46aae9
test ebx, ebx
je 0x46aa92
mov ecx, 0x46ad7c
mov edx, 0x46ada0
mov eax, ebx
call fcn.0041d8bc
mov ecx, 0x46adb8
mov edx, 0x46ae00
mov eax, ebx
call fcn.0041d8bc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
dec edi
test edi, edi
jl 0x46aa92
inc edi
xor esi, esi
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, ebx
call fcn.0041cf8c
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, ebx
call fcn.0041dd04
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46aa01
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46aa40
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], 0xb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x184], eax
mov byte [ebp - 0x180], 0xb
lea edx, [ebp - 0x18c]
mov ecx, 1
mov eax, 0x46ae10
call fcn.0040abc0
jmp 0x46aa8a
lea eax, [ebp - 0x194]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], 0xb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x184], eax
mov byte [ebp - 0x180], 0xb
lea edx, [ebp - 0x18c]
mov ecx, 1
mov eax, 0x46ae10
call fcn.0040abc0
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 0x24]
call fcn.0040513c
inc esi
dec edi
jne 0x46a9dd
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46aa9e
sub ebx, 4
mov ebx, dword [ebx]
push 0
push 0
push ebx
mov eax, dword [ebp - 0x24]
call fcn.00405300
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00436a78
test eax, eax
jne 0x46aae9
call fcn.00407874
test eax, eax
je 0x46aad1
test eax, eax
jne 0x46aad1
sub eax, 0xfffff
push eax
call fcn.0040ecf8
push ebp
call fcn.0046a594
pop ecx
mov byte [ebp - 0x3d], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46ac89
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x20000013
mov eax, dword [ebp - 4]
push eax
call fcn.00436a70
test eax, eax
je 0x46ab1c
cmp dword [ebp - 0x44], 0xc8
je 0x46ab3c
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
push ebp
call fcn.0046a594
pop ecx
mov byte [ebp - 0x3d], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46ac89
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x20000005
mov eax, dword [ebp - 4]
push eax
call fcn.00436a70
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x3d], al
cmp byte [ebp - 0x3d], 0
jne 0x46ab89
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0x7fffffff
jmp 0x46ab94
mov eax, dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x38], 0
jne 0x46abb8
cmp dword [ebp - 0x44], 0xc8
sete byte [ebp - 0x3d]
jmp 0x46ac6e
push 0
push 0
mov eax, dword [ebp - 0x38]
call fcn.0041e504
cmp dword [ebp + 8], 0
jle 0x46ac08
call fcn.004078d4
xor edx, edx
sub eax, dword [ebp - 0x60]
sbb edx, dword [ebp - 0x5c]
push edx
push eax
mov eax, dword [ebp + 8]
cdq
cmp edx, dword [esp + 4]
jne 0x46abec
cmp eax, dword [esp]
pop edx
pop eax
jae 0x46ac08
jmp 0x46abf0
pop edx
pop eax
jge 0x46ac08
push ebp
call fcn.0046a594
pop ecx
mov byte [ebp - 0x3d], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46ac89
lea eax, [ebp - 0x58]
push eax
push 0x101
lea eax, [ebp - 0x17b]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00436a98
test eax, eax
je 0x46ac6e
cmp dword [ebp - 0x58], 0
jne 0x46ac31
mov byte [ebp - 0x3d], 1
jmp 0x46ac6e
lea edx, [ebp - 0x17b]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x58]
xor edx, edx
add dword [ebp - 0x78], eax
adc dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [ebp - 0x6c]
jne 0x46ac64
cmp eax, dword [ebp - 0x70]
jb 0x46abc4
jmp 0x46ac6a
jl 0x46abc4
mov byte [ebp - 0x3d], 1
push ebp
call fcn.0046a594
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46ac89
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46acf4
lea eax, [ebp - 0x194]
mov edx, 2
call fcn.00404e94
lea eax, [ebp - 0x34]
mov edx, dword [0x408794]
call fcn.0040679c
lea eax, [ebp - 0x30]
mov edx, dword [0x46a580]
call fcn.0040679c
lea eax, [ebp - 0x2c]
mov edx, 8
call fcn.00404e94
lea eax, [ebp + 0x10]
mov edx, 4
call fcn.00404e94
ret