Function at 0x402460
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa120
call fcn.00474d20
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 [0x486bc14]
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.004565a0
push eax
call dword [0x48553b4]
cmp esi, esp
call fcn.00474aa2
test eax, eax
jne 0x402536
mov esi, esp
call dword [0x4855234]
cmp esi, esp
call fcn.00474aa2
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00403a20
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x6c]
push ecx
push 0x49c2
push 0x2415
push 0x4855734
push 0x5704
push 0x1248
push 0x67da
call fcn.004554b0
add esp, 0x18
push eax
call fcn.00453d30
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 3
xor eax, eax
jmp 0x4029f2
mov dword [ebp - 0x18], 0x9fff
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0xc8
je 0x402673
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00403a20
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x70]
push ecx
push 0x219b
push 0x3245
push 0x4855704
push 0x13b
push 0x19fc
push 0x289e
call fcn.004554b0
add esp, 0x18
push eax
call fcn.00453d30
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0x12d
je 0x4025ab
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0x12e
jne 0x402656
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.004565a0
push eax
call dword [0x48553b4]
cmp esi, esp
call fcn.00474aa2
test eax, eax
je 0x402656
lea eax, [ebp - 0xa020]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00403a20
push eax
push 0x69f9
push 0x1416
push 0x48556d4
push 0x14fc
push 0x66f5
push 0x2959
call fcn.004554b0
add esp, 0x18
push eax
call fcn.00453d30
add esp, 0xc
lea eax, [ebp - 0xa020]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
call fcn.00403640
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 0x4029f2
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 0x4029f2
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.004565a0
push eax
call dword [0x48553b4]
cmp esi, esp
call fcn.00474aa2
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x94]
test ecx, ecx
je 0x402705
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x486d140]
add ecx, dword [eax + 0xa0]
mov dword [0x486d140], ecx
mov eax, dword [0x486d140]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xa0]
push edx
push 0x5477
push 0x4855678
push 0x190f
push 0x5329
push 0x4e01
call fcn.004554b0
add esp, 0x14
push eax
call fcn.00453d30
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.004565a0
push eax
call dword [0x48553b4]
cmp esi, esp
call fcn.00474aa2
test eax, eax
je 0x40287b
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov word [ebp + ecx*2 - 0xa020], ax
mov esi, esp
push 0x4855660
lea eax, [ebp - 0xa020]
push eax
push 0x4855650
push 0x462c
push 0x1a1c
push 0x61d7
call fcn.004554b0
add esp, 0x10
push eax
push 0x4855638
call fcn.00466610
add esp, 8
call eax
cmp esi, esp
call fcn.00474aa2
mov dword [ebp - 0xa038], eax
cmp dword [ebp - 0xa038], 0
je 0x402879
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 0x4027e4
mov eax, dword [ebp - 0xa038]
add eax, 2
mov dword [ebp - 0xa038], eax
push 0x22
mov eax, dword [ebp - 0xa038]
push eax
call fcn.00402a60
add esp, 8
mov dword [ebp - 0xa044], eax
cmp dword [ebp - 0xa044], 0
je 0x402811
xor eax, eax
mov ecx, dword [ebp - 0xa044]
mov word [ecx], ax
jmp 0x402867
push 0x20
mov eax, dword [ebp - 0xa038]
push eax
call fcn.00402a60
add esp, 8
mov dword [ebp - 0xa044], eax
cmp dword [ebp - 0xa044], 0
je 0x40283c
xor eax, eax
mov ecx, dword [ebp - 0xa044]
mov word [ecx], ax
push 0x3b
mov eax, dword [ebp - 0xa038]
push eax
call fcn.00402a60
add esp, 8
mov dword [ebp - 0xa044], eax
cmp dword [ebp - 0xa044], 0
je 0x402867
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.00403640
jmp 0x402890
mov esi, esp
call dword [0x4855234]
cmp esi, esp
call fcn.00474aa2
mov dword [ebp - 0xa02c], eax
mov dword [ebp - 0x18], 0x9fff
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.00403560
movzx eax, al
test eax, eax
je 0x4029d8
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.004565a0
push eax
call dword [0x48553b4]
cmp esi, esp
call fcn.00474aa2
test eax, eax
je 0x4029d8
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.00402a60
add esp, 8
mov dword [ebp - 0xa050], eax
cmp dword [ebp - 0xa050], 0
jne 0x402922
lea eax, [ebp - 0xa020]
mov dword [ebp - 0xa050], eax
jmp 0x402931
mov eax, dword [ebp - 0xa050]
add eax, 2
mov dword [ebp - 0xa050], eax
push 0x20
mov eax, dword [ebp - 0xa050]
push eax
call fcn.00402a60
add esp, 8
mov dword [ebp - 0xa05c], eax
cmp dword [ebp - 0xa05c], 0
je 0x40295c
xor eax, eax
mov ecx, dword [ebp - 0xa05c]
mov word [ecx], ax
push 0x3f
mov eax, dword [ebp - 0xa050]
push eax
call fcn.00402a60
add esp, 8
mov dword [ebp - 0xa05c], eax
cmp dword [ebp - 0xa05c], 0
je 0x402987
xor eax, eax
mov ecx, dword [ebp - 0xa05c]
mov word [ecx], ax
push 0x2f
mov eax, dword [ebp - 0xa050]
push eax
call fcn.00402ab0
add esp, 8
mov dword [ebp - 0xa05c], eax
cmp dword [ebp - 0xa05c], 0
jne 0x4029b5
mov eax, dword [ebp - 0xa050]
mov dword [ebp - 0xa05c], eax
jmp 0x4029c4
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.00403640
jmp 0x4029ed
mov esi, esp
call dword [0x4855234]
cmp esi, esp
call fcn.00474aa2
mov dword [ebp - 0xa02c], eax
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x47c2a24]
call fcn.00474ac5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a93
add esp, 0xa120
cmp ebp, esp
call fcn.00474aa2
mov esp, ebp
pop ebp
ret