Function at 0x505b07
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x550
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [edi]
lea edx, [ecx - 1]
cmp ecx, 2
cmovae eax, edx
test eax, eax
je 0x505b4f
cmp eax, 1
jne 0x5079de
mov eax, dword [edi + 8]
lea ecx, [esp + 0x14c]
push dword [edi + 4]
push ecx
call dword [eax + 0xc]
add esp, 8
jmp 0x5078f8
mov ebx, dword [edi + 0x38]
xor ecx, ecx
lea edx, [edi + 0x28]
inc ecx
lea eax, [ebx - 0xb]
cmp eax, 3
cmovae eax, ecx
test eax, eax
je 0x505b7f
cmp eax, 1
jne 0x5079de
lea ecx, [esp + 0x2c0]
call fcn.005026ce
jmp 0x5066d6
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x30], edx
lea esi, [esp + 0x1a0]
mov dword [esp], eax
push eax
push esi
mov dword [esp + 0xc], ecx
call dword [ecx + 0xc]
add esp, 8
mov ecx, dword [esi]
test ecx, ecx
je 0x505bd5
lea esi, [esp + 0x1cc]
mov dword [esp + 8], ecx
movsd xmm0, qword [esi - 0x28]
movq xmm1, qword [esi - 0x20]
mov eax, dword [esi - 0x18]
movq qword [esp + 0xe0], xmm1
movsd qword [esp + 0xd8], xmm0
mov dword [esp + 0x10], eax
jmp 0x505c1c
mov eax, dword [esp + 0x1b4]
cmp eax, 6
jne 0x505bf1
mov dword [esp + 0x2d0], 6
jmp 0x5066d6
lea esi, [esp + 0x1cc]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
movsd xmm0, qword [esi - 0x28]
movq xmm1, qword [esi - 0x20]
movq qword [esp + 0xe0], xmm1
movsd qword [esp + 0xd8], xmm0
mov edx, dword [esi - 8]
movq xmm0, qword [esi - 0x14]
mov eax, dword [esi - 0xc]
mov ecx, dword [esi - 4]
lea edi, [esp + 0x3d8]
cmp ebx, 0xb
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x48], eax
mov ecx, 0x1d
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x30]
mov dword [edx + 0x38], 0xd
mov dword [esp + 0x14], ecx
jne 0x507a05
mov edi, dword [esp]
push edi
mov ebx, dword [esp + 8]
call dword [ebx]
add esp, 4
cmp dword [ebx + 4], 0
mov esi, dword [esp + 0x14]
je 0x505c92
cmp dword [ebx + 8], 9
jb 0x505c84
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 8], 0
je 0x505db6
lea edx, [esp + 0x1a0]
lea eax, [esp + 0x3d8]
mov ecx, 0x1d
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x388]
mov esi, eax
movsd xmm0, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
movsd qword [edi - 0x28], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [edi - 0x20], xmm1
mov dword [edi - 0x18], ebx
mov dword [edi - 0xc], ecx
mov ecx, dword [esp + 0xc]
movsd xmm1, qword [edx + 0x48]
movsd qword [edi - 0x14], xmm0
movsd xmm0, qword [edx + 0x50]
mov dword [edi - 8], ecx
mov ecx, dword [esp + 0x1c]
movsd qword [esp + 0xf0], xmm1
movsd qword [esp + 0xf8], xmm0
movsd xmm0, qword [edx + 0x40]
mov dword [edi - 4], ecx
mov ecx, 0x10
movsd qword [esp + 0xe8], xmm0
rep movsd dword es:[edi], dword [esi]
movsd xmm1, qword [edx + 0x60]
mov eax, dword [edx + 0x70]
movq xmm0, qword [edx + 0x58]
movsd qword [esp + 0x188], xmm1
movq xmm1, qword [edx + 0x68]
mov dword [esp + 0x270], eax
mov eax, dword [esp + 0x14]
movq qword [esp + 0x180], xmm0
movq qword [esp + 0x268], xmm1
cmp dword [eax + 0x10], 0
sete al
cmp ebx, 6
sete cl
or cl, al
mov dword [esp + 0x1c], ecx
je 0x505e6f
mov ecx, 0x87
mov dword [esp + 0xc], 0x87
call fcn.00475195
mov dword [esp + 4], edx
push 0x87
push 0x599fa8
mov dword [esp + 8], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x5064d2
mov ecx, esi
call fcn.004f45da
movsd xmm0, qword [esp + 0xd8]
mov eax, dword [esp + 0x48]
movsd xmm1, qword [esp + 0xe0]
lea esi, [esp + 0x3d8]
mov ecx, 0x1d
lea edx, [esp + 0x2e8]
movsd qword [esp + 0x360], xmm0
movsd xmm0, qword [esp + 0x40]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x60]
movsd qword [esp + 0x368], xmm1
mov edi, eax
movsd qword [esp + 0x100], xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, eax
mov edi, edx
movsd xmm1, qword [esp + 0x368]
movq xmm0, qword [esp + 0x360]
mov ecx, dword [esp + 0x108]
movsd qword [edx - 0x20], xmm1
movq xmm1, qword [esp + 0x100]
movq qword [edx - 0x28], xmm0
mov dword [edx - 0xc], ecx
mov ecx, 0x1d
movq qword [edx - 0x14], xmm1
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [edx - 0x18], eax
mov dword [edx - 8], esi
mov dword [edx - 4], ecx
jmp 0x5066d3
lea eax, [esp + 0x60]
lea esi, [esp + 0x360]
mov ecx, 0x1a
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x5c91e4]
cmp ecx, 2
jbe 0x505ed2
lea edx, [esp + 0x278]
lea ecx, [esp + 0x100]
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], 0x4f212e
mov dword [ecx], 0x599de0
inc eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov edx, 3
push 0x33
push 0x599e20
call fcn.0046a714
add esp, 8
lea eax, [esp + 0x70]
cmp dword [eax - 0x10], 1
mov dword [esp + 0x20], eax
jne 0x5062b9
cmp dword [esp + 0x70], 2
jne 0x5062d5
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x506346
mov ebx, dword [ebx + 8]
mov esi, dword [esp + 0x7c]
shl eax, 3
mov dword [esp], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], edi
lea ecx, [eax + eax*4]
add ebx, 0x20
mov dword [esp + 0x38], esi
cmp dword [ebx - 0x18], esi
jne 0x50629a
mov dword [esp + 0x10], ecx
push esi
push edi
push dword [ebx - 0x20]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x505f58
mov ecx, dword [esp + 0x10]
jmp 0x50629a
movdqa xmm0, xmmword [0x5424d0]
lea eax, [esp + 0x11c]
xor ecx, ecx
lea esi, [esp + 0x100]
mov dword [eax], ecx
mov word [eax + 4], 0
mov dword [esp + 0x100], ecx
movdqu xmmword [esp + 0x108], xmm0
mov dword [esp + 0x118], ecx
mov byte [esp + 0x11c], 1
lea ecx, [esp + 0x278]
mov edx, dword [ebx - 8]
push esi
push dword [ebx]
call fcn.004a2f60
add esp, 8
cmp byte [esp + 0x278], 4
jne 0x505fc8
mov edx, dword [esp + 0x27c]
mov dword [esp + 0x5c], edx
mov byte [esp + 0x58], 4
jmp 0x505fe6
mov eax, dword [esp + 0x278]
mov edx, dword [esp + 0x27c]
cmp al, 4
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
jne 0x506071
mov ecx, esi
mov dword [esp + 0x28], edx
call fcn.004a3170
mov eax, dword [esp + 0x100]
xor eax, 2
or eax, dword [esp + 0x104]
jne 0x506038
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x284], ecx
mov dword [esp + 0x280], eax
mov dword [esp + 0x27c], 0
mov dword [esp + 0x278], 2
jmp 0x506059
mov ecx, 0x12
lea edi, [esp + 0x278]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x278]
xor eax, 2
or eax, dword [esp + 0x27c]
jne 0x5060c9
lea eax, [esp + 0x280]
push eax
call fcn.004cd164
add esp, 4
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x5060e7
mov ecx, 0x81
call fcn.00475195
mov esi, eax
mov edi, edx
push 0x81
push 0x599ead
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp], 0
je 0x5060af
cmp dword [esp + 4], 0
je 0x5060af
push dword [esp]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
lea eax, [esp + 0x58]
push eax
call fcn.004cd164
add esp, 4
mov dword [esp + 0xc], 0x81
jmp 0x506287
mov eax, dword [esp + 0x2b0]
mov ecx, dword [esp + 0x2b4]
mov dword [esp + 0xc], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov esi, dword [ebx - 0x14]
mov edi, dword [ebx - 0xc]
mov ecx, 0x100
add edi, esi
call fcn.00475195
mov dword [esp + 0x4c], eax
lea eax, [0x599dc1]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x4c]
mov edx, str.HTTP_1.1_200_OK_r_nServer:_websocat_r_nContent_Type:_Content_Length:_HTTP_serving
push eax
call fcn.004ba2b7
add esp, 4
lea ecx, [esp + 0x4c]
mov edx, esi
push edi
mov edi, ecx
call fcn.004ba2b7
add esp, 4
lea esi, [0x5a45ce]
mov ecx, edi
mov edx, 0x5a45cc
push esi
call fcn.004ba2b7
add esp, 4
cmp byte [esp + 0xc], 0
jne 0x50622b
mov eax, dword [esp + 0x34]
mov ecx, edi
mov edx, 0x599dc1
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x194], eax
lea eax, [0x599dd1]
push eax
call fcn.004ba2b7
add esp, 4
lea eax, [esp + 0x190]
lea ecx, [esp + 0x198]
mov dword [esp + str.failed_to_write_whole_buffer], 0x5a35ec
lea edx, [esp + 0x100]
mov dword [esp + 0x198], eax
xor eax, eax
mov dword [esp + 0x19c], fcn.0044c550
inc eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x110], 0
mov dword [esp + 0x108], ecx
lea ecx, [esp + 0x278]
mov dword [esp + 0x10c], eax
call fcn.0041bb50
mov esi, dword [esp + 0x278]
mov eax, dword [esp + 0x280]
mov ecx, edi
add eax, esi
mov edx, esi
push eax
call fcn.004ba2b7
add esp, 4
cmp dword [esp + 0x27c], 0
je 0x506215
push esi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
lea esi, [0x5a45ce]
mov ecx, edi
mov edx, 0x5a45cc
push esi
call fcn.004ba2b7
add esp, 4
mov ecx, edi
mov edx, 0x5a45cc
push esi
call fcn.004ba2b7
add esp, 4
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
cmp dword [esp], 0
mov dword [esp + 0xc], eax
je 0x506268
cmp dword [esp + 4], 0
je 0x506268
push dword [esp]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x18], 0
je 0x506278
push dword [esp + 8]
call sub.kernel32.dll_CloseHandle
mov ecx, dword [esp + 0x28]
xor eax, eax
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 8], ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
add ebx, 0x28
add ecx, 0xffffffd8
jne 0x505f31
cmp dword [esp], 0
mov esi, dword [esp + 0x18]
jne 0x506375
jmp 0x506348
mov ecx, 0x75
mov esi, 0x75
call fcn.00475195
mov dword [esp + 4], edx
push 0x75
push str.HTTP_1.1_400_Bad_Request_r_nServer:_websocat_r_nContent_Type:_text_plain_r_nConnection:_close_r_n_r_nHTTP_method_should_be_GET_nHTTP_1.1_500_Not_Found_r_nServer:_websocat_r_nContent_Type:_text_plain_r_nConnection:_close_r_n_r_nFailed_to_open_the_file_on_server_side._nHTTP_1.1_400_Bad_Request_r_nServer:_websocat_r_nContent_Type:_text_plain_r_nConnection:_close_r_n_r_nURI_should_be_an_absolute_path_nHTTP_1.1_400_Bad_Request_r_nServer:_websocat_r_nContent_Type:_text_plain_r_nConnection:_close_r_n_r_nOnly_WebSocket_connections_are_welcome_here_n
jmp 0x5062ef
mov ecx, 0x7a
mov esi, 0x7a
call fcn.00475195
mov dword [esp + 4], edx
push 0x7a
push 0x599f2e
mov dword [esp + 8], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x60], 9
jb 0x50631b
cmp dword [esp + 0x68], 0
je 0x50631b
push dword [esp + 0x64]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x70], 2
mov dword [esp + 0xc], esi
jne 0x506342
xor esi, esi
cmp dword [esp + 0x78], 0
je 0x506340
push dword [esp + 0x74]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
jmp 0x5063b9
xor esi, esi
jmp 0x5063b0
xor esi, esi
mov ecx, 0x9d
mov dword [esp + 0xc], 0x9d
call fcn.00475195
mov dword [esp + 4], edx
push 0x9d
push str.HTTP_1.1_404_Not_Found_r_nServer:_websocat_r_nContent_Type:_text_plain_r_nConnection:_close_r_n_r_nURI_does_not_match_any__F_option_and_is_not_a_WebSocket_connection._n
mov dword [esp + 8], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x3c], 0
je 0x50638a
push edi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x60], 9
jb 0x5063a9
cmp dword [esp + 0x68], 0
je 0x5063a9
push dword [esp + 0x64]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [esp + 0x70], 2
je 0x5063b9
mov ecx, dword [esp + 0x20]
call fcn.004f4561
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xc0]
call fcn.00464eff
cmp dword [esp + 0xbc], 0
je 0x5063ea
push dword [esp + 0xb8]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
test esi, esi
je 0x5064d2
mov eax, dword [esp + 0xf0]
xor edx, edx
mov ecx, 0x400
inc edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x1c], eax
call fcn.0041d1cf
lea esi, [esp + 0x60]
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], 0x400
call fcn.004c29a0
mov edi, dword [esi]
mov esi, dword [esi + 8]
mov al, byte [0x5c91e8]
mov ecx, 0x70
mov edx, 8
call fcn.0041aa20
test eax, eax
je 0x507a36
mov ecx, dword [esp + 8]
mov ebx, eax
xor eax, eax
mov edx, dword [esp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [esp]
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], 0x400
mov word [ebx + 0x14], 1
mov byte [ebx + 0x16], 0
mov dword [ebx + 0x18], eax
mov dword [esp], 0x59a030
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 4]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edx
mov word [ebx + 0x2c], 0x100
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x48], 4
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x5e], eax
mov dword [ebx + 0x5a], eax
jmp 0x50659f
mov eax, dword [esp + 0xf0]
xor edx, edx
mov ecx, 0x400
inc edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 8], eax
call fcn.0041d1cf
lea esi, [esp + 0x60]
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], 0x400
call fcn.004c29a0
mov edi, dword [esi]
mov esi, dword [esi + 8]
mov al, byte [0x5c91e8]
mov ecx, 0x70
mov edx, 8
call fcn.0041aa20
test eax, eax
je 0x507a36
mov ecx, dword [esp]
mov ebx, eax
xor eax, eax
mov edx, dword [esp + 0xc]
mov dword [esp], 0x59a040
mov dword [ebx], eax
mov dword [ebx + 8], 0x400
mov word [ebx + 0xc], 1
mov byte [ebx + 0xe], 0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 4]
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
mov word [ebx + 0x24], 0x100
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x40], 4
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x56], eax
mov dword [ebx + 0x52], eax
mov byte [ebx + 0x60], 1
mov ecx, dword [esp + 0x14]
mov byte [ebx + 0x68], 1
call fcn.004f45da
cmp byte [esp + 0x1c], 0
je 0x5065c9
cmp dword [esp + 0x370], 6
je 0x5065c9
lea ecx, [esp + 0x360]
call fcn.004f4508
lea esi, [esp + 0xe8]
push esi
call fcn.004036f0
add esp, 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x5065ec
mov edx, dword [esp + 0xfc]
call fcn.00534cdb
lea ecx, [esp + 0x180]
call fcn.0041d4b8
movsd xmm0, qword [esp + 0x3c8]
mov eax, dword [esp + 0x270]
movsd xmm1, qword [esp + 0x3d0]
lea esi, [esp + 0x450]
mov ecx, 0x1d
movsd qword [esp + 0x360], xmm0
movsd xmm0, qword [esp + 0x268]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x60]
movsd qword [esp + 0x368], xmm1
mov edi, eax
movsd qword [esp + 0x100], xmm0
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x1c8]
mov esi, eax
movsd xmm0, qword [esp + 0x360]
movq xmm1, qword [esp + 0x368]
mov ecx, dword [esp + 0x108]
movsd qword [edi - 0x28], xmm0
movq qword [edi - 0x20], xmm1
mov dword [edi - 0x18], 8
mov dword [edi - 0xc], ecx
movq xmm0, qword [esp + 0x100]
mov ecx, dword [esp]
movq qword [edi - 0x14], xmm0
mov dword [edi - 8], ebx
mov dword [edi - 4], ecx
mov ecx, 0x1d
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x1a0]
lea ecx, [esp + 0x2c0]
mov edx, edi
call fcn.005026ce
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.005014b6
push 0x9c
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x2d0]
cmp eax, 6
je 0x506712
cmp eax, 7
jne 0x506727
mov eax, dword [esp + 0x2c0]
mov dword [esp + 0x18], 6
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c8]
mov dword [esp + 0x24], eax
jmp 0x506764
xor eax, eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x14c], eax
jmp 0x5078f5
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2d4]
mov ecx, dword [eax - 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax - 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax - 8]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x4c4]
push 0x88
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea edi, [esp + 0x1a0]
push 0xc4
mov ebx, dword [ebp + 0xc]
push ebx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [edi]
mov dword [ebx], 3
cmp eax, 2
mov dword [esp + 0x10], eax
jae 0x507a05
lea ecx, [esp + 0x1c8]
mov eax, dword [ecx - 0x24]
mov edx, dword [ecx - 4]
mov ebx, dword [ecx - 0x20]
mov esi, dword [ecx - 0x14]
mov edi, dword [ecx - 0x10]
mov dword [esp], eax
mov eax, dword [ecx - 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ecx - 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ecx - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ecx - 8]
mov dword [esp + 0x30], eax
call fcn.005014b6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x124], ecx
mov ecx, dword [esp + 0x18]
cmp ecx, 6
jne 0x5068cc
lea ecx, [esp + 0x100]
call fcn.0050161a
mov eax, dword [esp + 0x20]
mov esi, dword [ebp + 8]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x158], eax
mov eax, dword [ebp + 0xc]
movq xmm0, qword [esp + 0x160]
movq xmm2, qword [esp + 0x150]
movq xmm1, qword [esp + 0x158]
cmp byte [eax + 0xc4], 0
mov byte [eax + 0xc4], 0
movq qword [esp + 0x178], xmm0
movq qword [esp + 0x168], xmm2
movq qword [esp + 0x170], xmm1
jne 0x50796d
jmp 0x5079ef
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x2d0]
mov edi, dword [esp + 0x24]
mov dword [eax - 0x10], edx
mov dword [eax - 0xc], esi
mov esi, dword [esp + 0x2c]
mov dword [eax - 8], edi
mov dword [eax - 4], esi
mov dword [eax], ecx
lea eax, [esp + 0x2d4]
lea ecx, [esp + 0x4c4]
push 0x88
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [0x5c91e4]
cmp eax, 2
jbe 0x506963
xor edx, edx
lea eax, [esp + 0x60]
lea ecx, [esp + 0x2d0]
mov dword [eax], ecx
lea ecx, [esp + 0x1a0]
inc edx
mov dword [eax + 4], fcn.00467b28
mov dword [ecx], str.Incoming_connection_to_websocket:
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], 0
mov edx, 3
push 0x85
push 0x59a15c
call fcn.0046a714
add esp, 8
mov ecx, dword [esp + 0x318]
mov edx, dword [esp + 0x320]
lea eax, [esp + 0x450]
mov dword [eax], 0
mov dword [eax + 4], 0x5a4141
mov dword [eax + 8], 0x16
push eax
call fcn.00465fd4
add esp, 4
mov edi, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
je 0x506d12
mov esi, eax
mov eax, dword [eax]
test eax, eax
je 0x506ae9
cmp eax, 1
jne 0x5069d5
movdqu xmm0, xmmword [esi + 8]
pcmpeqb xmm0, xmmword [0x5424e0]
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x506bd9
jmp 0x506ae9
cmp dword [esi + 0x14], 0
je 0x506ae9
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
push 0xbf9d6fac
push 0x9342a4ed
push 0x4f1a8f5b
push 0x5384a908
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0046425d
add esp, 0x18
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
pcmpeqd xmm1, xmm1
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x20], edx
and edx, eax
shr eax, 0x19
mov dword [esp + 0x2c], ecx
movd xmm0, eax
lea eax, [ecx - 0x18]
punpcklbw xmm0, xmm0
mov dword [esp + 0x28], eax
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqu xmm2, xmmword [ecx + edx]
mov dword [esp + 0x18], edx
movdqa xmm3, xmm2
pcmpeqb xmm3, xmm0
pmovmskb esi, xmm3
test si, si
je 0x506ab4
lea ecx, [esi - 1]
mov eax, dword [esp + 0x28]
mov edi, 0x4f1a8f5b
and ecx, esi
bsf esi, esi
add esi, dword [esp + 0x18]
and esi, dword [esp + 0x20]
neg esi
lea ebx, [esi + esi*2]
mov esi, 0xbf9d6fac
mov edx, dword [eax + ebx*8 + 0xc]
xor edx, esi
mov esi, dword [eax + ebx*8 + 4]
xor esi, edi
mov edi, 0x9342a4ed
or esi, edx
mov edx, dword [eax + ebx*8 + 8]
xor edx, edi
mov edi, dword [eax + ebx*8]
mov eax, 0x5384a908
xor edi, eax
or edi, edx
or edi, esi
mov edi, dword [esp + 0x14]
mov esi, ecx
jne 0x506a58
jmp 0x506be1
mov esi, dword [esp + 0x24]
pcmpeqb xmm2, xmm1
mov ebx, 0
pmovmskb ecx, xmm2
test ecx, ecx
jne 0x506ae9
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
lea edx, [edx + eax + 0x10]
add eax, 0x10
and edx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
jmp 0x506a43
mov edx, dword [esi + 0x28]
test edx, edx
je 0x507a42
mov eax, esi
lea esi, [esp + 0x1a0]
mov ecx, esi
mov dword [esp + 0x24], eax
push dword [eax + 0x30]
call fcn.00536202
add esp, 4
cmp dword [esi], 0
je 0x506b42
movq xmm0, qword [esp + 0x1a4]
mov eax, dword [esp + 0x1ac]
movq qword [esp + 0x60], xmm0
mov dword [esp + 0x68], eax
cmp byte [esp + 0x60], 0xa
jne 0x506bee
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
jmp 0x506b7a
mov al, byte [0x5c91e8]
mov ecx, 0xc
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x507a1e
mov ecx, dword [esp + 0x1ac]
mov esi, 0x5965c4
mov dword [eax + 8], ecx
movq xmm0, qword [esp + 0x1a4]
movq qword [eax], xmm0
mov ecx, dword [esp + 0x24]
mov edx, 0x5384a908
push esi
mov esi, ecx
push eax
push 0xbf9d6fac
push 0x9342a4ed
push 0x4f1a8f5b
call fcn.004f29eb
add esp, 0x14
mov eax, dword [esi]
test eax, eax
je 0x506d12
mov ecx, 0xbf9d6fac
mov edx, 0x9342a4ed
cmp eax, 1
jne 0x506bfc
mov eax, 0x5384a908
xor edx, dword [esi + 0x10]
xor ecx, dword [esi + 0x14]
xor eax, dword [esi + 8]
or edx, eax
mov eax, 0x4f1a8f5b
xor eax, dword [esi + 0xc]
or ecx, eax
or ecx, edx
jne 0x506d12
add esi, 0x18
jmp 0x506d10
mov eax, dword [esp + 0x2c]
lea esi, [eax + ebx*8 - 8]
jmp 0x506d10
lea ecx, [esp + 0x60]
call fcn.004f2c9c
jmp 0x506d12
cmp dword [esi + 0x14], 0
je 0x506d12
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, 0xbf9d6fac
mov ebx, 0x9342a4ed
push eax
push ebx
mov eax, 0x4f1a8f5b
push eax
mov eax, 0x5384a908
push eax
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0046425d
add esp, 0x18
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
pcmpeqd xmm1, xmm1
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], edx
and edx, eax
shr eax, 0x19
mov dword [esp + 0x2c], ecx
movd xmm0, eax
lea eax, [ecx - 0x18]
punpcklbw xmm0, xmm0
mov dword [esp + 0x28], eax
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqu xmm2, xmmword [ecx + edx]
mov dword [esp + 0x18], edx
movdqa xmm3, xmm2
pcmpeqb xmm3, xmm0
pmovmskb ecx, xmm3
test cx, cx
je 0x506cd8
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x28]
mov eax, 0xbf9d6fac
and edx, ecx
bsf ecx, ecx
add ecx, dword [esp + 0x18]
and ecx, dword [esp + 0x20]
neg ecx
lea esi, [ecx + ecx*2]
mov edi, dword [ebx + esi*8 + 0xc]
mov ecx, dword [ebx + esi*8 + 4]
xor edi, eax
mov eax, 0x4f1a8f5b
xor ecx, eax
mov eax, 0x9342a4ed
or ecx, edi
mov edi, dword [ebx + esi*8 + 8]
mov ebx, dword [ebx + esi*8]
xor edi, eax
mov eax, 0x5384a908
xor ebx, eax
or ebx, edi
mov edi, dword [esp + 0x14]
or ebx, ecx
mov ecx, edx
jne 0x506c7f
jmp 0x506d08
pcmpeqb xmm2, xmm1
pmovmskb ecx, xmm2
test ecx, ecx
jne 0x5079d7
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
lea edx, [edx + eax + 0x10]
add eax, 0x10
and edx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x506c6a
mov eax, dword [esp + 0x2c]
lea esi, [eax + esi*8 - 8]
mov ebx, dword [esi]
cmp dword [esp + 4], 0
je 0x506dd2
mov dword [esp + 0x14], ebx
mov ecx, 0xc
mov edx, 4
mov al, byte [0x5c91e8]
call fcn.0041aa20
test eax, eax
je 0x507a1e
mov esi, dword [esp + 8]
mov ebx, eax
mov ecx, esi
call fcn.00475195
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
push esi
push dword [esp + 8]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1a0]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
xor ecx, ecx
mov dword [ebx + 8], esi
mov dword [edx], ebx
inc ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
lea ecx, [esp + 0x328]
call fcn.004f2dfe
mov eax, dword [esp + 0x14]
test eax, eax
je 0x506ea4
cmp dword [eax + 8], 0
je 0x506dc5
mov eax, dword [eax]
mov ecx, dword [esp + 8]
cmp dword [eax + 8], ecx
jne 0x506dc5
push dword [esp + 8]
push dword [esp + 8]
push dword [eax]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x506ef0
mov dword [esp + 8], 0
jmp 0x506ef6
mov al, 1
test ebx, ebx
mov dword [esp + 8], eax
je 0x506f0f
mov eax, dword [ebx + 8]
cmp eax, 1
jbe 0x506e2f
mov eax, dword [0x5c91e4]
cmp eax, 1
jbe 0x506e37
lea ecx, [esp + 0x1a0]
xor eax, eax
mov edx, 2
mov dword [ecx], str.Multiple__Sec_WebSocket_Protocol_s_specified_in_the_request._Choosing_the_first_one._Use___server_protocol_to_make_it_explicit.
mov dword [ecx + 4], 1
mov dword [ecx + 8], str.failed_to_write_whole_buffer
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
push 0xa5
push 0x59a15c
call fcn.0046a714
add esp, 8
mov eax, dword [ebx + 8]
test eax, eax
je 0x506f0f
mov ebx, dword [ebx]
mov al, byte [0x5c91e8]
mov ecx, 0xc
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x507a1e
mov edi, dword [ebx]
mov ebx, dword [ebx + 8]
mov esi, eax
mov ecx, ebx
call fcn.00475195
mov dword [esp + 4], edx
push ebx
push edi
push eax
mov edi, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi], edi
lea edx, [esp + 0x1a0]
lea ecx, [esp + 0x328]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], ebx
mov dword [edx], esi
inc eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
call fcn.004f2dfe
mov edi, dword [esp + 0x14]
jmp 0x506f0f
mov eax, dword [0x5c91e4]
mov cl, 1
mov dword [esp + 8], ecx
cmp eax, 2
jb 0x506ef6
lea ecx, [esp + 0x1a0]
xor eax, eax
mov edx, 2
mov dword [ecx], str.Client_failed_to_specify_Sec_WebSocket_Protocol_header._Replying_with_it_anyway__against_the_RFC.
mov dword [ecx + 4], 1
mov dword [ecx + 8], str.failed_to_write_whole_buffer
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
push 0x9c
push 0x59a15c
call fcn.0046a714
add esp, 8
jmp 0x506ef6
mov al, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x506f0f
push dword [esp + 4]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1a0], edi
lea eax, [ecx + ecx*2]
test ecx, ecx
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x1a8], edi
lea ebx, [edi + eax*8]
mov dword [esp + 0x1ac], ebx
je 0x506fae
add edi, 0x18
mov eax, dword [edi - 0x18]
test eax, eax
je 0x506fa7
mov ecx, dword [edi - 0x14]
mov edx, dword [edi - 0x10]
mov dword [esp + 0x180], eax
lea esi, [edi - 0x18]
mov dword [esp + 0x188], edx
mov dword [esp + 0x184], ecx
lea ecx, [esp + 0x328]
lea edx, [esp + 0x180]
movq xmm0, qword [esi + 0xc]
movq qword [esp + 0xe8], xmm0
mov eax, dword [esi + 0x14]
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xe8]
push eax
call fcn.004f28b6
add esp, 4
add esi, 0x18
add edi, 0x18
cmp esi, ebx
jne 0x506f40
mov edi, ebx
mov dword [esp + 0x1a8], edi
lea esi, [esp + 0x1a0]
mov ecx, esi
call fcn.0050151a
mov eax, dword [0x5c91e4]
cmp eax, 4
jb 0x507011
lea eax, [esp + 0x2c0]
lea edx, [esp + 0x60]
lea ecx, [esp + 0x1a0]
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], 0x4f4e8b
mov dword [ecx], str.failed_to_write_whole_buffer
inc eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov edx, 4
push 0xb5
push 0x59a15c
call fcn.0046a714
add esp, 8
mov eax, dword [0x5c91e4]
cmp eax, 3
jbe 0x507066
lea eax, [esp + 0x328]
lea edx, [esp + 0x60]
lea ecx, [esp + 0x1a0]
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], fcn.00464544
mov dword [ecx], str.failed_to_write_whole_buffer
inc eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov edx, 4
push 0xb6
push 0x59a15c
call fcn.0046a714
add esp, 8
cmp byte [esp + 8], 0
je 0x5074e3
cmp dword [esp + 0x10], 0
jne 0x50744a
mov esi, dword [esp]
lea eax, [esp + 0x2d0]
mov dword [esp + 0x3d8], eax
cmp dword [esi + 8], 0
jne 0x507a9c
lea eax, [esp + 0x3d8]
mov dword [esi + 8], 0xffffffff
lea edi, [esp + 0x1a0]
lea ecx, [esp + 0x450]
lea ebx, [esp + 0x60]
mov dword [esp + 0x450], eax
xor eax, eax
mov dword [edi], str.failed_to_write_whole_buffer
mov edx, edi
mov dword [esp + 0x454], 0x4f1782
inc eax
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0
mov dword [edi + 8], ecx
mov ecx, ebx
mov dword [edi + 0xc], eax
call fcn.0041bb50
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
call fcn.00463a62
mov eax, dword [ebx + 8]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x34]
movq xmm0, qword [ebx]
movq qword [esi + 0x18], xmm0
mov eax, dword [eax + 0x154]
test eax, eax
je 0x50743d
mov edx, dword [esp + 0x34]
mov ecx, dword [esp]
lea eax, [eax + eax*2]
mov ebx, dword [edx + 0x14c]
add ecx, 0xc
mov dword [esp + 0x30], ecx
lea eax, [ebx + eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x450], ebx
mov edx, dword [esp + 0x320]
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
mov ecx, dword [esp + 0x318]
push edi
call fcn.00465fd4
add esp, 4
test eax, eax
je 0x5072ee
mov ecx, eax
call fcn.00466012
test eax, eax
je 0x5072ee
mov esi, eax
cmp edx, 1
je 0x507204
test edx, edx
je 0x507430
mov eax, dword [0x5c91e4]
cmp eax, 2
jb 0x507204
lea eax, [esp + 0x450]
lea ecx, [esp + 0x60]
mov dword [esp + str.Extra_request_header_for__ignored], 0x59a29c
mov dword [esp + 0x1a4], 2
mov edx, 2
mov dword [esp + 0x1a8], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x1ac], 1
mov dword [esp + 0x64], 0x4c6562
mov dword [esp + 0x1b0], 0
mov ecx, edi
push 0xd3
push 0x59a15c
call fcn.0046a714
add esp, 8
mov edi, dword [esi + 8]
mov eax, dword [esi]
mov ecx, edi
mov dword [esp + 4], eax
call fcn.00475195
mov esi, eax
mov dword [esp + 0xc], edx
push edi
push dword [esp + 8]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x1a0]
mov dword [esp + 4], esi
mov edx, esi
mov dword [esp + 0x1c], edi
push edi
call fcn.004469c0
add esp, 4
cmp dword [esp + 0x1a0], 0
je 0x50736a
mov edi, dword [esp + 0x1a8]
mov ecx, 0xff
mov edx, 2
mov eax, edi
and eax, ecx
xor eax, edx
je 0x50736f
mov eax, dword [0x5c91e4]
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x1a0]
cmp eax, 1
jbe 0x50741b
lea eax, [esp + 0x450]
lea ecx, [esp + 0x60]
mov dword [esp + str.Header__value_contains_invalid_UTF_8], 0x59a2d0
mov dword [esp + 0x1a4], 2
mov edx, 2
mov dword [esp + 0x1a8], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x1ac], 1
mov dword [esp + 0x64], 0x4c6562
mov dword [esp + 0x1b0], 0
mov ecx, edi
push 0xdb
push 0x59a15c
call fcn.0046a714
add esp, 8
jmp 0x50741b
mov eax, dword [0x5c91e4]
cmp eax, 2
jb 0x507430
lea eax, [esp + 0x450]
mov ecx, 0x4c6562
mov dword [esp + str.No_request_header___so_no_envvar_H_], 0x59a304
mov edx, 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov ecx, 2
lea eax, [esp + 0x60]
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], ecx
mov dword [esp + 0x1b0], 0
mov ecx, edi
push 0xde
push 0x59a15c
call fcn.0046a714
add esp, 8
jmp 0x507430
mov edi, 2
mov eax, dword [esp + 0x450]
lea ecx, [esp + 0x1a0]
mov edx, dword [eax]
push dword [eax + 8]
call fcn.0041bed0
add esp, 4
mov eax, dword [esp + 4]
mov esi, dword [esp + 0xc]
mov dword [esp + 8], edi
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], eax
mov eax, dword [esp]
mov edx, dword [eax + 0x14]
cmp edx, dword [eax + 0x10]
jne 0x5073c9
mov ecx, dword [esp + 0x30]
call fcn.004f27ea
mov eax, dword [esp]
mov edx, dword [eax + 0x14]
mov edi, eax
mov eax, dword [eax + 0xc]
movsd xmm0, qword [esp + 0x1b0]
lea ecx, [edx + edx*2]
mov edx, 2
movsd qword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esp + 0x1a0]
movq xmm1, qword [esp + 0x1a8]
movq qword [eax + ecx*8 + 8], xmm1
movq qword [eax + ecx*8], xmm0
inc dword [edi + 0x14]
mov edi, dword [esp + 8]
mov eax, 0xff
and edi, eax
xor edi, edx
lea edi, [esp + 0x1a0]
je 0x507430
test esi, esi
je 0x507430
push dword [esp + 4]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
add ebx, 0xc
cmp ebx, dword [esp + 0x14]
jne 0x507135
mov eax, dword [esp]
lea esi, [esp + 0x1a0]
inc dword [eax + 8]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
test eax, eax
je 0x507552
cmp dword [esp + 0x2d0], 2
jne 0x50748c
mov ecx, dword [esp + 0x2dc]
mov edx, dword [esp + 0x38]
cmp ecx, dword [edx + 0x10]
jne 0x50748c
push ecx
push eax
push dword [esp + 0x2dc]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x507552
lea eax, [esp + 0x2c0]
push 0x9c
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x60]
mov edx, esi
call fcn.0050154f
mov al, byte [0x5c91e8]
mov ecx, 0x54
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x507a2a
lea esi, [esp + 0x60]
mov ecx, 0x14
mov edi, eax
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, 0x59a314
mov byte [eax + 0x50], 1
jmp 0x507538
lea eax, [esp + 0x2c0]
push 0x9c
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x60]
mov edx, esi
call fcn.0050154f
mov al, byte [0x5c91e8]
mov ecx, 0x54
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x507a2a
lea esi, [esp + 0x60]
mov ecx, 0x14
mov edi, eax
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
mov byte [eax + 0x50], 1
mov esi, 0x59a334
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
call fcn.004dffb9
mov ecx, dword [esp + 0x34]
call fcn.004dff91
jmp 0x5078c7
lea eax, [esp + 0x2c0]
push 0x9c
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1f8]
mov edx, dword [esp + 0x200]
mov esi, dword [eax + 0x220]
mov edi, dword [eax + 0x224]
call fcn.0052dfe8
test eax, eax
je 0x507a53
movdqu xmm0, xmmword [eax]
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x60]
mov dword [esp + 0xc], esi
mov ecx, edi
call fcn.0053853c
mov dword [esp + 0x3d8], 0
mov dword [esp + 0x3dc], 0x5a4116
mov dword [esp + 0x3e0], 0x14
xor edx, edx
mov ecx, 0x14
mov al, byte [0x5c91e8]
inc edx
call fcn.0041aa20
test eax, eax
je 0x507a69
mov ecx, dword [esp + 0x70]
xor ebx, ebx
lea esi, [esp + 0x450]
mov edx, 0x7e9b4bde
mov dword [eax + 0x10], ecx
mov ecx, esi
movq xmm0, qword [esp + 0x60]
movq xmm1, qword [esp + 0x68]
movq qword [eax + 8], xmm1
movq qword [eax], xmm0
mov dword [esi + 4], ebx
mov dword [esi], ebx
push 0x596640
push eax
push 0x97bb747e
push 0x91b0852d
push 0x8500ee57
call fcn.004f29eb
add esp, 0x14
mov ecx, 0xa
mov eax, edi
lea edx, [esp + 0x3d8]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x208]
mov dword [esp + 0x88], ebx
mov ecx, edi
push eax
call fcn.00465c8d
add esp, 4
mov al, byte [0x5c91e8]
mov ecx, 0x10
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x507a73
mov ecx, 7
mov esi, eax
call fcn.00475195
mov dword [eax], 0x72677055
mov dword [eax + 3], 0x65646172
mov dword [esi], 2
mov dword [esi + 4], eax
mov dword [esi + 8], edx
lea edx, [esp + 0x60]
mov dword [esi + 0xc], 7
mov ecx, edi
mov dword [edx], esi
xor esi, esi
inc esi
mov dword [edx + 4], esi
mov dword [edx + 8], esi
call fcn.00531f44
mov al, byte [0x5c91e8]
mov ecx, 0x1c
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x507a7f
lea edx, [esp + 0x60]
mov ecx, edi
mov dword [eax], 2
mov dword [eax + 0x10], 0
mov dword [edx], eax
mov dword [edx + 4], esi
mov dword [edx + 8], esi
call fcn.00531d2b
lea ecx, [esp + 0x1a0]
lea ebx, [esp + 0x378]
mov edx, esi
lea edi, [esp + 0x60]
mov eax, dword [ecx + 0x68]
movsd xmm0, qword [ecx + 0x84]
mov esi, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x6c]
movsd qword [ebx - 8], xmm0
movsd xmm0, qword [ecx + 0x7c]
mov dword [esp + 8], eax
movsd qword [ebx - 0x10], xmm0
movsd xmm0, qword [ecx + 0x74]
mov eax, dword [ecx + 0x70]
mov ecx, 0x1a
mov dword [esp + 4], eax
movsd qword [ebx - 0x18], xmm0
mov eax, 0x1010101
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
call fcn.0041d4b8
lea eax, [esp + 0x1a0]
lea edx, [esp + 0x3d8]
lea esi, [esp + 0x360]
mov ecx, 0xe
movsd xmm0, qword [eax + 0x8c]
movsd xmm1, qword [eax + 0x94]
mov edi, edx
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x450]
call fcn.0050251a
lea eax, [esp + 0x60]
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x3d8]
mov bl, byte [eax + 0x64]
mov ecx, esi
push dword [esp + 4]
call fcn.0053228d
add esp, 4
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
mov ecx, 0x68
mov edx, 4
mov dword [esp + 0x282], eax
movsd qword [esp + 0x27a], xmm0
movq xmm0, qword [esp + 0x27e]
movq xmm1, qword [esp + 0x278]
movq qword [esi + 6], xmm0
movq qword [esi], xmm1
mov al, byte [0x5c91e8]
call fcn.0041aa20
test eax, eax
je 0x507a8b
mov word [eax], 1
mov edi, eax
lea esi, [esp + 0x450]
mov ecx, 0xf
mov edx, eax
movq xmm0, qword [esp + 0x3d8]
movq xmm1, qword [esp + 0x3de]
add edi, 0x14
movq qword [eax + 2], xmm0
movq qword [eax + 8], xmm1
mov byte [eax + 0x10], bl
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], esi
mov dword [edx + 0x58], ecx
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [edx + 0x5c], esi
mov dword [edx + 0x60], ecx
lea ecx, [esp + 0x60]
mov esi, edx
mov byte [edx + 0x64], 1
call fcn.004f4508
mov al, byte [0x5c91e8]
mov ecx, 0xc
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x507a1e
mov ecx, dword [esp + 0x34]
mov ebx, eax
mov dword [eax], esi
mov dword [eax + 4], 0x597998
mov edx, dword [esp]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x10]
call fcn.004dffb9
mov esi, 0x59a324
mov ecx, dword [esp + 0x38]
mov edi, dword [ebp + 0xc]
call fcn.004f4752
lea eax, [esp + 0x14c]
push ebx
push eax
call dword [esi + 0xc]
add esp, 8
mov ecx, edi
call fcn.0050164f
mov dword [edi], 2
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x14c]
test eax, eax
jne 0x507925
cmp dword [esp + 0x150], 0
jne 0x507925
xor eax, eax
lea ecx, [esp + 0x14c]
mov dword [esi + 4], eax
mov dword [esi], eax
call fcn.00504ac7
jmp 0x5079cd
lea ecx, [esp + 0x150]
cmp byte [edi + 0xc4], 0
mov byte [edi + 0xc4], 0
movq xmm0, qword [ecx + 0x10]
movq xmm2, qword [ecx]
movq xmm1, qword [ecx + 8]
movq qword [esp + 0x178], xmm0
movq qword [esp + 0x170], xmm1
movq qword [esp + 0x168], xmm2
je 0x5079ef
test eax, eax
je 0x50799f
mov eax, dword [esp + 0x170]
movq xmm0, qword [esp + 0x168]
lea ecx, [esp + 0x1a0]
mov dword [ecx + 8], eax
movq qword [ecx], xmm0
call fcn.004d11e3
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], 0x593e5c
inc eax
jmp 0x5079cb
movq xmm0, qword [esp + 0x178]
movq xmm2, qword [esp + 0x168]
movq xmm1, qword [esp + 0x170]
xor eax, eax
movq qword [esi + 0x14], xmm0
movq qword [esi + 0xc], xmm1
movq qword [esi + 4], xmm2
mov dword [esi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x506d12
mov ecx, str.cannot_poll_a_chained_future_twice
mov edx, 0x22
push 0x5a3d04
jmp 0x507a14
mov ecx, str.cannot_poll_MapErr_twice_home_vi_.cargo_registry_src_index.crates.io_6f17d22bba15001f_futures_0.1.31_src_future_map_err.rs
mov edx, 0x18
push 0x5a3e14
call fcn.00448d20
jmp 0x507a19
mov ecx, 0x5a3cc0
mov edx, 0xe
push 0x5a3cd0
call fcn.004bb0d7
add esp, 4
ud2
mov ecx, 4
mov edx, 0xc
jmp 0x507a95
mov ecx, 4
mov edx, 0x54
jmp 0x507a95
mov ecx, 8
mov edx, 0x70
jmp 0x507a95
mov ecx, str.item.raw_must_exist_home_vi_.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.10.16_src_header_internals_item.rs
mov edx, 0x13
push 0x5a399c
jmp 0x5079fe
mov ecx, str.called__Option::unwrap____on_a__None__value_home_vi_.cargo_registry_src_index.crates.io_6f17d22bba15001f_url_1.7.2_src_lib.rsURL_has_no_host
mov edx, 0x2b
push 0x597988
call fcn.00445340
jmp 0x507a19
xor ecx, ecx
mov edx, 0x14
inc ecx
jmp 0x507a95
mov ecx, 4
mov edx, 0x10
jmp 0x507a95
mov ecx, 4
mov edx, 0x1c
jmp 0x507a95
mov ecx, 4
mov edx, 0x68
call fcn.0041b1c0
ud2
mov ecx, 0x5946db
mov edx, 0x10
push 0x59a268
push 0x5947dc
lea eax, [esp + 0x1a8]
push eax
call fcn.00447310
add esp, 0xc
ud2