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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rdi, r9
mov r15, r8
mov rbx, rdx
mov r13, rcx
mov r14, qword [rsp + 0x168]
mov r12b, byte [rsp + 0x160]
lea rsi, [rsp + 0xa8]
mov rcx, rsi
mov rdx, r8
mov r8, r9
call fcn.004d4d14
mov eax, dword [rsi]
cmp eax, 0x23
je 0x4d14e6
mov qword [rsp + 0x70], rbx
mov rbx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xb8]
cmp eax, 0x2f
je 0x4d1328
cmp eax, 0x3f
je 0x4d1517
cmp eax, 0x5c
je 0x4d1328
cmp eax, 0x110000
jne 0x4d1533
cmp dword [r14 + 0x20], 0
je 0x4d1637
mov r8d, dword [r14 + 0x24]
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
lea r9, [0x005d2f20]
call fcn.004d41f6
mov r8, rdx
jmp 0x4d163f
mov qword [rsp + 0x80], r13
xor esi, esi
mov r13, rdi
lea rdi, [rsp + 0xa8]
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x88], r15
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb0], r13
mov rcx, rdi
call fcn.004d111f
cmp eax, 0x5c
je 0x4d136c
cmp eax, 0x2f
jne 0x4d1380
mov r15, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
inc esi
jmp 0x4d134a
cmp esi, 1
jbe 0x4d1551
mov byte [rsp + 0x6f], r12b
mov r12, qword [rsp + 0x70]
mov rbp, qword [r12 + 0x10]
test rbp, rbp
je 0x4d146e
lea rdi, [rsp + 0x90]
and qword [rdi], 0
mov qword [rdi + 8], 1
and qword [rdi + 0x10], 0
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0xf0], rax
lea rbx, [rsp + 0xa8]
mov rax, qword [rsp + 0x88]
mov qword [rbx], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 8], rax
mov rcx, rdi
xor edx, edx
call fcn.004cfb2b
mov byte [rbx + 0x10], 0
mov rcx, rbx
call fcn.004d111f
mov esi, eax
cmp eax, 0x2f
je 0x4d1417
cmp esi, 0x5c
je 0x4d1417
cmp esi, 0x110000
je 0x4d142b
mov byte [rsp + 0xb8], 1
jmp 0x4d1421
mov rcx, rdi
mov edx, esi
call fcn.004d1194
cmp esi, 0x2f
je 0x4d13f1
cmp esi, 0x5c
je 0x4d13f1
mov rsi, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
mov rcx, rsi
call fcn.004d41d9
mov ebx, eax
mov rcx, qword [rsp + 0x90]
mov rdx, rsi
call fcn.00443318
test bl, bl
mov r12, qword [rsp + 0x70]
je 0x4d146e
mov rcx, rbp
mov dl, 3
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x28]
mov ebx, dword [r14 + 0x28]
lea rsi, [r12 + 0x28]
lea r8d, [rbx + 1]
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
call fcn.004d4378
mov r8, rdx
mov rcx, rsi
mov rdx, rax
call fcn.004cfb42
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
call fcn.004d26b5
test rdx, rdx
je 0x4d1697
mov r9, rdx
lea rdx, [rsp + 0xa8]
mov ecx, 9
mov rdi, rdx
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
mov dword [rsp + 0x28], ebx
mov cl, byte [rsp + 0x6f]
mov byte [rsp + 0x20], cl
mov rcx, qword [rsp + 0x80]
mov r8, rax
jmp 0x4d16c7
lea rdx, [rsp + 0xa8]
mov ecx, 9
mov rax, rdi
mov rdi, rdx
mov rsi, rbx
rep movsq qword [rdi], qword [rsi]
mov qword [rsp + 0x20], rax
mov rcx, r13
mov r8, r14
mov r9, r15
call fcn.004d4240
jmp 0x4d1926
mov rsi, r15
cmp dword [r14 + 0x18], 0
je 0x4d16d1
lea rax, [r14 + 0x1c]
mov r15, qword [rsp + 0x70]
jmp 0x4d16e5
cmp dword [r14 + 0x18], 0
mov qword [rsp + 0x78], rdi
je 0x4d17c3
lea rax, [r14 + 0x1c]
mov rbx, qword [rsp + 0x70]
jmp 0x4d17d7
mov r15d, dword [r14 + 0x38]
mov r13d, r12d
mov r12, qword [rsp + 0x70]
lea rsi, [r12 + 0x28]
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
mov r8d, r15d
call fcn.004d4378
mov r8, rdx
mov rcx, rsi
mov rdx, rax
call fcn.004cfb42
mov rcx, rsi
mov edx, 0x2f
call fcn.004d1194
lea r8, [rsp + 0xa8]
mov byte [r8], 1
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbx
mov rcx, r12
mov edx, r13d
mov r9, r15
call fcn.004d3526
lea r8, [rsp + 0xa8]
mov ecx, 9
mov rdi, r8
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
mov r9d, dword [r14 + 0x28]
mov ecx, dword [r14 + 0x2c]
mov r10d, dword [r14 + 0x30]
mov r11d, dword [r14 + 0x34]
mov bl, byte [r14 + 0x50]
lea rsi, [rsp + 0x90]
mov byte [rsi + 0x10], bl
movups xmm0, xmmword [r14 + 0x40]
movaps xmmword [rsi], xmm0
movzx edi, word [r14 + 0x3c]
movzx ebx, word [r14 + 0x3e]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x48], bx
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x80]
mov rdx, r8
mov r8d, r13d
jmp 0x4d1921
mov rax, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
mov rsi, qword [rsp + 0x70]
lea rcx, [rsi + 0x28]
mov rdx, rax
call fcn.004cfb42
mov rax, qword [rsi + 0x38]
mov qword [r13 + 0x10], rax
movups xmm0, xmmword [rsi + 0x28]
movups xmmword [r13], xmm0
movups xmm0, xmmword [r14 + 0x40]
movups xmmword [r13 + 0x40], xmm0
mov al, byte [r14 + 0x50]
mov byte [r13 + 0x50], al
mov eax, dword [r14 + 0x38]
mov rcx, qword [r14 + 0x18]
mov qword [r13 + 0x18], rcx
and dword [r13 + 0x20], 0
movups xmm0, xmmword [r14 + 0x28]
movups xmmword [r13 + 0x28], xmm0
mov dword [r13 + 0x38], eax
jmp 0x4d17b6
lea rdx, [rsp + 0xa8]
mov ecx, 9
mov rdi, rdx
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
mov dword [rsp + 0x28], ebx
mov al, byte [rsp + 0x6f]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x80]
mov r8, r15
mov r9, r13
call fcn.004d2726
jmp 0x4d1926
cmp dword [r14 + 0x20], 0
mov r15, qword [rsp + 0x70]
je 0x4d193b
lea rax, [r14 + 0x24]
mov rbp, rdi
mov r8d, dword [rax]
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
call fcn.004d4378
mov r8, rdx
lea rbx, [r15 + 0x28]
mov rcx, rbx
mov rdx, rax
call fcn.004cfb42
mov edi, dword [r14 + 0x28]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rsi
lea rsi, [rsp + 0xa8]
mov rcx, rsi
mov rdx, r15
mov r8d, r12d
mov r9d, edi
call fcn.004d46c7
mov eax, dword [rsi]
cmp eax, 2
jne 0x4d176b
mov al, byte [rsp + 0xac]
mov byte [r13], al
mov dword [r13 + 0x18], 2
mov rcx, qword [r15 + 0x28]
mov rdx, qword [r15 + 0x30]
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.00443318
mov ecx, dword [rsp + 0xb4]
mov rdx, qword [rsp + 0xac]
mov r8, qword [rbx + 0x10]
mov qword [r13 + 0x10], r8
movups xmm0, xmmword [rbx]
movups xmmword [r13], xmm0
movups xmm0, xmmword [r14 + 0x40]
movups xmmword [r13 + 0x40], xmm0
mov r8b, byte [r14 + 0x50]
mov byte [r13 + 0x50], r8b
mov dword [r13 + 0x18], eax
mov qword [r13 + 0x1c], rdx
mov dword [r13 + 0x24], ecx
mov dword [r13 + 0x28], edi
movups xmm0, xmmword [r14 + 0x2c]
movups xmmword [r13 + 0x2c], xmm0
mov eax, dword [r14 + 0x3c]
mov dword [r13 + 0x3c], eax
jmp 0x4d1926
cmp dword [r14 + 0x20], 0
mov rbx, qword [rsp + 0x70]
je 0x4d194b
lea rax, [r14 + 0x24]
mov rbp, r15
mov r8d, dword [rax]
mov rcx, qword [r14 + 8]
mov rdx, qword [r14 + 0x10]
call fcn.004d4378
mov r8, rdx
lea rdi, [rbx + 0x28]
mov rcx, rdi
mov rdx, rax
call fcn.004cfb42
mov r15d, dword [r14 + 0x38]
mov rcx, rbx
mov edx, r12d
mov r8, r15
call fcn.004d4c6a
cmp qword [rbx + 0x38], r15
jne 0x4d1846
mov rcx, r14
call fcn.004d197f
mov rcx, rax
call fcn.004d0f89
cmp al, 2
jne 0x4d1839
mov rcx, rbp
mov rdx, qword [rsp + 0x78]
call fcn.004d510d
test al, al
jne 0x4d1846
mov rcx, rdi
mov edx, 0x2f
call fcn.004d1194
lea rsi, [rsp + 0xa8]
mov rcx, rsi
mov rdx, rbp
mov rdi, qword [rsp + 0x78]
mov r8, rdi
call fcn.004d4d14
cmp dword [rsi], 0x2f
jne 0x4d1881
movups xmm0, xmmword [rsp + 0xb0]
lea r8, [rsp + 0x90]
mov byte [r8], 1
movups xmmword [rsp + 0x20], xmm0
jmp 0x4d1897
lea r8, [rsp + 0x90]
mov byte [r8], 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
mov rcx, rbx
mov edx, r12d
mov r9, r15
call fcn.004d3526
lea r8, [rsp + 0xa8]
mov ecx, 9
mov rdi, r8
mov rsi, rbx
rep movsq qword [rdi], qword [rsi]
mov r9d, dword [r14 + 0x28]
mov ecx, dword [r14 + 0x2c]
mov r10d, dword [r14 + 0x30]
mov r11d, dword [r14 + 0x34]
mov bl, byte [r14 + 0x50]
lea rsi, [rsp + 0x90]
mov byte [rsi + 0x10], bl
movups xmm0, xmmword [r14 + 0x40]
movaps xmmword [rsi], xmm0
movzx edi, word [r14 + 0x3c]
movzx ebx, word [r14 + 0x3e]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x48], bx
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
mov rcx, r13
mov rdx, r8
mov r8d, r12d
call fcn.004d3c2a
nop
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, rdi
mov rax, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
jmp 0x4d16fb
mov rbp, r15
mov rax, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
jmp 0x4d17ed