Function at 0x41cce0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a21c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4d33a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4d2c98]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d2c98
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x13
mov dword [ebp - 4], 0
call fcn.0041d2b0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x18], eax
call fcn.00407c10
lea ebx, [eax + 0x10]
xor esi, esi
add esp, 4
cmp dword [ebx - 0xc], esi
je 0x41cd5b
push ebx
call fcn.00483276
add esp, 4
mov esi, eax
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cd77
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp + 0x14]
push esi
push str.HttpItem::ParseHttpRetCode_HttpCode:_d
push str.XNet
push 0x10
mov dword [eax], esi
call fcn.004076e0
add esp, 0x10
mov ecx, 9
mov dword [ebp + 8], ecx
cmp esi, 0x191
jg 0x41cefb
je 0x41ceef
lea eax, [esi - 0x64]
cmp eax, 0xcb
ja case.0x41cdc0.101
movzx ecx, byte [eax + 0x41d1d8]
jmp dword [ecx*4 + 0x41d1c8]
mov edx, dword [ebp + 0xc]
or edx, dword [ebp + 0x10]
jne 0x41cdd7
mov dword [ebp + 8], edx
jmp 0x41d18d
mov eax, dword [0x4d2c98]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d2c98
mov dword [ebp + 8], 8
call edx
add eax, 0x10
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push str.ParseHttpRetCode__NotSupportRange__returns_200_while_startpos_isnt_0
push eax
mov byte [ebp - 4], 1
call fcn.00407bb0
mov edx, dword [0x4d2c98]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x4d2c98
call eax
add eax, 0x10
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp + 0x14]
push 0x4be71c
push edx
call fcn.00407bb0
mov eax, dword [edi]
mov esi, dword [ebp + 0x14]
mov edx, dword [eax + 0x1c]
add esp, 0xc
push esi
mov ecx, edi
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
push eax
push edi
push str._p_STATE___s___s__s
push str.XNet
push 0x40
call fcn.004076e0
mov eax, dword [0x4d2c98]
mov edx, dword [eax + 0xc]
add esp, 0x1c
mov ecx, 0x4d2c98
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
push esi
mov ecx, edi
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
push eax
push edi
lea eax, [ebp - 0x14]
push str._p_STATE___s___s__s
push eax
call fcn.00407bb0
add esp, 0x18
lea ecx, [ebp - 0x14]
call fcn.00407ca0
lea ecx, [ebp + 0x14]
call fcn.00407ca0
lea ecx, [ebp + 0x10]
call fcn.00407ca0
jmp 0x41d18d
cmp dword [ebp + 0x10], 0
jl 0x41d18d
jg 0x41ced7
cmp dword [ebp + 0xc], 0
jb 0x41d18d
mov dword [ebp + 8], 0
jmp 0x41d18d
mov dword [ebp + 8], 0xffffd902
jmp 0x41d18d
mov dword [ebp + 8], 0xa
jmp 0x41d18d
mov eax, esi
sub eax, 0x193
je 0x41d186
dec eax
je 0x41d17d
sub eax, 0xc
je 0x41d04d
mov edx, dword [0x4d2c98]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d2c98
call eax
add eax, 0x10
mov dword [ebp + 0x14], eax
push esi
lea ecx, [ebp + 0x14]
push str.ParseHttpRetCode__return__d
push ecx
mov byte [ebp - 4], 7
call fcn.00407bb0
mov edx, dword [0x4d2c98]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4d2c98
call eax
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 8
mov ebx, dword [ebp + 0x14]
push ebx
lea ecx, [ebp + 0x10]
push 0x4be71c
push ecx
call fcn.00407bb0
mov edx, dword [edi]
mov esi, dword [ebp + 0x10]
mov eax, dword [edx + 0x1c]
add esp, 0xc
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
push eax
push edi
push str._p_STATE___s___s__s
push str.XNet
push 0x40
call fcn.004076e0
mov edx, dword [0x4d2c98]
mov eax, dword [edx + 0xc]
add esp, 0x1c
mov ecx, 0x4d2c98
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 9
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
push eax
push edi
lea ecx, [ebp - 0x14]
push str._p_STATE___s___s__s
push ecx
call fcn.00407bb0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d004
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d024
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d18d
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
jmp 0x41d18d
mov edx, dword [0x4d2c98]
mov eax, dword [edx + 0xc]
mov dword [ebp + 8], ecx
mov ecx, 0x4d2c98
call eax
add eax, 0x10
mov dword [ebp + 0x14], eax
lea ecx, [ebp + 0x14]
push str.ParseHttpRetCode__return_416
push ecx
mov byte [ebp - 4], 4
call fcn.00407bb0
mov edx, dword [0x4d2c98]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x4d2c98
call eax
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 5
mov ebx, dword [ebp + 0x14]
push ebx
lea ecx, [ebp + 0x10]
push 0x4be71c
push ecx
call fcn.00407bb0
mov edx, dword [edi]
mov esi, dword [ebp + 0x10]
mov eax, dword [edx + 0x1c]
add esp, 0xc
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
push eax
push edi
push str._p_STATE___s___s__s
push str.XNet
push 0x40
call fcn.004076e0
mov edx, dword [0x4d2c98]
mov eax, dword [edx + 0xc]
add esp, 0x1c
mov ecx, 0x4d2c98
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
push eax
push edi
lea ecx, [ebp - 0x14]
push str._p_STATE___s___s__s
push ecx
call fcn.00407bb0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d13b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d15b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d18d
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
jmp 0x41d18d
mov dword [ebp + 8], 0xb
jmp 0x41d18d
mov dword [ebp + 8], 6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d1b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10