Function at 0x41e585
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0041f596
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x4af3b7
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 8], 0
push 0xc
call fcn.0041f596
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0xffffffffffffffff
push 0x12
push 0x16010d7a
push 0x52010031
call fcn.0041f5ae
add esp, 0x10
test eax, eax
je 0x41e626
cmp dword [0x4dc21c], 7
je 0x41e612
cmp dword [0x4dc21c], 9
je 0x41e612
xor eax, eax
jmp 0x41e617
mov eax, 1
test eax, eax
je 0x41e626
mov eax, 1
jmp 0x41e628
xor eax, eax
test eax, eax
je 0x41effc
lea eax, [ebp - 4]
push eax
call fcn.00414d51
mov ebx, dword [ebp - 4]
call fcn.00401010
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41efd6
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41e675
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41e688
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0x1e
jg 0x41e6f1
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41e6be
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41e6d1
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jle 0x41e6f1
mov eax, 1
jmp 0x41e6f3
xor eax, eax
test eax, eax
je 0x41ec7f
push 0xffffffffffffffff
push 0x12
push 0x16010d7c
push 0x52010031
call fcn.0041f5ae
add esp, 0x10
test eax, eax
je 0x41e7bd
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41e736
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41e749
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
push 0xffffffffffffffff
push 8
push 0x16010d7d
push 0x52010031
call fcn.0041f5ae
add esp, 0x10
mov dword [ebp - 0x18], eax
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41e782
mov eax, 0x4af3a8
push eax
push 1
mov ebx, 0x41ff20
call fcn.0041f59c
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41e7a8
push ebx
call fcn.0041f590
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], eax
jge 0x41e7bd
mov eax, 1
jmp 0x41e7bf
xor eax, eax
test eax, eax
je 0x41e857
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41e7e4
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41e7f7
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.00409467
push 0x16010d7e
push 0x52010031
call fcn.00401fbf
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004049f3
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41e839
push ebx
call fcn.0041f590
add esp, 4
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x421050
call fcn.0041f59c
add esp, 0x10
push 0xffffffffffffffff
push 0x12
push 0x16010d7f
push 0x52010031
call fcn.0041f5ae
add esp, 0x10
test eax, eax
je 0x41e919
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41e892
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41e8a5
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
push 0xffffffffffffffff
push 8
push 0x16010d80
push 0x52010031
call fcn.0041f5ae
add esp, 0x10
mov dword [ebp - 0x18], eax
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41e8de
mov eax, 0x4af3a8
push eax
push 1
mov ebx, 0x41ff20
call fcn.0041f59c
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41e904
push ebx
call fcn.0041f590
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], eax
jge 0x41e919
mov eax, 1
jmp 0x41e91b
xor eax, eax
test eax, eax
je 0x41e9b3
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41e940
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41e953
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.00409467
push 0x16010d81
push 0x52010031
call fcn.00401fbf
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004049f3
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41e995
push ebx
call fcn.0041f590
add esp, 4
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x421050
call fcn.0041f59c
add esp, 0x10
push 0xffffffffffffffff
push 0x12
push 0x16010d7b
push 0x52010031
call fcn.0041f5ae
add esp, 0x10
test eax, eax
je 0x41ebdb
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41e9f4
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ea07
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x50
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x4c
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41ea5c
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ea6f
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4afdb5
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.00418572
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41eaa6
push ebx
call fcn.0041f590
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41eac3
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ead6
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4afdbc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.00418572
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41eb0d
push ebx
call fcn.0041f590
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41eb2a
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41eb3d
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4afdc3
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.00418572
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41eb74
push ebx
call fcn.0041f590
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41eb91
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41eba4
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4afdca
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.00418572
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41ebdb
push ebx
call fcn.0041f590
add esp, 4
push 0xffffffffffffffff
push 0x12
push 0x16010d78
push 0x52010031
call fcn.0041f5ae
add esp, 0x10
test eax, eax
je 0x41ec7f
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41ec16
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ec29
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41ec53
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ec66
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.0041f05d
push 0xffffffffffffffff
push 0x12
push 0x16011195
push 0x52010031
call fcn.0041f5ae
add esp, 0x10
test eax, eax
je 0x41ed7d
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41ecba
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41eccd
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0xc8
jg 0x41ed7d
push 0xffffffffffffffff
push 0x13
push 0x16011196
push 0x52010031
call fcn.0041f5ae
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16011196
push 0x52010031
push 2
mov ebx, 0x420cf0
call fcn.0041f59c
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41ed48
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ed5b
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
cmp dword [ebp - 0x20], eax
jne 0x41ed7d
mov eax, 1
jmp 0x41ed7f
xor eax, eax
test eax, eax
je 0x41efce
mov ebx, dword [0x4dc200]
add ebx, 0x30
mov dword [ebp - 0x10], ebx
mov ebx, dword [0x4dc200]
add ebx, 0x34
mov dword [ebp - 0x14], ebx
mov ebx, dword [0x4dc200]
add ebx, 0x38
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41edc8
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41eddb
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41ee05
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ee18
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41ee45
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ee58
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ebx, dword [ebp - 0x20]
push dword [ebx]
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.004083b8
mov dword [ebp - 0x2c], eax
fld dword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x4af666]
fcomp qword [0x4af641]
fnstsw ax
test ah, 0x41
jne 0x41efce
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41eecb
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41eede
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41ef08
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ef1b
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
call fcn.00401029
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41ef48
push 4
call fcn.0041f5a2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ef5b
push 1
call fcn.0041f5a2
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x4dc200]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
mov ebx, dword [ebp - 0x18]
push dword [ebx]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push dword [0x4dc240]
mov eax, 0x18
call fcn.0041f5a8
cmp dword [ebp - 0x20], esp
je 0x41efb0
push 6
call fcn.0041f5a2
add esp, 4
push 0x80000301
push 0
push 0xa
push 1
mov ebx, 0x421050
call fcn.0041f59c
add esp, 0x10
pop eax
pop ebx
pop ecx
jmp 0x41e64a
add esp, 0xc
push 0x80000301
push 0
push 0xa
push 1
mov ebx, 0x421050
call fcn.0041f59c
add esp, 0x10
jmp 0x41e5d6
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41f01a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41f016
imul eax, dword [ebx]
jmp 0x41f00b
mov ecx, eax
test ecx, ecx
je 0x41f045
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f590
add esp, 4
pop ebx
call fcn.0041f590
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41f020
call fcn.0041f590
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041f590
add esp, 4
mov esp, ebp
pop ebp
ret