Function at 0x40ec6c
Capabilities:
Check http status code

Disassembly:
push ebx
sub esp, 0xe8
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x2c], eax
mov eax, dword [0xa2c044]
mov dword [esp + 0xdc], eax
xor eax, eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0xac]
mov dword [esp], eax
call fcn.004095ec
mov dword [esp + 4], 9
mov dword [esp], 6
call fcn.00416b94
mov dword [esp + 4], eax
lea eax, [esp + 0xac]
mov dword [esp], eax
call fcn.0041669c
mov dword [esp + 4], 0x20
lea eax, [esp + 0xbc]
mov dword [esp], eax
call fcn.004095ec
mov dword [esp + 4], 0x722a40
lea eax, [esp + 0xbc]
mov dword [esp], eax
call fcn.0040e2b8
lea eax, [esp + 0xac]
mov dword [esp + 4], eax
lea eax, [esp + 0xbc]
mov dword [esp], eax
call fcn.0040e2b8
mov eax, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00413674
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00407810
mov dword [esp + 0x74], eax
mov dword [esp], 0x408
call fcn.00408eb8
mov dword [esp + 0x78], eax
lea eax, [esp + 0xbc]
mov dword [esp], eax
call fcn.0040e648
mov dword [esp + 8], eax
lea eax, [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00419744
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.004195f8
mov dword [esp], 0xa23989
call fcn.00418eb8
mov dword [esp + 0x7c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp], 0x400
call fcn.00408eb8
mov dword [esp + 0x8c], eax
mov dword [esp], 0x400
call fcn.00408eb8
mov dword [esp + 0x90], eax
mov dword [esp], 0x800
call fcn.00408eb8
mov dword [esp + 0x94], eax
mov dword [esp], 0x800
call fcn.00408eb8
mov dword [esp + 0x98], eax
cmp dword [esp + 0x8c], 0
je 0x40eeb5
cmp dword [esp + 0x90], 0
je 0x40eeb5
cmp dword [esp + 0x94], 0
je 0x40eeb5
cmp dword [esp + 0x98], 0
jne 0x40efc9
cmp dword [esp + 0x8c], 0
je 0x40eece
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x90], 0
je 0x40eee7
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x94], 0
je 0x40ef00
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x98], 0
je 0x40ef19
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x78], 0
je 0x40ef2c
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x88], 0
je 0x40ef45
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x5c], 0
je 0x40ef6e
mov dword [esp + 4], 0xc0
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 4
cmp dword [esp + 0x58], 0
je 0x40ef97
mov dword [esp + 4], 0xc0
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call edx
sub esp, 4
cmp dword [esp + 0x7c], 0
je 0x40efc0
mov dword [esp + 4], 0xc0
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call edx
sub esp, 4
mov eax, dword [esp + 0x60]
jmp 0x40f8b4
mov dword [esp + 4], 0x5702107
mov dword [esp], 0xab6d07
call fcn.00416b94
mov dword [esp + 0x80], eax
mov dword [esp + 0x9c], 0xa23994
mov dword [esp + 0xa0], 0xa23a12
mov dword [esp + 0xa4], 0xa23a2c
mov dword [esp + 4], 0x10e
mov dword [esp], 0x38
call fcn.0040a0b4
mov edx, eax
lea eax, [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x400
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call edx
mov dword [esp + 4], 0x10e
mov dword [esp], 0x38
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x400
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call edx
mov dword [esp + 4], 0x10f
mov dword [esp], 0x38
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x400
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.0040e648
mov edx, dword [esp + 0x74]
lea ebx, [eax + edx]
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.0040e648
add eax, ebx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.00408eb8
mov dword [esp + 0x88], eax
cmp dword [esp + 0x88], 0
jne 0x40f24e
cmp dword [esp + 0x8c], 0
je 0x40f153
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x90], 0
je 0x40f16c
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x94], 0
je 0x40f185
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x98], 0
je 0x40f19e
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x88], 0
je 0x40f1b7
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x78], 0
je 0x40f1ca
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x5c], 0
je 0x40f1f3
mov dword [esp + 4], 0xc0
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 4
cmp dword [esp + 0x58], 0
je 0x40f21c
mov dword [esp + 4], 0xc0
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call edx
sub esp, 4
cmp dword [esp + 0x7c], 0
je 0x40f245
mov dword [esp + 4], 0xc0
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call edx
sub esp, 4
mov eax, dword [esp + 0x60]
jmp 0x40f8b4
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.0040e648
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.0040d054
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.0040e648
mov edx, dword [esp + 0x88]
add edx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0040d054
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.0040e648
mov ebx, eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.0040e648
mov edx, dword [esp + 0x74]
add edx, eax
mov eax, dword [esp + 0x88]
add edx, eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0040d054
mov dword [esp + 4], 0x10f
mov dword [esp], 0x38
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x764b60
mov dword [esp + 4], 0x400
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call edx
mov dword [esp + 4], 0x764f60
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0040e4b0
test eax, eax
jne 0x40f34d
mov eax, 0x1bb
jmp 0x40f352
mov eax, 0x50
mov word [esp + 0x4a], ax
mov dword [esp + 4], 0x764f60
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0040e4b0
test eax, eax
jne 0x40f376
mov eax, 0x800100
jmp 0x40f37b
mov eax, 0x100
mov dword [esp + 0xa8], eax
mov dword [esp + 4], 0x192
mov dword [esp], 0x34
call fcn.0040a0b4
mov dword [esp], 0x7d0
call eax
sub esp, 4
mov dword [esp + 4], 0xb6
mov dword [esp], 0x3b
call fcn.0040a0b4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x765d60
call eax
sub esp, 0x14
mov dword [esp + 0x7c], eax
cmp dword [esp + 0x7c], 0
jne 0x40f3f7
add dword [esp + 0x64], 1
jmp 0x40f78e
mov dword [esp + 4], 0xb7
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
movzx eax, word [esp + 0x4a]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call edx
sub esp, 0x10
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jne 0x40f447
add dword [esp + 0x64], 1
jmp 0x40f78e
mov dword [esp + 4], 0xb8
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x763960
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call edx
sub esp, 0x1c
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x5c], 0
jne 0x40f4b1
add dword [esp + 0x64], 1
jmp 0x40f78e
mov dword [esp + 0x50], 0x927c0
mov dword [esp + 4], 0x198
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov dword [esp + 0xc], 4
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 4], 5
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 0x10
test eax, eax
jne 0x40f501
add dword [esp + 0x64], 1
jmp 0x40f78e
mov dword [esp + 4], 0xb9
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov dword [esp + 0xc], 0x20000000
mov dword [esp + 8], 0xffffffff
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 0x10
test eax, eax
jne 0x40f54c
add dword [esp + 0x64], 1
jmp 0x40f78e
mov dword [esp + 4], 0xba
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 0x1c
mov dword [esp + 0x60], eax
cmp dword [esp + 0x60], 0
jne 0x40f5bf
add dword [esp + 0x64], 1
jmp 0x40f78e
mov dword [esp + 4], 0xbb
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 8
mov dword [esp + 0x60], eax
cmp dword [esp + 0x60], 0
jne 0x40f5fe
add dword [esp + 0x64], 1
jmp 0x40f78e
mov dword [esp + 0x54], 4
mov dword [esp + 4], 0xbe
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x54]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 0x18
jmp 0x40f773
mov dword [esp + 4], 0x192
mov dword [esp], 0x34
call fcn.0040a0b4
mov dword [esp], 0x7d0
call eax
sub esp, 4
mov dword [esp + 4], 0xba
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 0x1c
mov dword [esp + 0x60], eax
cmp dword [esp + 0x60], 0
jne 0x40f6e8
add dword [esp + 0x68], 1
jmp 0x40f773
mov dword [esp + 4], 0xbb
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 8
mov dword [esp + 0x60], eax
cmp dword [esp + 0x60], 0
jne 0x40f724
add dword [esp + 0x68], 1
jmp 0x40f773
mov dword [esp + 4], 0xbe
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x54]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 0x18
add dword [esp + 0x68], 1
mov eax, dword [esp + 0x4c]
cmp eax, 0xc8
je 0x40f789
cmp dword [esp + 0x68], 2
jle 0x40f655
add dword [esp + 0x64], 1
mov eax, dword [esp + 0x4c]
cmp eax, 0xc8
je 0x40f7a4
cmp dword [esp + 0x64], 0x3b
jle 0x40f382
nop
cmp dword [esp + 0x8c], 0
je 0x40f7be
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x90], 0
je 0x40f7d7
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x94], 0
je 0x40f7f0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x98], 0
je 0x40f809
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x88], 0
je 0x40f822
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x78], 0
je 0x40f835
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00408f3c
cmp dword [esp + 0x5c], 0
je 0x40f85e
mov dword [esp + 4], 0xc0
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call edx
sub esp, 4
cmp dword [esp + 0x58], 0
je 0x40f887
mov dword [esp + 4], 0xc0
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call edx
sub esp, 4
cmp dword [esp + 0x7c], 0
je 0x40f8b0
mov dword [esp + 4], 0xc0
mov dword [esp], 0x3b
call fcn.0040a0b4
mov edx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call edx
sub esp, 4
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xdc]
sub ecx, dword [0xa2c044]
je 0x40f8c8
call fcn.004016b0
add esp, 0xe8
pop ebx
ret