Function at 0x40cb10
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040c9b0
mov eax, dword [ebp + 0xc]
push eax
call fcn.004684a3
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x9c]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call fcn.0043b790
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
push str.HTTP_1.1
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043d980
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40cbd0
push str.HTTP_1.0
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043d980
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40cbd0
jmp 0x40cf02
push 0x20
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043d6d0
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 3]
mov byte [ebp - 0x1d], dl
mov eax, dword [ebp - 0x1c]
mov byte [eax + 3], 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0043c703
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov cl, byte [ebp - 0x1d]
mov byte [eax + 3], cl
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
sub edx, 0xc8
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0xcc
ja case.0x40cc4c.1
mov eax, dword [ebp - 0xa0]
movzx ecx, byte [eax + 0x40cf2d]
jmp dword [ecx*4 + 0x40cf15]
jmp 0x40cca2
mov eax, dword [ebp - 0x10]
mov byte [eax + 8], 1
jmp 0x40cca2
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 1
jmp 0x40cf02
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 1
jmp 0x40cf02
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 1
jmp 0x40cf02
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
push ecx
push str.hHttpPacket::SetPacketBuf___error__:_Msg_No_Define._r_n_d_r_n
call fcn.0040a6e0
add esp, 8
jmp 0x40cf02
push str.Content_Length:
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043d980
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x24], 0
je 0x40cd47
push 0x20
mov eax, dword [ebp - 0x24]
push eax
call fcn.0043d6d0
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40ccf0
push str.hHttpPacket::SetPacketBuf___:_Get_File_Length_error__r_n
call fcn.0040a6e0
add esp, 4
jmp 0x40cf02
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
push 0xa
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0043d6d0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40cd29
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 1
push str.hHttpPacket::SetPacketBuf___:_Get_File_Length_error__r_n
call fcn.0040a6e0
add esp, 4
jmp 0x40cf02
mov eax, dword [ebp - 0x28]
mov byte [eax], 0
mov eax, dword [ebp - 0x24]
push eax
call fcn.0043c67b
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x28]
mov byte [eax], 0xa
mov byte [ebp - 0x29], 1
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x28], 0
je 0x40cd82
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
movsx ecx, byte [eax + 1]
cmp ecx, 0xa
jne 0x40cd80
mov byte [ebp - 0x29], 0
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x40cd91
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x10]
mov byte [eax + 9], 1
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x40cde1
push 0xa
mov eax, dword [ebp - 0x30]
push eax
call fcn.0043d6d0
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x40cdb5
jmp 0x40cf02
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ecx]
cmp edx, 0xd
jne 0x40cddf
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x40cddf
jmp 0x40cde1
jmp 0x40cd91
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x50]
call fcn.0040fc10
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
jne 0x40ce82
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
push 0xa
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0043d6d0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40ce49
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa], 1
push str.AssayHttpPacket___:_Assay_.php_Size_error__r_n
call fcn.0040a6e0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004086b0
jmp 0x40cf02
mov eax, dword [ebp - 0x28]
mov byte [eax], 0
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040fc50
push 0x10
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0043d94d
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x28]
mov byte [eax], 0xa
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx]
mov byte [ebp - 0x51], dl
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call fcn.0043bad0
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
sub ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], ecx
cmp dword [ebp - 0x34], 0
je 0x40cee2
lea ecx, [ebp - 0x50]
call fcn.004086d0
push eax
call fcn.0043bad0
add esp, 4
lea eax, [eax + eax + 1]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x14]
sub edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp - 0x51]
mov byte [eax], cl
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004086b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8