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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2a0
lea eax, [edx + 0x80]
lea ebx, [edx + 0x70]
mov edi, edx
mov dword [esp + 0x58], 2
mov dword [esp + 8], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
lea eax, [edx + 0x88]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], eax
lea eax, [edx + 0xa8]
mov dword [esp + 0x2c], eax
lea eax, [edx + 0x74]
mov dword [esp + 0x4c], eax
lea eax, [edx + 0x78]
mov dword [esp + 0x7c], eax
jmp 0x4d0316
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x74]
mov eax, dword [eax + 0x10]
push dword [ecx + 0x7c]
push dword [ecx + 0x78]
push dword [esp + 0x14]
call eax
add esp, 0xc
mov eax, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x288]
movsd xmm1, qword [esp + 0x290]
mov ecx, dword [esp + 0x7c]
mov dword [ebx], 3
mov dword [eax], edi
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov edi, dword [esp + 4]
mov esi, dword [ebx]
lea eax, [esi - 3]
cmp eax, 1
ja 0x4d0960
mov ebx, dword [edi + 0xbc]
mov ecx, dword [edi + 0xac]
mov edx, dword [edi + 0xb8]
test ebx, ebx
mov dword [esp + 0x14], ecx
setne al
cmp ecx, edx
setbe cl
or cl, al
jne 0x4d099e
mov ecx, dword [edi + 0xd4]
mov eax, dword [edi + 0xd0]
mov dword [esp + 0x284], ebx
mov dword [esp + 0x28], edx
mov edi, eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x44], ecx
push edi
call eax
add esp, 4
mov esi, dword [esp + 0x280]
mov ebx, dword [esp + 0x14]
test al, al
je 0x4d0c4d
mov ecx, dword [esp + 0x28]
mov eax, ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 1
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 1
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 1
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 1
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 1
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 1
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 1
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 1
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 1
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 1
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 1
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 1
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 1
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 1
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 1
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 1
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 1
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 1
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 1
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 1
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 1
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 1
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 1
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 1
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 1
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 1
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 1
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 1
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 1
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 1
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 1
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 1
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 1
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 1
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1ec], 1
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 1
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], 1
mov dword [esp + 0x200], 0
mov dword [esp + 0x204], 1
mov dword [esp + 0x208], 0
mov dword [esp + 0x20c], 1
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 1
mov dword [esp + 0x218], 0
mov dword [esp + 0x21c], 1
mov dword [esp + 0x220], 0
mov dword [esp + 0x224], 1
mov dword [esp + 0x228], 0
mov dword [esp + 0x22c], 1
mov dword [esp + 0x230], 0
mov dword [esp + 0x234], 1
mov dword [esp + 0x238], 0
mov dword [esp + 0x23c], 1
mov dword [esp + 0x240], 0
mov dword [esp + 0x244], 1
mov dword [esp + 0x248], 0
mov dword [esp + 0x24c], 1
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 1
mov dword [esp + 0x258], 0
mov dword [esp + 0x25c], 1
mov dword [esp + 0x260], 0
mov dword [esp + 0x264], 1
mov dword [esp + 0x268], 0
mov dword [esp + 0x26c], 1
mov dword [esp + 0x270], 0
mov dword [esp + 0x274], 1
mov dword [esp + 0x278], 0
mov dword [esp + 0x27c], 1
sub eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
add eax, ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x20]
push 1
lea ecx, [esp + 0x84]
push ecx
push dword [ebp + 8]
push edi
lea ecx, [esp + 0x40]
push ecx
call eax
add esp, 0x14
movzx eax, byte [esp + 0x30]
cmp al, 5
je 0x4d176c
mov esi, dword [esp + 0x34]
cmp al, 4
je 0x4d0c96
jmp 0x4d1782
test esi, esi
je 0x4d0988
xor ecx, ecx
cmp esi, 1
jne 0x4d098b
mov eax, dword [esp + 0xc]
cmp dword [eax + 4], 0
jne 0x4d098b
mov ecx, dword [edi + 0x7c]
mov eax, dword [esp + 0xc]
sub ecx, dword [eax]
mov eax, 0
cmovb ecx, eax
jmp 0x4d098b
mov ecx, dword [edi + 0x7c]
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
cmp ecx, eax
cmovae ecx, eax
test ecx, ecx
jne 0x4d0c16
cmp esi, 3
mov dword [edi + 0xbc], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0x70], 4
jne 0x4d1512
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc0]
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm0
add eax, 9
jb 0x4d17fb
mov edx, dword [esp + 0x2c]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edi, dword [edi + 0x84]
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm0
lea esi, [esp + 0x70]
lea edx, [esp + 0x85]
mov ecx, esi
push 3
call sym.bytes::buf::buf_mut::BufMut::put_slice::hda13a60c307d374c
add esp, 4
mov byte [esp + 0x80], 9
lea edx, [esp + 0x80]
mov ecx, esi
push 1
call sym.bytes::buf::buf_mut::BufMut::put_slice::hda13a60c307d374c
add esp, 4
mov byte [esp + 0x80], 4
lea edx, [esp + 0x80]
mov ecx, esi
push 1
call sym.bytes::buf::buf_mut::BufMut::put_slice::hda13a60c307d374c
add esp, 4
mov eax, edi
bswap eax
mov dword [esp + 0x80], eax
lea edx, [esp + 0x80]
mov ecx, esi
push 4
call sym.bytes::buf::buf_mut::BufMut::put_slice::hda13a60c307d374c
add esp, 4
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x20]
mov esi, ebx
mov dword [esp + 0x14], eax
not esi
cmp esi, ecx
cmovae esi, ecx
cmp eax, esi
jbe 0x4d0b00
lea edx, [esp + 0x18]
lea ecx, [esp + 0x70]
push esi
call sym.bytes::buf::buf_mut::BufMut::put::h84e8afc485875326
add esp, 4
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x90], edi
jmp 0x4d0b1c
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x70]
push eax
call sym.bytes::buf::buf_mut::BufMut::put_slice::hda13a60c307d374c
add esp, 4
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 4]
mov ecx, edx
sub ecx, ebx
jb 0x4d1807
mov ebx, dword [esp + 0x10]
bswap ecx
test cl, 0xff
jne 0x4d17ce
cmp edx, 2
jbe 0x4d17e7
mov edx, dword [eax]
shr ecx, 8
mov word [edx], cx
shr ecx, 0x10
mov byte [edx + 2], cl
mov edi, dword [esp + 0x80]
test edi, edi
je 0x4d0b7f
mov edx, dword [eax + 4]
cmp edx, 5
jb 0x4d181a
mov eax, dword [eax]
movzx ecx, byte [eax + 4]
cmp cl, 4
jb 0x4d180e
add cl, 0xfc
mov byte [eax + 4], cl
lea eax, [esp + 0x88]
cmp dword [esp + 0x14], esi
movsd xmm0, qword [eax - 4]
movsd xmm1, qword [eax + 4]
movsd qword [esp + 0x290], xmm1
movsd qword [esp + 0x288], xmm0
ja 0x4d0bc1
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
call eax
add esp, 0xc
test edi, edi
je 0x4d0312
mov eax, dword [ebx]
cmp eax, 4
je 0x4d02e7
cmp eax, 3
je 0x4d02ce
cmp eax, 1
je 0x4d0bef
test eax, eax
je 0x4d02ce
jmp 0x4d02e7
mov eax, dword [esp + 4]
cmp dword [eax + 0x7c], 0
je 0x4d02e7
mov eax, dword [esp + 4]
push dword [eax + 0x78]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
jmp 0x4d02e7
test esi, esi
je 0x4d0cd8
xor ecx, ecx
cmp esi, 1
jne 0x4d0cdb
mov edx, dword [esp + 0xc]
cmp dword [edx + 4], 0
jne 0x4d0cdb
mov ecx, dword [edi + 0x7c]
mov edx, dword [esp + 0xc]
sub ecx, dword [edx]
mov edx, 0
cmovb ecx, edx
jmp 0x4d0cdb
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, ebx
mov ecx, dword [ecx]
sub eax, edx
add ecx, edx
mov edx, dword [esp + 0x44]
mov edx, dword [edx + 0x10]
push eax
push ecx
push dword [ebp + 8]
push edi
lea eax, [esp + 0x90]
push eax
call edx
add esp, 0x14
movzx eax, byte [esp + 0x80]
cmp al, 5
je 0x4d176c
mov esi, dword [esp + 0x84]
cmp al, 4
jne 0x4d1770
mov ecx, dword [esp + 0x28]
mov eax, 0
mov edi, dword [esp + 4]
sub ebx, ecx
cmovb ebx, eax
mov eax, dword [esp + 0x284]
cmp ebx, esi
jb 0x4d182e
mov ebx, dword [esp + 0x10]
add ecx, esi
mov dword [esp + 0x280], esi
adc eax, 0
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xbc], eax
jmp 0x4d0316
mov ecx, dword [edi + 0x7c]
mov edx, dword [edi + 0xac]
xor esi, esi
sub edx, dword [edi + 0xb8]
cmovb edx, esi
cmp dword [edi + 0xbc], 0
cmovne edx, esi
cmp ecx, eax
cmovb eax, ecx
or eax, edx
je 0x4d1505
mov ebx, dword [edi + 0xd4]
mov esi, dword [edi + 0xd0]
mov eax, dword [ebx + 0x1c]
push esi
call eax
add esp, 4
test al, al
je 0x4d1332
mov dword [esp + 0x14], esi
cmp dword [edi + 0xbc], 0
mov eax, dword [edi + 0xac]
mov esi, dword [edi + 0xb8]
lea edi, [esp + 0x80]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 1
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 1
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 1
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 1
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 1
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 1
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 1
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 1
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 1
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 1
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 1
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 1
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 1
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 1
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 1
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 1
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 1
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 1
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 1
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 1
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 1
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 1
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 1
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 1
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 1
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 1
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 1
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 1
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 1
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 1
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 1
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 1
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 1
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 1
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1ec], 1
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 1
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], 1
mov dword [esp + 0x200], 0
mov dword [esp + 0x204], 1
mov dword [esp + 0x208], 0
mov dword [esp + 0x20c], 1
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 1
mov dword [esp + 0x218], 0
mov dword [esp + 0x21c], 1
mov dword [esp + 0x220], 0
mov dword [esp + 0x224], 1
mov dword [esp + 0x228], 0
mov dword [esp + 0x22c], 1
mov dword [esp + 0x230], 0
mov dword [esp + 0x234], 1
mov dword [esp + 0x238], 0
mov dword [esp + 0x23c], 1
mov dword [esp + 0x240], 0
mov dword [esp + 0x244], 1
mov dword [esp + 0x248], 0
mov dword [esp + 0x24c], 1
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 1
mov dword [esp + 0x258], 0
mov dword [esp + 0x25c], 1
mov dword [esp + 0x260], 0
mov dword [esp + 0x264], 1
mov dword [esp + 0x268], 0
mov dword [esp + 0x26c], 1
mov dword [esp + 0x270], 0
mov dword [esp + 0x274], 1
mov dword [esp + 0x278], 0
mov dword [esp + 0x27c], 1
sete cl
sub eax, esi
seta ch
xor edx, edx
test cl, ch
mov ecx, 0
je 0x4d12f1
mov ecx, dword [esp + 0x2c]
lea edi, [esp + 0x88]
mov dword [esp + 0x80], eax
add esi, dword [ecx]
mov ecx, 1
mov dword [esp + 0x84], esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], edi
mov edi, dword [eax]
cmp edi, 2
je 0x4d139d
cmp edi, 1
jne 0x4d1396
mov eax, dword [esp + 0xc]
cmp dword [eax + 4], 0
jne 0x4d139d
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [esp + 0xc]
sub edx, dword [eax]
mov eax, 0
cmovb edx, eax
jmp 0x4d139d
cmp dword [edi + 0xbc], 0
mov ecx, dword [edi + 0xac]
mov eax, dword [edi + 0xb8]
sete dl
sub ecx, eax
seta dh
test dl, dh
je 0x4d135c
mov edx, dword [esp + 0x2c]
add eax, dword [edx]
jmp 0x4d1462
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, 2
je 0x4d1448
cmp eax, 1
jne 0x4d1451
mov edx, dword [edi + 0x7c]
mov eax, dword [edi + 0x80]
cmp eax, edx
cmovae eax, edx
cmp dword [edi + 0x84], 0
cmovne eax, edx
sub edx, eax
add eax, dword [edi + 0x78]
jmp 0x4d1457
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
cmp edx, esi
cmovae edx, esi
test edx, edx
je 0x4d13e6
mov edx, 1
cmp edi, 2
je 0x4d13ea
cmp edi, 1
jne 0x4d13f3
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 4]
mov edi, dword [ecx + 0x7c]
mov eax, dword [ecx + 0x80]
cmp eax, edi
cmovae eax, edi
cmp dword [ecx + 0x84], 0
cmovne eax, edi
sub edi, eax
add eax, dword [ecx + 0x78]
mov ecx, dword [esp + 0x44]
jmp 0x4d13fd
xor edx, edx
jmp 0x4d140b
xor edi, edi
mov eax, 1
jmp 0x4d13fd
mov edi, dword [esp + 4]
mov eax, dword [edi + 0x78]
mov edi, dword [edi + 0x7c]
cmp edi, esi
cmovb esi, edi
mov edi, dword [esp + 0x28]
mov dword [edi], esi
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x20]
add edx, ecx
push edx
lea ecx, [esp + 0x84]
push ecx
push dword [ebp + 8]
push dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
call eax
add esp, 0x14
mov edi, dword [esp + 4]
movzx eax, byte [esp + 0x30]
cmp al, 5
je 0x4d1797
mov esi, dword [esp + 0x34]
cmp al, 4
je 0x4d1497
jmp 0x4d1782
mov eax, 1
xor edx, edx
jmp 0x4d1457
mov eax, dword [edi + 0x78]
mov edx, dword [edi + 0x7c]
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx]
cmp edx, ecx
cmovb ecx, edx
mov edx, dword [ebx + 0x10]
push ecx
push eax
push dword [ebp + 8]
push esi
lea eax, [esp + 0x90]
push eax
call edx
add esp, 0x14
movzx eax, byte [esp + 0x80]
cmp al, 5
je 0x4d1797
mov esi, dword [esp + 0x84]
cmp al, 4
jne 0x4d1770
mov eax, edi
mov edi, dword [edi + 0xac]
mov ecx, dword [eax + 0xbc]
mov ebx, dword [eax + 0xb8]
mov eax, 0
test ecx, ecx
setne dl
sub edi, ebx
setbe dh
cmovb edi, eax
or dh, dl
cmp dh, 1
mov edx, esi
je 0x4d14e1
mov edx, esi
sub edx, edi
jbe 0x4d14f0
mov eax, dword [esp + 4]
add ebx, edi
adc ecx, 0
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0x10]
call sym.__LT__RF_mut_u20_T_u20_as_u20_bytes..buf..buf_impl..Buf_GT_::advance::ha40ab35c407e2b6c
mov edi, dword [esp + 4]
jmp 0x4d1505
mov edi, dword [esp + 4]
add ebx, esi
adc ecx, 0
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ecx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x78], esi
jmp 0x4d0316
mov eax, dword [esp + 0x4c]
cmp esi, 4
je 0x4d161d
mov ecx, eax
mov eax, dword [eax + 0x10]
mov ebx, edi
movsd xmm1, qword [ecx + 8]
movsd xmm0, qword [ecx]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm0
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x18]
movsd xmm2, qword [eax]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [edi + 0x38]
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0x80], xmm2
cmp eax, 3
movsd qword [esp + 0x88], xmm1
je 0x4d15c3
cmp eax, 1
je 0x4d15a9
mov ebx, dword [esp + 4]
test eax, eax
jne 0x4d15c3
mov eax, dword [ebx + 0x3c]
lea edi, [ebx + 0x3c]
lea ecx, [ebx + 0x48]
mov eax, dword [eax + 0x10]
push dword [ebx + 0x44]
push dword [ebx + 0x40]
push ecx
call eax
add esp, 0xc
jmp 0x4d15c3
mov ebx, dword [esp + 4]
cmp dword [ebx + 0x44], 0
je 0x4d15c3
push dword [ebx + 0x40]
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
movsd xmm1, qword [esp + 0x38]
mov dword [ebx + 0x38], esi
movsd xmm0, qword [esp + 0x30]
mov eax, dword [esp + 0x40]
movsd xmm3, qword [esp + 0x80]
movsd xmm2, qword [esp + 0x90]
mov edi, ebx
movsd qword [ebx + 0x44], xmm1
movsd xmm1, qword [esp + 0x88]
movsd qword [ebx + 0x3c], xmm0
mov dword [ebx + 0x4c], eax
movsd qword [ebx + 0x50], xmm3
movsd qword [ebx + 0x60], xmm2
movsd qword [ebx + 0x58], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [ebx + 0x68], xmm1
mov eax, dword [edi + 0xd4]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x80]
push dword [ebp + 8]
push dword [edi + 0xd0]
push ecx
call eax
add esp, 0xc
movzx eax, byte [esp + 0x80]
cmp eax, 5
je 0x4d16e1
cmp eax, 4
jne 0x4d16c9
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 8]
cmp edx, 2
mov byte [eax], 4
je 0x4d1764
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
test dl, 1
je 0x4d167e
mov edx, dword [ecx + 8]
dec edx
and edx, 0xfffffff8
lea eax, [eax + edx + 8]
mov ecx, dword [ecx + 0x34]
lea edx, [esp + 0x50]
push edx
push eax
call ecx
add esp, 8
mov ebx, dword [esp + 0x58]
cmp ebx, 2
je 0x4d1764
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
test bl, 1
je 0x4d16b9
mov edi, dword [esi + 8]
dec edi
and edi, 0xfffffff8
lea edx, [edx + edi + 8]
mov esi, dword [esi + 0x40]
push ecx
push eax
push edx
call esi
add esp, 0xc
jmp 0x4d174a
mov ecx, dword [esp + 0x81]
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 8]
mov dword [esi + 4], edx
mov dword [esi + 1], ecx
mov ecx, dword [esp + 8]
mov byte [ecx], al
mov edx, dword [esp + 0x58]
cmp edx, 2
je 0x4d1764
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
test dl, 1
je 0x4d1708
mov edx, dword [ecx + 8]
dec edx
and edx, 0xfffffff8
lea eax, [eax + edx + 8]
mov ecx, dword [ecx + 0x34]
lea edx, [esp + 0x50]
push edx
push eax
call ecx
add esp, 8
mov ebx, dword [esp + 0x58]
cmp ebx, 2
je 0x4d1764
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
test bl, 1
je 0x4d173f
mov edi, dword [esi + 8]
dec edi
and edi, 0xfffffff8
lea edx, [edx + edi + 8]
mov esi, dword [esi + 0x40]
push ecx
push eax
push edx
call esi
add esp, 0xc
test ebx, ebx
je 0x4d1764
mov eax, dword [esp + 0x5c]
lock dec dword [eax]
jne 0x4d1764
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h19026b6b64bf7a00
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 5
jmp 0x4d179d
movzx ecx, byte [esp + 0x83]
movzx edx, word [esp + 0x81]
jmp 0x4d178c
movzx ecx, byte [esp + 0x33]
movzx edx, word [esp + 0x31]
mov byte [esp + 0x1a], cl
mov word [esp + 0x18], dx
jmp 0x4d179d
mov esi, dword [esp + 0x78]
mov al, 5
cmp al, 5
je 0x4d17b9
movzx ecx, byte [esp + 0x1a]
mov edx, dword [esp + 8]
movzx edi, word [esp + 0x18]
mov byte [edx + 3], cl
mov word [edx + 1], di
mov dword [edx + 4], esi
mov ecx, dword [esp + 8]
mov byte [ecx], al
mov edx, dword [esp + 0x58]
cmp edx, 2
jne 0x4d16f0
jmp 0x4d1764
mov edx, 0x3e
mov ecx, str.assertion_failed:_payload_len_be_0..5_.iter__.all_b_b__0_
push 0x5854c0
call sym.core::panicking::panic::hf6244c8fb5815825
add esp, 4
jmp 0x4d1837
mov ecx, 3
push 0x5854e0
call sym.core::slice::index::slice_end_index_len_fail::h31017dc9c470f2c8
add esp, 4
jmp 0x4d1837
mov ecx, 0x5a7174
call sym.core::panicking::panic_const::panic_const_add_overflow::hf3b41c4c75c49a6d
jmp 0x4d1837
mov ecx, 0x585470
jmp 0x4d1813
mov ecx, 0x585510
call sym.core::panicking::panic_const::panic_const_sub_overflow::h31f5191bdbee8bd5
jmp 0x4d1837
mov ecx, 4
push 0x585510
call sym.core::panicking::panic_bounds_check::hf1cd1614d6353f3c
add esp, 4
jmp 0x4d1837
mov ecx, esi
mov edx, ebx
call sym.bytes::panic_advance::h5b128d5d9ff883f1
ud2