Function at 0x41fc26
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff0a4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov eax, 0x4d01dc
call fcn.004c1e68
mov dword [ebp - 0x28], 0x7fffffff
mov word [ebp - 0x14], 8
xor edx, edx
mov dword [ebp - 0x98], edx
mov word [ebp - 0x14], 8
mov dword [ebp - 0x28], 1
test esi, esi
je 0x41fc7f
cmp word [esi + 0x2d], 0xfa1
je 0x41fc7f
movsx ecx, word [esi + 0x32]
push ecx
movzx eax, word [esi + 0x2d]
push eax
call fcn.0041b1c9
add esp, 8
cmp dword [0x4d01d8], 0
je 0x41fd1c
mov edx, dword [ebp + 8]
cmp edx, dword [0x511bcc]
jl 0x41fd1c
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x511bd0]
jge 0x41fd1c
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x511bd4]
jl 0x41fd1c
mov ecx, dword [ebp + 0xc]
sub ecx, dword [0x511bd4]
mov edx, 1
shl edx, cl
mov eax, dword [ebp + 8]
sub eax, dword [0x511bcc]
and edx, dword [eax*4 + 0x51dbf0]
je 0x41fd1c
mov edx, dword [0x511bd8]
inc edx
mov ecx, dword [0x5289f4]
cmp ecx, dword [0x511be4]
jge 0x41fcef
mov eax, dword [0x5289f4]
jmp 0x41fcf4
mov eax, dword [0x511be4]
cmp edx, eax
jl 0x41fec2
mov edx, dword [0x5289f4]
cmp edx, dword [0x511be4]
jne 0x41fd1c
mov ecx, dword [0x5289f8]
cmp ecx, dword [0x511be8]
je 0x41fec2
mov dword [ebp - 0x28], 2
mov eax, dword [ebp + 0xc]
add eax, 0xffffffe0
test eax, eax
jge 0x41fd31
xor edx, edx
jmp 0x41fd37
mov edx, dword [ebp + 0xc]
add edx, 0xffffffe0
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0xc]
add eax, 0x20
cmp eax, 0x4f
jle 0x41fd4c
mov ecx, 0x4f
jmp 0x41fd52
mov ecx, dword [ebp + 0xc]
add ecx, 0x20
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
add eax, 0xffffff6a
test eax, eax
jge 0x41fd65
xor edx, edx
jmp 0x41fd6e
mov edx, dword [ebp + 8]
add edx, 0xffffff6a
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
add eax, 0x64
cmp eax, 0x63f
jle 0x41fd85
mov ecx, 0x63f
jmp 0x41fd8b
mov ecx, dword [ebp + 8]
add ecx, 0x64
mov dword [ebp - 0x34], ecx
push 0
push 7
push 0x20
push 0x96
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x2c]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0xebc]
push ecx
call fcn.0041d3a8
add esp, 0x2c
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [0x4d01d8], eax
test byte [ebp - 0x3c], 7
jne 0x41fdd9
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x30]
cmp edx, 0x20
jl 0x41fdec
xor eax, eax
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.004c1013
pop ecx
pop eax
jmp 0x4205f5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x2c]
add edx, 0xffffff6a
mov dword [0x511bcc], edx
mov edx, dword [ebp - 0x2c]
xor eax, eax
jmp 0x41fe2d
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp + edx*4 - 0xebc]
shr ebx, cl
mov ecx, 0x20
sub ecx, dword [ebp - 0x30]
mov edi, dword [ebp + edx*4 - 0xa0c]
shl edi, cl
or ebx, edi
mov dword [eax*4 + 0x51dbf0], ebx
inc edx
inc eax
cmp edx, dword [ebp - 0x34]
jg 0x41fe37
cmp eax, 5
jl 0x41fe05
xor ecx, ecx
mov dword [eax*4 + 0x51dbf0], ecx
add edx, dword [ebp + 8]
add edx, 0xffffff6a
mov dword [0x511bd0], edx
mov dword [0x4d01d8], 1
push 0x511bf0
lea eax, [ebp - 0x40]
push eax
push 0x51dbf0
call fcn.0041d069
add esp, 0xc
mov dword [0x511bec], eax
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x30]
add edx, 0xffffffe0
mov dword [0x511bd4], edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x38]
add eax, 0xffffffe0
mov dword [0x511bd8], eax
mov edx, dword [0x511bcc]
mov dword [0x511bdc], edx
mov ecx, dword [ebp - 0x40]
add ecx, dword [0x511bd4]
mov dword [0x511be0], ecx
mov eax, dword [0x5289f4]
mov dword [0x511be4], eax
mov edx, dword [0x5289f8]
mov dword [0x511be8], edx
mov ecx, dword [0x511bec]
add ecx, 0x3e8
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [ebp - 0x48], eax
xor edx, edx
mov dword [ebp - 0x88], edx
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x84], 0xffffffff
mov eax, dword [0x528a3c]
mov dword [ebp - 0xac], eax
push 0x41926e
push 6
push dword [0x511bec]
push 0x511bf0
call fcn.004025a0
add esp, 0x10
mov dword [ebp - 0x28], 3
xor edx, edx
mov dword [ebp - 0x4c], edx
jmp 0x4204de
push 0x1b58
call fcn.0041fbf6
pop ecx
test eax, eax
jne 0x4204ed
mov ecx, dword [0x528a3c]
sub ecx, dword [ebp - 0xac]
cmp ecx, 0xc8
jg 0x4204ed
mov eax, dword [ebp - 0x4c]
add eax, eax
lea eax, [eax + eax*2]
add eax, 0x511bf0
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov cx, word [edx + 4]
shl ecx, 0x16
sar ecx, 0x1a
mov eax, dword [0x511bdc]
sub eax, ecx
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x6c]
mov cl, byte [edx + 5]
shr ecx, 2
and ecx, 0x3f
add ecx, dword [0x511be0]
mov dword [ebp - 0x54], ecx
lea eax, [ebp - 0xa8]
push eax
lea edx, [ebp - 0xa0]
push edx
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x6c]
mov ax, word [ecx + 3]
and eax, 0xfff
push eax
call fcn.0041fafa
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x420124
cmp word [esi + 0x2d], 0xfa1
jne 0x420083
lea edx, [ebp - 0xa0]
push edx
lea ecx, [esi + 0xfb]
push ecx
lea eax, [ebp - 0xa0]
push eax
call fcn.00416c42
add esp, 0xc
test eax, eax
jne 0x4204db
lea edx, [ebp - 0xa8]
push edx
lea ecx, [esi + 0x103]
push ecx
lea eax, [ebp - 0xa8]
push eax
call fcn.00416c42
add esp, 0xc
cmp dword [ebp + 0x14], 1
jne 0x420071
movsx edx, word [esi + 0x36]
dec edx
cmp edx, dword [ebp - 0x50]
jg 0x4204db
mov ecx, dword [ebp - 0x6c]
mov ax, word [ecx + 3]
and eax, 0xfff
imul edx, eax, 0x13
mov ecx, dword [0x4cfec0]
xor eax, eax
mov al, byte [ecx + edx + 1]
imul dword [0x5284c4]
mov ecx, 0x64
cdq
idiv ecx
movsx edx, word [esi + 0x36]
add eax, edx
cmp eax, dword [ebp - 0x50]
jge 0x420124
mov dword [0x528504], 1
jmp 0x4204db
movsx eax, word [esi + 0x34]
cmp eax, dword [ebp - 0x50]
jle 0x4204db
jmp 0x420124
movzx ecx, word [esi + 0x2d]
push ecx
mov eax, dword [ebp - 0x6c]
mov dx, word [eax + 3]
and edx, 0xfff
push edx
call fcn.0041ea0f
add esp, 8
test eax, eax
je 0x4204db
movsx ecx, word [esi + 0x32]
cmp ecx, dword [ebp - 0x54]
jne 0x4204db
cmp dword [ebp + 0x14], 1
jne 0x420117
movsx eax, word [esi + 0x30]
dec eax
cmp eax, dword [ebp - 0x50]
jg 0x4204db
movsx edx, word [esi + 0x34]
cmp edx, dword [ebp - 0x50]
je 0x4204db
mov ecx, dword [ebp - 0x6c]
mov ax, word [ecx + 3]
and eax, 0xfff
imul edx, eax, 0x13
mov ecx, dword [0x4cfec0]
xor eax, eax
mov al, byte [ecx + edx + 1]
imul dword [0x5284c4]
mov ecx, 0x64
cdq
idiv ecx
movsx edx, word [esi + 0x30]
add eax, edx
cmp eax, dword [ebp - 0x50]
jge 0x420124
mov dword [0x528504], 1
jmp 0x4204db
movsx eax, word [esi + 0x34]
cmp eax, dword [ebp - 0x50]
jle 0x4204db
mov ecx, dword [ebp - 0x6c]
mov ax, word [ecx + 1]
push eax
push dword [0x511be0]
push dword [0x511bdc]
call fcn.0041d6f5
add esp, 0xc
test eax, eax
jne 0x4204db
cmp dword [ebp + 0x14], 0
jne 0x42015a
mov dword [ebp - 0x58], 0xffffffff
jmp 0x4201fc
cmp dword [ebp + 0x14], 1
jne 0x4201f5
cmp word [esi + 0x2d], 0xfa1
jne 0x4201aa
xor eax, eax
mov dword [ebp + eax*4 - 0xf0c], 0xffffffff
inc eax
cmp eax, 0x14
jl 0x42016e
movsx edx, word [esi + 0x36]
dec edx
mov dword [ebp - 0x58], edx
xor eax, eax
mov dword [ebp + eax*4 - 0xf5c], 0xffffffff
inc eax
cmp eax, 0x14
jl 0x420189
movsx edx, word [esi + 0x34]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x7c], 0xffffffff
jmp 0x4201fc
xor eax, eax
mov edx, dword [esi + eax*4 + 0x48]
mov dword [ebp + eax*4 - 0xf0c], edx
inc eax
cmp eax, 0x14
jl 0x4201ac
movsx ecx, word [esi + 0xe8]
mov dword [ebp - 0x58], ecx
xor eax, eax
mov edx, dword [esi + eax*4 + 0x98]
mov dword [ebp + eax*4 - 0xf5c], edx
inc eax
cmp eax, 0x14
jl 0x4201c9
movsx ecx, word [esi + 0xea]
mov dword [ebp - 0x5c], ecx
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x78], eax
jmp 0x4201fc
mov dword [ebp - 0x58], 0xffffffff
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0xf5c]
push ecx
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0xf0c]
push edx
mov ecx, dword [ebp - 0x6c]
mov al, byte [ecx]
push eax
mov edx, dword [ebp - 0x6c]
mov cx, word [edx + 3]
and ecx, 0xfff
push ecx
push dword [ebp - 0x54]
push dword [ebp - 0x50]
call fcn.0041d862
add esp, 0x38
cmp dword [ebp - 0x7c], 0xffffffff
je 0x420261
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x80], edx
test eax, eax
jne 0x4204db
cmp dword [ebp + 0x14], 1
jne 0x4202b8
cmp word [esi + 0x2d], 0xfa1
je 0x4202a4
xor eax, eax
mov ecx, dword [ebp + eax*4 - 0xf5c]
mov dword [esi + eax*4 + 0x98], ecx
inc eax
cmp eax, 0x14
jl 0x420279
mov ax, word [ebp - 0x5c]
mov word [esi + 0xea], ax
mov edx, dword [ebp - 0x7c]
mov dword [esi + 0x40], edx
mov edx, dword [ebp - 0x78]
mov dword [esi + 0x44], edx
call fcn.0041502f
mov ebx, eax
test ebx, ebx
je 0x4204ed
jmp 0x4203cb
cmp dword [ebp + 0x14], 2
jne 0x4202f0
cmp word [esi + 0x2d], 0xfa1
jne 0x4202dd
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x68]
movsx edx, word [esi + 0x34]
add edx, 2
cmp eax, edx
jg 0x4204db
jmp 0x4202f0
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x68]
movsx eax, word [esi + 0x34]
inc eax
cmp ecx, eax
jg 0x4204db
mov eax, dword [ebp - 0x5c]
mov ecx, 0x14
cdq
idiv ecx
push dword [ebp + edx*4 - 0xf5c]
call fcn.004169c4
pop ecx
add eax, dword [ebp - 0x54]
add eax, 0xffffffe0
cmp eax, dword [0x5289f8]
jl 0x42031e
cmp eax, dword [0x5289f4]
jle 0x42038f
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x5c]
jl 0x42038f
cmp dword [ebp - 0x90], 0xffffffff
jne 0x420340
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], eax
jmp 0x42038f
mov edx, dword [ebp - 0x90]
cmp edx, dword [ebp - 0x5c]
jle 0x420363
mov ecx, dword [ebp - 0x5c]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x8c], 1
jmp 0x4204ed
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x5c]
jge 0x42038f
mov eax, dword [ebp - 0x90]
mov dword [ebp + 8], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x8c], 1
jmp 0x4204ed
call fcn.0041502f
mov ebx, eax
test ebx, ebx
je 0x4204ed
xor eax, eax
mov edx, dword [ebp + eax*4 - 0xf5c]
mov dword [ebx + eax*4 + 0x98], edx
inc eax
cmp eax, 0x14
jl 0x4203a0
mov cx, word [ebp - 0x5c]
mov word [ebx + 0xea], cx
mov eax, dword [ebp - 0x7c]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0x44], eax
mov edx, dword [ebp - 0x6c]
mov cl, byte [edx]
mov byte [ebx], cl
mov al, byte [ebp - 0x68]
mov byte [ebx + 2], al
mov byte [ebx + 1], 0
mov edx, dword [ebp - 0x6c]
mov cx, word [edx + 3]
and ecx, 0xfff
mov word [ebx + 0x2d], cx
mov eax, dword [ebp - 0x6c]
mov dx, word [eax + 3]
and edx, 0xfff
imul ecx, edx, 0xd
mov eax, dword [0x4cfeb8]
mov dl, byte [eax + ecx + 0xa]
mov byte [ebx + 0x113], dl
mov byte [ebx + 0x2f], 1
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov al, byte [ecx]
push eax
movzx edx, word [ebx + 0x2d]
push edx
call fcn.0041913f
add esp, 8
push eax
call fcn.0041760d
pop ecx
fsubr dword [0x42060e]
fstp dword [ebx + 0x10b]
mov cx, word [ebp - 0x50]
add cx, word [ebp - 0x68]
mov word [ebx + 0x30], cx
mov ax, word [ebp - 0x54]
mov word [ebx + 0x32], ax
mov dx, word [ebp - 0x50]
mov word [ebx + 0x34], dx
mov cx, word [ebp - 0x50]
add cx, word [ebp - 0x64]
add cx, word [ebp - 0x60]
mov word [ebx + 0x36], cx
mov eax, dword [ebp - 0x74]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x70]
mov dword [ebx + 0x3c], eax
mov dl, byte [ebp - 0x44]
mov byte [ebx + 0xec], dl
mov cx, word [ebp - 0x58]
mov word [ebx + 0xe8], cx
mov eax, dword [ebp - 0xa0]
mov dword [ebx + 0xfb], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 0xff], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebx + 0x103], edx
mov edx, dword [ebp - 0xa4]
mov dword [ebx + 0x107], edx
xor eax, eax
mov edx, dword [ebp + eax*4 - 0xf0c]
mov dword [ebx + eax*4 + 0x48], edx
inc eax
cmp eax, 0x14
jl 0x4204b6
lea ecx, [ebp - 0x48]
push ecx
push ebx
lea eax, [ebp - 0x88]
push eax
call fcn.0041df44
add esp, 0xc
inc dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
cmp edx, dword [0x511bec]
jl 0x41ff30
mov dword [ebp - 0x28], 4
cmp dword [ebp - 0x8c], 0
je 0x420523
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x41fc5a
mov ebx, dword [eax + 0xed]
push eax
call fcn.004150cf
pop ecx
mov eax, ebx
test eax, eax
jne 0x42050b
jmp 0x41fc5a
cmp dword [ebp + 0x14], 2
jne 0x42052d
mov edx, esi
jmp 0x42052f
xor edx, edx
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0041ea4d
add esp, 0xc
mov dword [ebp - 0x28], 5
cmp dword [ebp - 0x88], 0
jne 0x4205be
cmp dword [ebp + 0x14], 1
jne 0x4205be
cmp dword [ebp - 0x98], 0
jne 0x4205be
cmp dword [ebp - 0x84], 0xffffffff
je 0x4205be
cmp word [esi + 0x2d], 0xfa1
je 0x4205be
movsx eax, word [esi + 0xe8]
cmp eax, dword [ebp - 0x84]
jl 0x4205a0
mov ecx, dword [ebp - 0x80]
mov ebx, 1
shl ebx, cl
mov eax, dword [ebp - 0x84]
mov ecx, 0x14
cdq
idiv ecx
and ebx, dword [esi + edx*4 + 0x48]
jne 0x4205be
mov eax, dword [ebp - 0x84]
mov dword [ebp + 8], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x98], 1
jmp 0x41fc5a
mov eax, dword [ebp - 0x88]
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.004c1013
pop ecx
pop eax
jmp 0x4205f5
mov edi, dword [ebp - 0xf68]
mov esi, dword [ebp - 0xf64]
mov ebx, dword [ebp - 0xf60]
mov esp, ebp
pop ebp
ret