Function at 0x4757d9
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
test edi, edi
je 0x475ff2
cmp dword [edi + 0xc8], eax
je 0x475ff2
cmp dword [edi], eax
je 0x47584f
cmp dword [edi + 0x98], eax
jne 0x475867
push edx
mov edx, dword [esi]
push edi
push ebx
call fcn.0047540a
add esp, 0xc
mov dword [esi], eax
jmp 0x475ff2
cmp dword [edi + 0x98], eax
jne 0x475867
mov eax, dword [edi + 0x60]
push 0xffffffffffffffff
push dword [eax + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov ebp, eax
mov eax, dword [edi + 0xc8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x475878
mov ebp, dword [eax]
cmp dword [edi + 0x98], 0
jne 0x475891
mov eax, dword [edi + 0x60]
push 0
push 1
push dword [eax + 0x40]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test ebp, ebp
jne 0x47589c
mov dword [esi], ebx
jmp 0x475ff2
cmp dword [edi + 0x78], 0
jne 0x475f19
mov edx, dword [esi]
mov eax, ebx
sub eax, edx
cmp eax, 4
jl 0x475fd3
add eax, 0xfffffffc
mov dword [esp + 0x24], eax
js 0x475fd3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add ecx, edx
cmp dword [edi + 0xa4], 0
je 0x4758dd
cmp byte [ecx + eax], 0
je 0x4758e3
jmp 0x4758f8
cmp byte [ecx + eax], 0xd
jne 0x4758f8
cmp byte [ecx + eax + 1], 0xa
jne 0x4758f8
cmp byte [ecx + eax + 2], 0xd
jne 0x4758f8
cmp byte [ecx + eax + 3], 0xa
je 0x475908
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x24]
jle 0x4758c6
jmp 0x475fd3
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x47591f
lea edx, [edi + 0xa8]
call fcn.00469edf
mov eax, dword [esp + 0x14]
or dword [edi + 0x8c], 0xffffffff
add eax, 4
mov dword [esp + 0x34], eax
mov dword [edi + 0xa0], eax
xor eax, eax
inc eax
cmp dword [edi + 0xa4], 0
mov dword [edi + 0x90], eax
mov dword [edi + 0x78], eax
jne 0x475962
mov edx, dword [esi]
mov eax, ebx
sub eax, dword [esi]
mov ecx, dword [esp + 0x18]
push eax
call fcn.0046e007
mov dword [edi + 0xa4], eax
xor eax, eax
pop ecx
inc eax
mov ecx, dword [edi + 0xa4]
test ecx, ecx
je 0x475fd3
cmp dword [ecx], 0
jne 0x47598d
cmp dword [ecx + 0x18], 0xffffffff
je 0x47598d
cmp dword [edi + 0x98], eax
jne 0x47598d
mov eax, 0x190
jmp 0x475ff4
movzx eax, word [edi + 0xa8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0x1c
mov dword [esp + 0x10], 0x17
push 0x10
pop edx
test ax, ax
je 0x4759d8
mov eax, edx
mov edx, dword [esp + 0x10]
cmp word [esp + 0x28], dx
cmove eax, dword [esp + 0x24]
add ecx, 0x48
push eax
lea eax, [edi + 0xa8]
push eax
push 0x1e
pop edx
call section..text
pop ecx
pop ecx
push 0x10
pop edx
lea eax, [edi + 0xd0]
movzx ecx, word [eax]
test cx, cx
je 0x475a05
cmp cx, word [esp + 0x10]
mov ecx, dword [edi + 0xa4]
cmove edx, dword [esp + 0x24]
add ecx, 0x66
push edx
push eax
push 0x1e
pop edx
call section..text
pop ecx
pop ecx
mov eax, dword [edi + 0xa4]
mov eax, dword [eax + 0x40]
jmp 0x475af9
cmp dword [eax + 4], 0x11
jne 0x475a63
push 0x11
push str.transfer_encoding
push dword [eax]
call fcn.005e4560
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x475a63
cmp dword [eax + 0xc], 7
jne 0x475a63
push 7
push 0x7638b4
push dword [eax + 8]
call fcn.005e4560
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x475a63
and dword [edi + 0x90], 0
mov dword [edi + 0x80], 1
cmp dword [eax + 4], 0xa
jne 0x475aac
push 0xa
push str.connection
push dword [eax]
call fcn.005e4560
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x475aac
cmp dword [eax + 0xc], 5
jne 0x475aac
push 5
push str.close
push dword [eax + 8]
call fcn.005e4560
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x475aac
mov dword [edi + 0x88], 1
cmp dword [eax + 4], 0xe
jne 0x475af6
push 0xe
push str.content_length
push dword [eax]
call fcn.005e4560
add esp, 0xc
test eax, eax
jne 0x475af2
mov edx, dword [esp + 0x10]
and dword [edi + 0x90], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov byte [ecx + eax], 0
push dword [edx + 8]
call fcn.005cfd10
mov dword [edi + 0x8c], eax
pop ecx
test eax, eax
js 0x475baa
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x475a13
mov eax, dword [edi + 0xa4]
push dword [eax + 0x24]
call fcn.005ec040
fstp qword [esp + 0x2c]
movsd xmm0, qword [esp + 0x2c]
pop ecx
xor ecx, ecx
comisd xmm0, xmmword [0x69edd0]
jbe 0x475b4e
cmp dword [edi + 0x80], ecx
jne 0x475b4e
cmp dword [edi + 0x88], ecx
jne 0x475b4e
cmp dword [edi + 0x90], ecx
je 0x475b4e
mov dword [edi + 0x90], ecx
mov dword [edi + 0x8c], ecx
mov edx, dword [edi + 0xa4]
mov eax, dword [edx + 0x18]
cmp eax, 0x64
jl 0x475cb1
cmp eax, 0xc7
jg 0x475cb1
mov ecx, dword [ebp + 0x48]
test ecx, ecx
jne 0x475bbb
mov ecx, dword [ebp + 0x54]
xor ebx, ebx
mov dword [esp + 0x28], ebx
test ecx, ecx
je 0x475b9d
lea eax, [edi + 0xec]
push eax
push dword [ebp + 0x38]
lea eax, [esp + 0x30]
push dword [ebp + 0x34]
push 0xc
push ebx
push eax
push ebx
push edx
push ebx
push edi
call ecx
add esp, 0x28
mov eax, dword [edi + 0xa0]
add dword [esi], eax
jmp 0x475ff2
and dword [edi + 0x8c], 0
mov eax, 0xfa1
jmp 0x475ff4
cmp eax, 0x65
jne 0x475c88
cmp dword [ecx + 8], 0
je 0x475c88
mov ecx, dword [edi + 0xa4]
mov edx, str.Sec_WebSocket_Accept
push 0
push 0x14
call fcn.0046f521
pop ecx
pop ecx
test eax, eax
je 0x475c75
mov ecx, dword [ebp + 0x48]
mov ecx, dword [ecx + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x475c12
test dl, dl
je 0x475c0e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x475c12
add eax, 2
add ecx, 2
test dl, dl
jne 0x475bf2
xor eax, eax
jmp 0x475c17
sbb eax, eax
or eax, 1
test eax, eax
jne 0x475c75
and dword [esp + 0x28], eax
lea ecx, [edi + 0x28]
mov ebx, dword [edi + 0xa0]
lea eax, [esp + 0x3c]
push eax
xor edx, edx
call fcn.00474509
pop ecx
mov ecx, ebp
mov dword [edi], 1
call fcn.00475114
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x475c6e
lea eax, [edi + 0xec]
xor edx, edx
push eax
push dword [ebp + 0x38]
lea eax, [esp + 0x30]
push dword [ebp + 0x34]
push 0xc
push edx
push eax
push edx
push dword [edi + 0xa4]
push edx
push edi
call ecx
add esp, 0x28
add dword [esi], ebx
jmp 0x475ff2
mov ecx, edi
call fcn.00477032
mov ecx, edi
call fcn.00474544
jmp 0x475ff2
xor ecx, ecx
cmp dword [ebp + 0x4c], ecx
jne 0x475ccb
mov eax, dword [edi + 0xa0]
mov dword [edi + 0x78], ecx
add dword [esi], eax
mov ecx, dword [edi + 0xa4]
call fcn.0046df42
and dword [edi + 0xa4], 0
jmp 0x475fd3
cmp eax, 0xcc
je 0x475cbf
cmp eax, 0x130
jne 0x475ccb
mov dword [edi + 0x90], ecx
mov dword [edi + 0x8c], ecx
cmp dword [edi + 0x98], ecx
je 0x475cea
cmp dword [edi + 0x8c], 0xffffffff
jne 0x475cea
cmp dword [edi + 0x80], ecx
jne 0x475cea
mov dword [edi + 0x8c], ecx
mov eax, ecx
mov ecx, dword [edi + 0xc8]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x475cfb
mov eax, dword [ecx]
cmp dword [edi + 0xc8], 0
je 0x475d23
test eax, eax
je 0x475d23
cmp dword [eax + 0x50], 0
je 0x475d23
and dword [edi + 0x8c], 0
and dword [edi + 0x90], 0
and dword [edi + 0x80], 0
mov eax, dword [edi + 0x8c]
test eax, eax
jne 0x475d6c
xor ebx, ebx
inc ebx
mov dword [edi + 0x70], ebx
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x475d5a
lea eax, [edi + 0xec]
push eax
push dword [ebp + 0x38]
lea eax, [esp + 0x24]
push dword [ebp + 0x34]
push ebx
push 0
push eax
push 0
push edx
push 0
push edi
call ecx
add esp, 0x28
mov eax, dword [esp + 0x14]
add eax, 4
add dword [esi], eax
and dword [edi + 0x70], 0
jmp 0x475fb6
cmp dword [edi + 0x80], 0
jne 0x475e5e
mov ecx, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x475dea
mov eax, ebx
sub eax, dword [esi]
sub eax, ecx
sub eax, 4
cmp eax, dword [edi + 0x8c]
jl 0x475dea
mov dword [edi + 0x70], 1
mov ebx, dword [ebp + 0x54]
test ebx, ebx
je 0x475dd2
lea eax, [edi + 0xec]
add ecx, 4
push eax
push dword [ebp + 0x38]
lea eax, [esp + 0x24]
push dword [ebp + 0x34]
push 1
push dword [edi + 0x8c]
push eax
mov eax, dword [esp + 0x30]
add eax, ecx
push eax
push edx
push 0
push edi
call ebx
mov ecx, dword [esp + 0x3c]
add esp, 0x28
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x475de0
mov eax, dword [edi + 0x8c]
add ecx, 4
add eax, ecx
jmp 0x475d61
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x28], eax
test eax, eax
je 0x475e26
sub ebx, dword [esi]
lea eax, [edi + 0xec]
push eax
push dword [ebp + 0x38]
sub ebx, ecx
lea eax, [esp + 0x24]
push dword [ebp + 0x34]
sub ebx, 4
push 0
push ebx
push eax
mov eax, dword [esp + 0x30]
add eax, 4
add eax, ecx
push eax
push edx
push 0
push edi
call dword [esp + 0x50]
add esp, 0x28
mov eax, dword [esp + 0x20]
test eax, eax
je 0x475e3d
mov ecx, eax
call fcn.00469c24
test eax, eax
jne 0x475fd3
and dword [edi + 0xa0], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, 4
add eax, ecx
mov dword [esi], eax
sub dword [edi + 0x8c], ecx
jmp 0x475ef6
cmp dword [edi + 0x84], 0
jne 0x475ec2
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x475ec2
lea eax, [edi + 0xec]
push eax
push dword [ebp + 0x38]
lea eax, [esp + 0x24]
push dword [ebp + 0x34]
mov ebp, dword [esp + 0x20]
push 0
push 0
push eax
mov eax, dword [esp + 0x30]
add eax, 4
add eax, ebp
push eax
push edx
push 0
push edi
call ecx
add esp, 0x28
cmp dword [edi + 0x78], 0
jne 0x475eaa
mov eax, dword [esp + 0x34]
jmp 0x475848
mov eax, dword [esp + 0x20]
test eax, eax
je 0x475ec6
mov ecx, eax
call fcn.00469c24
test eax, eax
je 0x475ec6
jmp 0x475ff2
mov ebp, dword [esp + 0x14]
sub ebx, dword [esi]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub ebx, ebp
sub ebx, 4
mov edx, edi
push ebx
push eax
mov eax, dword [esp + 0x20]
add eax, 4
add eax, ebp
push eax
call fcn.00474b6c
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, 4
add eax, ebp
mov dword [esi], eax
mov ecx, dword [edi + 0xa4]
call fcn.0046ef59
mov ecx, dword [edi + 0xa4]
mov esi, eax
call fcn.0046df42
mov dword [edi + 0xa4], esi
jmp 0x475fd3
cmp dword [edi + 0x80], 0
jne 0x475fbf
mov edx, dword [edi + 0x90]
xor ecx, ecx
test edx, edx
jne 0x475f3f
mov eax, ebx
sub eax, dword [esi]
cmp eax, dword [edi + 0x8c]
setge cl
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
test eax, eax
je 0x475f83
sub ebx, dword [esi]
test edx, edx
jne 0x475f5f
mov eax, dword [edi + 0x8c]
cmp ebx, eax
cmovge ebx, eax
lea eax, [edi + 0xec]
push eax
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push ecx
push ebx
push esi
push dword [esp + 0x30]
push dword [edi + 0xa4]
push 0
push edi
call dword [esp + 0x5c]
add esp, 0x28
mov eax, dword [esp + 0x20]
test eax, eax
je 0x475f96
mov ecx, eax
call fcn.00469c24
test eax, eax
jne 0x475fd3
cmp dword [edi + 0x90], 0
jne 0x475fd3
mov eax, dword [esi]
sub dword [edi + 0x8c], eax
cmp dword [esp + 0x24], 0
mov eax, dword [edi + 0x8c]
je 0x475fd3
add dword [esi], eax
mov edx, edi
call fcn.0047496d
jmp 0x475fd3
mov ecx, dword [esp + 0x20]
mov edx, edi
push ebx
push esi
push dword [esp + 0x20]
call fcn.00474b6c
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x475fe6
mov ecx, eax
call fcn.00469c24
test eax, eax
jne 0x475ff2
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0xec]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059b3f0
add esp, 0x48
ret