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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x4e0
mov ebx, ecx
lea ecx, [esp + 0xf0]
push dword [ebp + 8]
call fcn.004ce5b0
add esp, 4
cmp dword [esp + 0xf0], 1
jne 0x4d32e7
mov eax, dword [esp + 0x11c]
movsd xmm0, qword [esp + 0x114]
movsd xmm1, qword [esp + 0x10c]
movsd xmm2, qword [esp + 0x104]
movsd xmm3, qword [esp + 0xf4]
movsd xmm4, qword [esp + 0xfc]
mov dword [esp + 0x268], eax
movsd qword [esp + 0x260], xmm0
movsd qword [esp + 0x258], xmm1
movsd qword [esp + 0x250], xmm2
movsd qword [esp + 0x248], xmm4
movsd qword [esp + 0x240], xmm3
mov dword [ebx + 0x30], eax
movsd qword [ebx + 0x28], xmm0
movsd qword [ebx + 0x20], xmm1
movsd qword [ebx + 0x18], xmm2
movsd qword [ebx + 0x10], xmm4
movsd qword [ebx + 8], xmm3
mov dword [ebx + 4], 0xe
mov dword [ebx], 1
jmp 0x4d3f8b
lea eax, [esp + 0xf8]
lea esi, [esp + 0x244]
push 0x148
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x390]
push 0x148
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x3b8]
cmp eax, 4
jbe 0x4d3336
mov edx, dword [esp + 0x394]
mov eax, dword [esp + 0x398]
jmp 0x4d333d
lea edx, [esp + 0x398]
lea eax, [edx + eax*8]
mov dword [esp + 0x118], 0
mov dword [esp + 0xf0], 0
lea ecx, [esp + 0xf0]
push eax
call fcn.005b0d70
add esp, 4
movsd xmm1, qword [esp + 0x110]
movsd xmm2, qword [esp + 0x108]
mov eax, dword [esp + 0x3e8]
movsd xmm0, qword [esp + 0x118]
movsd qword [esp + 0xc8], xmm1
movsd xmm1, qword [esp + 0x100]
movsd qword [esp + 0xc0], xmm2
movsd xmm2, qword [esp + 0xf0]
cmp eax, 4
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0xb8], xmm1
movsd xmm1, qword [esp + 0xf8]
movsd qword [esp + 0xa8], xmm2
movsd qword [esp + 0xb0], xmm1
jbe 0x4d33ee
mov edx, dword [esp + 0x3c4]
mov eax, dword [esp + 0x3c8]
jmp 0x4d33f5
lea edx, [esp + 0x3c8]
lea eax, [edx + eax*8]
mov dword [esp + 0x118], 0
mov dword [esp + 0xf0], 0
lea ecx, [esp + 0xf0]
push eax
call fcn.005b0d70
add esp, 4
movsd xmm1, qword [esp + 0x110]
movsd xmm2, qword [esp + 0x108]
movsd xmm0, qword [esp + 0x118]
lea eax, [esp + 0x40]
lea ecx, [esp + 0xf0]
lea edx, [esp + 0xa8]
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [esp + 0x100]
movsd qword [esp + 0x58], xmm2
movsd xmm2, qword [esp + 0xf0]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esp + 0xf8]
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x48], xmm1
push eax
call fcn.005ab420
add esp, 4
cmp dword [esp + 0xf0], 1
je 0x4d40bd
lea edx, [esp + 0x240]
lea esi, [esp + 0xf8]
mov ecx, 0x18
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 4]
call fcn.005ab6f0
lea edx, [esp + 0x270]
lea ecx, [esp + 0x30]
call fcn.005ab6f0
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
lea ecx, [eax + edx]
inc edx
dec eax
mov dword [esp], ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp edx, 1
je 0x4d351f
cmp byte [eax + 1], 0
lea esi, [eax + 1]
lea ecx, [edx - 1]
jne 0x4d350a
cmp edx, 2
mov eax, esi
mov edx, ecx
jne 0x4d34f0
cmp ecx, 0xfffffff
ja 0x4d374f
mov dword [esp + 0x2c], ebx
mov dword [esp], esi
jmp 0x4d3525
mov dword [esp + 0x2c], ebx
xor ecx, ecx
mov esi, dword [esp]
mov edx, ecx
mov edi, dword [esp + 0x38]
mov eax, ecx
shr eax, 0x18
mov dword [esp + 0x10], eax
shld edx, esi, 8
shr esi, 0x10
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x24], edx
lea edx, [esi + edi]
inc edi
mov dword [esp + 0xec], edx
lea edx, [esi - 1]
nop dword [eax + eax]
cmp edi, 1
je 0x4d35aa
cmp byte [edx + 1], 0
lea ebx, [edx + 1]
lea eax, [edi - 1]
jne 0x4d357a
cmp edi, 2
mov edx, ebx
mov edi, eax
jne 0x4d3560
cmp eax, 0x10000000
jb 0x4d35b3
cmp dword [esp + 0x34], 0
je 0x4d3596
push esi
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 8], 0
mov ebx, dword [esp + 0x2c]
jne 0x4d376e
jmp 0x4d377f
mov ebx, dword [esp + 0xec]
xor eax, eax
mov edx, dword [esp]
lea edi, [esp + 0x100]
mov byte [esp + 0x40], dl
mov byte [esp + 0x41], dh
mov edx, dword [esp + 0x28]
mov byte [esp + 0x42], dl
mov edx, dword [esp + 0x10]
mov byte [esp + 0x47], dl
mov edx, dword [esp + 0x24]
mov dword [esp + 0x43], edx
mov dword [esp + 0x48], ecx
mov ecx, eax
mov edx, eax
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bh
shld ecx, ebx, 8
shr ebx, 0x10
shr edx, 0x18
mov byte [esp + 0x4e], bl
mov dword [esp + 0x4f], ecx
mov byte [esp + 0x53], dl
mov dword [esp + 0x54], eax
mov eax, dword [0x6dd4e0]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], eax
mov dword [esp], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x688ac4
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0x688ac4
push eax
lea eax, [esp + 0xf4]
push eax
call dword [0x688ad0]
add esp, 8
mov esi, dword [esp + 0xf4]
cmp dword [esp + 0xf0], 1
jne 0x4d368e
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ebx, 1
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
jmp 0x4d36a1
xor ebx, ebx
cmp esi, 0x10000000
mov eax, 5
setae bl
cmovae esi, eax
movsd xmm0, qword [esp + 0xa8]
movsd xmm1, qword [esp + 0xb0]
mov eax, dword [esp + 0x84]
movsd qword [esp + 0x90], xmm1
movsd qword [esp + 0x88], xmm0
push dword [esp + 0x80]
lea ecx, [esp + 0xf4]
push ecx
call dword [eax + 0xc]
add esp, 8
mov eax, dword [esp + 0xf4]
cmp dword [esp + 0xf0], 1
jne 0x4d3719
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ecx, 1
mov esi, eax
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
jmp 0x4d37ff
test ebx, ebx
je 0x4d37dc
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
mov ecx, 1
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
jmp 0x4d37ff
cmp dword [esp + 0x34], 0
je 0x4d3767
push dword [esp + 0x30]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 8], 0
je 0x4d377f
push dword [esp + 4]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
lea ecx, [esp + 0x390]
movsd qword [ebx + 0x24], xmm1
movsd qword [ebx + 0x1c], xmm0
mov dword [ebx + 8], 8
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0x102
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 4], 0xe
mov dword [ebx], 1
call fcn.004d2290
jmp 0x4d3f3d
lea edx, [esi + eax]
mov edi, 5
cmp edx, 0x10000000
setae cl
cmovae edx, edi
add esi, eax
setb al
cmovb edx, edi
or al, cl
mov esi, edx
movzx ecx, al
test ecx, ecx
jne 0x4d4065
lea ecx, [esp + 0xf0]
mov edx, esi
call fcn.0046a780
cmp dword [esp + 0xf0], 1
je 0x4d4065
mov eax, dword [esp + 0xf4]
mov edx, 5
lea ebx, [eax + esi]
cmp ebx, 0x10000000
setae cl
cmovae ebx, edx
add eax, esi
setb al
cmovb ebx, edx
or al, cl
jne 0x4d4065
xor eax, eax
test ebx, ebx
mov edx, 0
jne 0x4d38f3
sub eax, edx
cmp eax, ebx
jb 0x4d3914
mov eax, dword [esp + 0x14]
test ebx, ebx
mov dword [esp], eax
je 0x4d394d
add eax, edx
cmp ebx, 8
jae 0x4d3884
mov esi, ebx
jmp 0x4d3940
xor ecx, ecx
cmp ebx, 0x20
jb 0x4d38bc
mov esi, dword [esp]
mov ecx, ebx
xorps xmm0, xmm0
and ecx, 0xffffffe0
mov edi, ecx
lea esi, [edx + esi + 0x10]
nop dword [eax]
movups xmmword [esi - 0x10], xmm0
movups xmmword [esi], xmm0
add esi, 0x20
add edi, 0xffffffe0
jne 0x4d38a0
cmp ebx, ecx
je 0x4d3947
test bl, 0x18
je 0x4d3936
mov edi, ebx
mov esi, ebx
xorps xmm0, xmm0
and edi, 0xfffffff8
and esi, 7
mov dword [esp + 0x10], edi
add eax, edi
lea edi, [edx + ecx]
add edi, dword [esp]
sub ecx, dword [esp + 0x10]
nop dword [eax]
movlps qword [edi], xmm0
add edi, 8
add ecx, 8
jne 0x4d38e0
cmp ebx, dword [esp + 0x10]
jne 0x4d3940
jmp 0x4d3947
xor edx, edx
lea ecx, [esp + 0x14]
push ebx
call fcn.00556540
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, edx
cmp eax, ebx
jae 0x4d3867
lea ecx, [esp + 0x14]
push ebx
call fcn.00556540
add esp, 4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test ebx, ebx
mov dword [esp], eax
jne 0x4d3876
jmp 0x4d394d
mov esi, ebx
add eax, ecx
and esi, 0x1f
nop dword [eax]
mov byte [eax], 0
inc eax
dec esi
jne 0x4d3940
add edx, ebx
mov dword [esp + 0x1c], edx
mov eax, dword [esp]
lea ecx, [esp + 0xf0]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], 0
lea edx, [esp + 0x88]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xac], 0x688ac4
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xb4], 0x688ac4
push eax
call fcn.00469cd0
add esp, 4
cmp dword [esp + 0x10c], 2
jne 0x4d4065
cmp dword [esp + 0x88], 0
je 0x4d4065
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0x8c]
ja 0x4d4065
cmp ebx, eax
jne 0x4d4065
cmp ebx, 0x10000000
jae 0x4d4065
mov ebx, dword [esp]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xf0]
mov edx, ebx
push edi
call fcn.005541a0
add esp, 4
mov eax, dword [esp + 0xf0]
cmp eax, 1
je 0x4d413a
test eax, eax
jne 0x4d407c
test ebx, ebx
je 0x4d407c
cmp dword [esp + 0x34], 0
je 0x4d3a4c
push dword [esp + 0x30]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
and ebx, 0xffffff00
cmp dword [esp + 8], 0
je 0x4d3a6a
push dword [esp + 4]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [0x620c94]
movzx eax, byte [esp]
mov ecx, dword [0x6dd4e0]
mov dword [esp + 0x10], esi
lea esi, [esp + 0xf0]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], str._cargo_registry_src_github.com_1ecc6299db9ec823_utfx_0.1.0_src_ucstr.rs
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x50], 4
movsd qword [esp + 0x9b], xmm0
movsd xmm0, qword [0x620c8c]
or ebx, eax
mov dword [esp + 4], ecx
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov ecx, esi
mov dword [esp + 0x28], ebx
mov edx, ebx
movsd qword [esp + 0x93], xmm0
movsd xmm0, qword [0x620c84]
movsd qword [esp + 0x8b], xmm0
movsd xmm0, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x90]
movsd xmm1, qword [esp + 0x98]
mov eax, dword [esp + 0x9f]
movsd qword [esp + 0x61], xmm1
movsd qword [esp + 0x51], xmm0
movsd qword [esp + 0x59], xmm2
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
push edi
call fcn.004691a0
add esp, 4
cmp dword [esp + 0xf0], 1
je 0x4d408d
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xfc]
mov edi, dword [esp + 0x100]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x40]
lea eax, [esp + 0x14]
mov dword [esp + 0xd8], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x688bec
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x688c0c
push edx
push esi
call dword [0x688bf8]
add esp, 8
mov ebx, dword [esp + 0xf4]
cmp dword [esp + 0xf0], 1
jne 0x4d3be7
lea edi, [esp + 0x100]
mov esi, 1
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
jmp 0x4d3c03
xor eax, eax
cmp ebx, 0x10000000
mov ecx, 5
lea edi, [esp + 0x100]
setae al
cmovae ebx, ecx
mov esi, eax
movsd xmm0, qword [esp + 0xa8]
movsd xmm1, qword [esp + 0xb0]
mov eax, dword [esp + 0x3c]
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm0
push dword [esp + 0x38]
lea ecx, [esp + 0xf4]
push ecx
call dword [eax + 0xc]
add esp, 8
mov eax, dword [esp + 0xf4]
cmp dword [esp + 0xf0], 1
jne 0x4d3c6f
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ecx, 1
mov ebx, eax
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
jmp 0x4d3cbe
test esi, esi
je 0x4d3c9b
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
mov ecx, 1
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
jmp 0x4d3cbe
lea edx, [ebx + eax]
mov esi, 5
cmp edx, 0x10000000
setae cl
cmovae edx, esi
add ebx, eax
setb al
cmovb edx, esi
or al, cl
mov ebx, edx
movzx ecx, al
test ecx, ecx
jne 0x4d408d
lea ecx, [esp + 0xf0]
mov edx, ebx
call fcn.0046a780
mov esi, dword [esp + 0xf4]
cmp dword [esp + 0xf0], 1
mov eax, 1
jne 0x4d3cee
mov ebx, esi
jmp 0x4d3d11
lea ecx, [esi + ebx]
mov edx, 5
cmp ecx, 0x10000000
setae al
cmovae ecx, edx
add esi, ebx
setb ah
cmovb ecx, edx
or ah, al
mov ebx, ecx
movzx eax, ah
test eax, eax
jne 0x4d408d
test ebx, ebx
jne 0x4d3f93
mov eax, dword [esp + 4]
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x6c]
lea esi, [esp + 0xf0]
mov dword [esp], eax
mov dword [esp + 0x1c], 0
mov ecx, esi
push dword [esp + 0x70]
call fcn.004691a0
add esp, 4
cmp dword [esp + 0xf0], 1
jne 0x4d3db1
mov eax, dword [esi + 0x24]
movsd xmm0, qword [esi + 0x1c]
movsd xmm1, qword [esi + 0x14]
movsd xmm2, qword [esi + 4]
movsd xmm3, qword [esi + 0xc]
mov dword [esp + 0xc8], eax
movsd qword [esp + 0xc0], xmm0
movsd qword [esp + 0xf0], xmm2
movsd qword [esp + 0xf8], xmm3
movsd qword [esp + 0x100], xmm1
movsd qword [esp + 0x108], xmm0
mov dword [esp + 0x110], eax
jmp 0x4d3e23
movsd xmm0, qword [esi + 4]
movsd xmm1, qword [esi + 0xc]
lea eax, [esp + 0x40]
lea ecx, [esp + 0xf0]
lea edx, [esp + 0x14]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xdc], 0x688bec
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0xe4], 0x688c0c
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x80], xmm1
push eax
call fcn.00469cd0
add esp, 4
cmp dword [esp + 0x10c], 2
mov esi, dword [esp]
jne 0x4d408d
cmp dword [esp + 0x14], 0
je 0x4d408d
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x18]
ja 0x4d408d
cmp ebx, eax
jne 0x4d408d
cmp ebx, 0x10000000
jae 0x4d408d
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea ecx, [esp + 0xf0]
mov edx, esi
push ebx
call fcn.005bf040
add esp, 4
mov eax, dword [esp + 0xf0]
cmp eax, 1
je 0x4d4148
test eax, eax
jne 0x4d40a4
test esi, esi
je 0x4d40a4
cmp dword [esp + 0x10], 0
je 0x4d3eb3
push dword [esp + 0x28]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
test ebx, ebx
js 0x4d4156
mov dword [esp + 0x24], edi
je 0x4d3ef5
mov eax, dword [0x6f1130]
test eax, eax
jne 0x4d3ed8
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x4d3ee7
mov dword [0x6f1130], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x4d3efa
mov ecx, ebx
mov edx, 1
call fcn.0040a640
ud2
mov esi, 1
push ebx
mov edi, dword [esp + 4]
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x390]
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax], 0
call fcn.004d2290
cmp dword [esp + 0x24], 0
je 0x4d3f3d
push edi
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0x268]
cmp eax, 5
jb 0x4d3f64
test eax, 0x1fffffff
je 0x4d3f64
push dword [esp + 0x244]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0x298]
cmp eax, 5
jb 0x4d3f8b
test eax, 0x1fffffff
je 0x4d3f8b
push dword [esp + 0x274]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
lea ecx, [esp + 4]
push ebx
call fcn.00556540
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub eax, edx
cmp eax, ebx
jb 0x4d3fc6
mov esi, dword [esp + 4]
lea eax, [esi + edx]
cmp ebx, 8
mov dword [esp], esi
jae 0x4d3fe6
mov esi, ebx
jmp 0x4d4050
lea ecx, [esp + 4]
push ebx
call fcn.00556540
add esp, 4
mov esi, dword [esp + 4]
mov edx, dword [esp + 0xc]
lea eax, [esi + edx]
cmp ebx, 8
mov dword [esp], esi
jb 0x4d3fbf
xor ecx, ecx
cmp ebx, 0x20
jb 0x4d4013
mov ecx, ebx
lea esi, [edx + esi + 0x10]
xorps xmm0, xmm0
and ecx, 0xffffffe0
mov edi, ecx
movups xmmword [esi - 0x10], xmm0
movups xmmword [esi], xmm0
add esi, 0x20
add edi, 0xffffffe0
jne 0x4d3ffb
cmp ebx, ecx
je 0x4d4057
test bl, 0x18
je 0x4d4045
mov edi, ebx
and ebx, 0xfffffff8
xorps xmm0, xmm0
mov esi, edi
mov dword [esp + 0x24], edi
lea edi, [edx + ecx]
add eax, ebx
sub ecx, ebx
add edi, dword [esp]
and esi, 7
movlps qword [edi], xmm0
add edi, 8
add ecx, 8
jne 0x4d402e
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
mov ebx, ecx
jne 0x4d4050
jmp 0x4d4057
mov esi, ebx
add eax, ecx
and esi, 0x1f
nop dword [eax]
mov byte [eax], 0
inc eax
dec esi
jne 0x4d4050
mov eax, dword [esp]
add edx, ebx
mov dword [esp + 0xc], edx
jmp 0x4d3d27
cmp dword [esp + 0x18], 0
je 0x4d407c
push dword [esp]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
mov ecx, 0x688bca
mov edx, 0x12
push 0x688b3c
jmp 0x4d40b3
cmp dword [esp + 8], 0
je 0x4d40a4
push dword [esp]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
mov ecx, 0x688bca
mov edx, 0x12
push 0x688bdc
call fcn.0045d290
add esp, 4
ud2
movsd xmm1, qword [esp + 0x114]
movsd xmm2, qword [esp + 0x10c]
movsd xmm0, qword [esp + 0x11c]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [esp + 0x104]
movsd qword [esp + 0x58], xmm2
movsd xmm2, qword [esp + 0xf4]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esp + 0xfc]
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x48], xmm1
push 0x6d0d2c
push 0x6d0d1c
lea eax, [esp + 0x48]
push eax
call fcn.0045d480
add esp, 0xc
ud2
test esi, esi
je 0x4d407c
push ebx
jmp 0x4d406f
test edi, edi
je 0x4d40a4
push esi
jmp 0x4d4097
call fcn.0040a620
ud2