Function at 0x403d28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x10
call fcn.004068f1
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
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.004068f1
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x47357f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 0x28
call fcn.004068f1
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 8
call fcn.004068f1
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
cmp dword [0x493414], 0
je 0x4047bc
mov dword [ebp - 0x34], esp
push 0
push 0
push 4
mov eax, 9
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x403e41
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4047bc
mov dword [ebp - 0x34], esp
push 1
push 0
push 0
push 6
push 1
push 2
mov eax, 0xa
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x403e8b
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40479a
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov word [ebx], 2
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
mov eax, 0xb
call fcn.004068fd
cmp dword [ebp - 0x38], esp
je 0x403ed3
push 6
call fcn.004068f7
add esp, 4
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
push dword [ebp + 0xc]
mov eax, 0xc
call fcn.004068fd
cmp dword [ebp - 0x38], esp
je 0x403f03
push 6
call fcn.004068f7
add esp, 4
mov ebx, dword [ebp - 0x34]
mov word [ebx], ax
mov dword [ebp - 0x34], esp
push 0x10
mov eax, dword [ebp - 0xc]
push eax
push 0x10
call fcn.004068f1
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 8]
mov eax, 0xd
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x403f81
push 6
call fcn.004068f7
add esp, 4
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.004068e5
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x403fd8
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x403fd6
imul eax, dword [edi]
jmp 0x403fcb
mov ecx, eax
cmp ecx, 8
jle 0x403fe2
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.004068eb
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x404778
mov dword [ebp - 0x34], esp
push accept
push dword [ebp - 8]
mov eax, 0xe
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x40402b
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x404778
mov dword [ebp - 0x34], esp
push 0
push 0
push 0
push dword [ebp - 8]
mov eax, 0xf
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x404069
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x404778
mov dword [ebp - 0x34], esp
mov eax, dword [ebp - 0x14]
push eax
push 0x24
call fcn.004068f1
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov dword [edi], ebx
add edi, 4
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, 0x10
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x404127
push 6
call fcn.004068f7
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
add edi, 4
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.004068eb
add esp, 4
mov ebx, dword [ebp - 0x14]
add ebx, 0x14
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fmul qword [0x473567]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004028c5
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jl 0x4041f3
cmp dword [ebp - 0x18], 0x20
jg 0x4041f3
xor eax, eax
jmp 0x4041f8
mov eax, 1
test eax, eax
je 0x404207
mov dword [ebp - 0x18], 2
fild dword [ebp - 0x18]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x473530]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x47356f]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
fld qword [ebp - 0x48]
call fcn.004028c5
push eax
push 8
push dword [ebp - 4]
mov eax, 0x11
call fcn.004068fd
cmp dword [ebp - 0x4c], esp
je 0x404255
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x404756
cmp dword [0x49341c], 0
jne 0x4043b7
mov dword [ebp - 0x34], esp
push 0
push 0
push 0
push 0xffffffff
mov eax, 0xf
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x4042a2
push 6
call fcn.004068f7
add esp, 4
mov dword [0x493420], eax
cmp dword [0x493420], 0
je 0x4043b7
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0x190
jg 0x4043ad
fild dword [ebp - 0x24]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x473577]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x44], esp
mov eax, 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0
fld qword [ebp - 0x40]
call fcn.004028c5
push eax
push 0x4057a1
push 0
push 0
mov eax, 0x12
call fcn.004068fd
cmp dword [ebp - 0x44], esp
je 0x40431e
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x404330
jmp 0x4043a7
push 0x493424
push 4
mov eax, 2
call fcn.004068e5
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov ebx, dword [0x493424]
mov dword [ebp - 0x38], ebx
call fcn.0040103e
mov dword [ebp - 0x3c], ecx
mov edi, dword [ebp - 0x38]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x404377
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x3c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x38]
call fcn.00406909
add esp, 8
mov dword [0x493424], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x3c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
inc dword [ebp - 0x24]
pop ecx
jmp 0x4042b6
add esp, 4
mov dword [ebp - 0x24], 0
mov ebx, dword [0x493424]
call fcn.004037ea
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x32
jl 0x4046a3
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x406c30
call fcn.00406903
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x406c30
call fcn.00406903
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x406c30
call fcn.00406903
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x406c30
call fcn.00406903
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x406c30
call fcn.00406903
add esp, 0x10
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
mov ecx, 5
call fcn.004028ec
add esp, 0x14
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404499
push ebx
call fcn.004068eb
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4044a9
push ebx
call fcn.004068eb
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4044b9
push ebx
call fcn.004068eb
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4044c9
push ebx
call fcn.004068eb
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4044d9
push ebx
call fcn.004068eb
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4044ed
push ebx
call fcn.004068eb
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], esp
push 0x14
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x404503
add eax, 8
push eax
push dword [ebp - 0x1c]
mov eax, 0x13
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x404523
push 6
call fcn.004068f7
add esp, 4
mov eax, dword [ebp - 0x18]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x4045da
mov dword [ebp - 0x34], esp
mov eax, 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0
push dword [ebp - 0x1c]
push 0x405a1b
push 0
push 0
mov eax, 0x12
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x404575
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x473530]
fstp qword [ebp - 0x40]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x40]
fadd qword [0x47356f]
fstp qword [ebp - 0x50]
mov dword [ebp - 0x54], esp
push 4
lea eax, [ebp - 0x20]
push eax
fld qword [ebp - 0x50]
call fcn.004028c5
push eax
mov eax, 0x14
call fcn.004068fd
cmp dword [ebp - 0x54], esp
je 0x4045d0
push 6
call fcn.004068f7
add esp, 4
inc dword [ebp - 0x24]
pop eax
pop ecx
jmp 0x404528
add esp, 8
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0x3e8
jg 0x404692
call fcn.00404813
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40468c
push dword [ebp - 4]
call fcn.00404862
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x40463b
mov dword [ebp - 0x34], esp
push dword [ebp - 0x2c]
mov eax, 0x15
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x404636
push 6
call fcn.004068f7
add esp, 4
jmp 0x40468c
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00404aaa
push dword [ebp - 0x30]
push dword [ebp - 8]
call fcn.00404afc
and eax, 1
xor eax, 1
test eax, eax
je 0x40468c
mov dword [ebp - 0x34], esp
push dword [ebp - 0x2c]
mov eax, 0x15
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x404681
push 6
call fcn.004068f7
add esp, 4
push dword [ebp - 0x30]
push dword [ebp - 4]
call fcn.00404def
pop ecx
jmp 0x4045df
add esp, 4
inc dword [0x49341c]
mov eax, dword [ebp - 0x1c]
jmp 0x4047c6
mov ebx, dword [0x493424]
call fcn.004037ea
xor ecx, ecx
push eax
lea eax, [ebp - 0x24]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40472e
mov ebx, dword [0x493424]
call fcn.0040103e
push ebx
push ecx
mov eax, dword [ebp - 0x24]
dec eax
jns 0x4046e5
push 4
call fcn.004068f7
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4046f8
push 1
call fcn.004068f7
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
push 0
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov eax, 0x16
call fcn.004068fd
cmp dword [ebp - 0x38], esp
je 0x404729
push 6
call fcn.004068f7
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x4046b7
add esp, 0xc
mov dword [ebp - 0x34], esp
push dword [0x493420]
mov eax, 0x17
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x404756
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 0x10]
mov eax, 0x17
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x404778
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 8]
mov eax, 0x15
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x40479a
push 6
call fcn.004068f7
add esp, 4
mov dword [ebp - 0x34], esp
push dword [ebp - 4]
mov eax, 0x18
call fcn.004068fd
cmp dword [ebp - 0x34], esp
je 0x4047bc
push 6
call fcn.004068f7
add esp, 4
mov eax, 0
jmp 0x4047c6
push eax
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004068eb
add esp, 4
pop ebx
call fcn.004068eb
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004068eb
add esp, 4
pop ebx
call fcn.004068eb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40480c
push ebx
call fcn.004068eb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc