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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x57407c]
mov edi, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, 4
jbe 0x49e431
mov dword [esp + 0x4c], str.Try_read_request
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x54], str.Try_read_request
mov dword [esp + 0x58], 0
sub esp, 4
lea eax, [esp + 0x48]
push 0
push 0x28
push 0x52b55c
push 5
push eax
call fcn.004bc640
add esp, 0x18
mov eax, dword [edi]
mov esi, dword [ebp + 8]
xor eax, 3
or eax, dword [edi + 4]
jne 0x49e54f
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov ebx, 0x64
lea eax, [edx + 3]
and eax, 0xfffffffc
mov esi, eax
sub esi, edx
mov edx, ecx
sub edx, esi
shr edx, 4
cmp edx, 0x64
cmovb ebx, edx
xor edi, edi
cmp ecx, esi
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov esi, 0x52bb58
cmovae edi, ebx
cmovae esi, eax
test edi, edi
je 0x49e4b1
movsd xmm0, qword [0x52b9a4]
movsd xmm1, qword [0x52b99c]
mov eax, edi
mov ebx, esi
shl eax, 4
nop word cs:[eax + eax]
nop
movsd qword [ebx + 8], xmm0
movsd qword [ebx], xmm1
add ebx, 0x10
add eax, 0xfffffff0
jne 0x49e4a0
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edi
lea esi, [esp + 8]
push ecx
push edx
push eax
push esi
call fcn.004a0ea0
add esp, 0x10
mov eax, dword [esp + 8]
cmp eax, 2
je 0x49e565
mov ecx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x57407c]
test eax, eax
je 0x49e577
cmp eax, 1
jne 0x49e786
mov eax, dword [edi]
cmp eax, 4
jbe 0x49e54f
mov dword [esp + 0x10], str.Read_partial_requestt
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0
mov dword [esp + 0x18], str.Try_read_request
mov dword [esp + 0x1c], 0
sub esp, 4
push 0
push 0x37
push 0x52b55c
push 5
lea eax, [esp + 0x1c]
push eax
call fcn.004bc640
add esp, 0x18
mov dword [esi], 0
mov dword [esi + 8], 0
mov byte [esi + 0x15], 2
jmp 0x49e79f
movzx ecx, byte [esp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x57407c]
test eax, eax
jne 0x49e4fc
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ecx
test eax, eax
je 0x49e935
push dword [esp + 0x48]
push eax
call fcn.0049f020
add esp, 8
test al, 1
jne 0x49e794
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebp + 0xc]
mov byte [esp + 3], dl
test ecx, ecx
mov byte [eax + 0x48], dl
je 0x49e935
mov eax, dword [esp + 0x50]
cmp byte [esp + 0x5c], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
je 0x49e935
mov dh, byte [esp + 0x5d]
cmp dh, 2
jae 0x49e798
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 1], dl
mov byte [esp + 2], dh
mov byte [eax + 0x49], dh
mov eax, dword [edi]
cmp eax, 5
jb 0x49e67c
lea eax, [esp + 3]
mov dword [esp + 0x78], 0x52b5a8
mov dword [esp + 0x7c], 3
mov dword [esp + 0x70], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x68]
mov dword [esp + 0xc], 0x49f1b0
mov dword [esp + 0x10], eax
lea eax, [esp + 2]
mov dword [esp + 0x14], 0x404150
mov dword [esp + 0x18], eax
lea eax, [esp + 8]
mov dword [esp + 0x1c], 0x49f150
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 3
sub esp, 4
lea eax, [esp + 0x74]
push 0
push 0x48
push 0x52b55c
push 5
push eax
call fcn.004bc640
add esp, 0x18
mov eax, dword [esp + 0x6c]
mov dh, byte [esp + 2]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov byte [esp], dh
mov dword [esp + 0x88], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov ecx, dword [edi]
cmp ecx, 4
jbe 0x49e6f8
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], 0x52b5cc
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0x4a0020
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
sub esp, 4
push 0
push 0x4f
push 0x52b55c
push 5
lea eax, [esp + 0x1c]
push eax
call fcn.004bc640
add esp, 0x18
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
movzx ecx, byte [esp + 1]
mov dword [esp + 4], 0
cmp cl, 8
ja 0x49e7b1
movzx ecx, cl
mov edx, 0x10c
mov dword [esp + 0x24], 0
bt edx, ecx
mov edx, 0
mov ecx, 0
jae 0x49e7cd
xor edx, edx
cmp byte [esp], 0
lea ecx, [esp + 8]
sete dl
push eax
push ebx
call fcn.0049f5f0
add esp, 8
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, ebx
mov dword [esp + 0x28], edx
xor ecx, 3
mov eax, ecx
or eax, edx
mov edx, dword [esp + 0x10]
movzx eax, byte [esp + 0x10]
mov dword [esp + 4], edx
cmovne eax, edx
mov dh, bl
and dh, 3
cmp dh, 2
je 0x49e7a9
cmp ebx, 3
je 0x49e782
or ecx, dword [esp + 0x28]
jne 0x49e7bf
mov byte [esi], al
jmp 0x49e79b
movsx eax, cl
movzx eax, byte [eax + 0x52b60c]
mov byte [esi], al
jmp 0x49e79b
mov byte [esi], dl
jmp 0x49e79b
mov byte [esi], 0x1c
mov byte [esi + 0x15], 3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], 0
mov dword [esp + 0x24], 0
xor edx, edx
xor ecx, ecx
jmp 0x49e7cd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], edx
mov ebx, edx
mov edx, ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov dword [ecx], ebx
mov edx, ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov eax, dword [edi]
cmp eax, 4
jbe 0x49e85f
lea eax, [esp + 0x70]
mov dword [esp + 0x10], 0x52b5e0
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], 0x49f7f0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
sub esp, 4
push 0
push 0x53
push 0x52b55c
push 5
lea eax, [esp + 0x1c]
push eax
mov ebx, edx
call fcn.004bc640
mov edx, ebx
add esp, 0x18
or edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp]
jne 0x49e904
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov eax, dword [edi]
cmp eax, 4
mov eax, dword [esp + 4]
jbe 0x49e8f0
lea eax, [esp + 0x60]
mov dword [esp + 0x10], 0x52b604
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], fcn.004d9540
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
sub esp, 4
push 0
push 0x57
push 0x52b55c
push 5
lea eax, [esp + 0x1c]
push eax
call fcn.004bc640
movzx edx, byte [esp + 0x18]
mov ecx, dword [esp + 0x50]
add esp, 0x18
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
movaps xmm0, xmmword [0x52b4d0]
mov edi, dword [ebp + 0xc]
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ebx
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x88]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov edi, dword [esp + 0x34]
movzx ecx, byte [esp + 1]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], edi
mov byte [esi + 0x14], cl
mov byte [esi + 0x15], dl
jmp 0x49e79f
ud2