Function at 0x402440
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa120
call fcn.00472a10
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xa120]
mov ecx, 0x2848
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4a9c14]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 4
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x70
push ecx
push 0
push 0x20000013
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.0046dfc0
push eax
call dword [0x4933ac]
cmp esi, esp
call fcn.00472792
test eax, eax
jne 0x402507
mov esi, esp
call dword [0x49322c]
cmp esi, esp
call fcn.00472792
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00403920
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x6c]
push ecx
push 0x14e5
push 0x493714
push 0x59a8
call fcn.00455750
add esp, 0xc
push eax
call fcn.00453f90
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 3
xor eax, eax
jmp 0x4029a9
mov dword [ebp - 0x18], 0x9fff
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0xc8
je 0x402626
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00403920
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x70]
push ecx
push 0x3b66
push 0x29be
push 0x4936e4
push 0x2eeb
call fcn.00455750
add esp, 0x10
push eax
call fcn.00453f90
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0x12d
je 0x402572
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0x12e
jne 0x402609
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa020]
push ecx
push 0
push 0x21
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.0046dfc0
push eax
call dword [0x4933ac]
cmp esi, esp
call fcn.00472792
test eax, eax
je 0x402609
lea eax, [ebp - 0xa020]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00403920
push eax
push 0x4936b4
push 0x562
call fcn.00455750
add esp, 8
push eax
call fcn.00453f90
add esp, 0xc
lea eax, [ebp - 0xa020]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00403570
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.00401df0
mov ecx, dword [ebp - 0xc]
call fcn.00401eb0
movzx eax, al
neg eax
sbb eax, eax
jmp 0x4029a9
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x70]
mov dword [eax + 0x6c], edx
xor eax, eax
jmp 0x4029a9
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0xa0
push ecx
push 0
push 0x20000005
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.0046dfc0
push eax
call dword [0x4933ac]
cmp esi, esp
call fcn.00472792
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x94]
test ecx, ecx
je 0x4026a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x4ab140]
add ecx, dword [eax + 0xa0]
mov dword [0x4ab140], ecx
mov eax, dword [0x4ab140]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xa0]
push edx
push 0x493658
push 0x9ad
call fcn.00455750
add esp, 8
push eax
call fcn.00453f90
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 2
mov dword [ebp - 0x18], 0x9fff
mov dword [ebp - 0xa02c], 0
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa020]
push ecx
push 0
push 0x2f
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.0046dfc0
push eax
call dword [0x4933ac]
cmp esi, esp
call fcn.00472792
test eax, eax
je 0x402832
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov word [ebp + ecx*2 - 0xa020], ax
push 0x502b
push 0x5b44
push 0x493648
push 0x3ab3
call fcn.00455810
add esp, 0x10
mov esi, esp
push eax
lea eax, [ebp - 0xa020]
push eax
push 0x56ba
push 0x493638
push 0x194e
call fcn.00455750
add esp, 0xc
push eax
push 0x493620
call fcn.00465170
add esp, 8
call eax
cmp esi, esp
call fcn.00472792
mov dword [ebp - 0xa038], eax
cmp dword [ebp - 0xa038], 0
je 0x402830
mov eax, dword [ebp - 0xa038]
add eax, 0x12
mov dword [ebp - 0xa038], eax
mov eax, dword [ebp - 0xa038]
movzx ecx, word [eax]
cmp ecx, 0x22
jne 0x40279b
mov eax, dword [ebp - 0xa038]
add eax, 2
mov dword [ebp - 0xa038], eax
push 0x22
mov eax, dword [ebp - 0xa038]
push eax
call fcn.00402a10
add esp, 8
mov dword [ebp - 0xa044], eax
cmp dword [ebp - 0xa044], 0
je 0x4027c8
xor eax, eax
mov ecx, dword [ebp - 0xa044]
mov word [ecx], ax
jmp 0x40281e
push 0x20
mov eax, dword [ebp - 0xa038]
push eax
call fcn.00402a10
add esp, 8
mov dword [ebp - 0xa044], eax
cmp dword [ebp - 0xa044], 0
je 0x4027f3
xor eax, eax
mov ecx, dword [ebp - 0xa044]
mov word [ecx], ax
push 0x3b
mov eax, dword [ebp - 0xa038]
push eax
call fcn.00402a10
add esp, 8
mov dword [ebp - 0xa044], eax
cmp dword [ebp - 0xa044], 0
je 0x40281e
xor eax, eax
mov ecx, dword [ebp - 0xa044]
mov word [ecx], ax
mov eax, dword [ebp - 0xa038]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.00403570
jmp 0x402847
mov esi, esp
call dword [0x49322c]
cmp esi, esp
call fcn.00472792
mov dword [ebp - 0xa02c], eax
mov dword [ebp - 0x18], 0x9fff
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.0044deb0
movzx eax, al
test eax, eax
je 0x40298f
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa020]
push ecx
push 0
push 0x80000015
mov ecx, dword [ebp - 0xc]
add ecx, 0xac
call fcn.0046dfc0
push eax
call dword [0x4933ac]
cmp esi, esp
call fcn.00472792
test eax, eax
je 0x40298f
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov word [ebp + ecx*2 - 0xa020], ax
push 0x20
lea eax, [ebp - 0xa020]
push eax
call fcn.00402a10
add esp, 8
mov dword [ebp - 0xa050], eax
cmp dword [ebp - 0xa050], 0
jne 0x4028d9
lea eax, [ebp - 0xa020]
mov dword [ebp - 0xa050], eax
jmp 0x4028e8
mov eax, dword [ebp - 0xa050]
add eax, 2
mov dword [ebp - 0xa050], eax
push 0x20
mov eax, dword [ebp - 0xa050]
push eax
call fcn.00402a10
add esp, 8
mov dword [ebp - 0xa05c], eax
cmp dword [ebp - 0xa05c], 0
je 0x402913
xor eax, eax
mov ecx, dword [ebp - 0xa05c]
mov word [ecx], ax
push 0x3f
mov eax, dword [ebp - 0xa050]
push eax
call fcn.00402a10
add esp, 8
mov dword [ebp - 0xa05c], eax
cmp dword [ebp - 0xa05c], 0
je 0x40293e
xor eax, eax
mov ecx, dword [ebp - 0xa05c]
mov word [ecx], ax
push 0x2f
mov eax, dword [ebp - 0xa050]
push eax
call fcn.00402a60
add esp, 8
mov dword [ebp - 0xa05c], eax
cmp dword [ebp - 0xa05c], 0
jne 0x40296c
mov eax, dword [ebp - 0xa050]
mov dword [ebp - 0xa05c], eax
jmp 0x40297b
mov eax, dword [ebp - 0xa05c]
add eax, 2
mov dword [ebp - 0xa05c], eax
mov eax, dword [ebp - 0xa05c]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.00403570
jmp 0x4029a4
mov esi, esp
call dword [0x49322c]
cmp esi, esp
call fcn.00472792
mov dword [ebp - 0xa02c], eax
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x4029d8]
call fcn.004727b5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472783
add esp, 0xa120
cmp ebp, esp
call fcn.00472792
mov esp, ebp
pop ebp
ret