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

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x4d5024
push rbp
mov rbp, rsp
sub rsp, 0xd0
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], rdi
test rdi, rdi
je 0x4d4b6f
jmp 0x4d4b8f
jmp 0x4d4b71
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x48], rax
add rsp, 0xd0
pop rbp
ret
cmp rdi, 1
je 0x4d4b97
jmp 0x4d4be6
jmp 0x4d4b99
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xe0]
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rcx
mov rdx, qword [rsp + 0xf0]
movzx edx, byte [rdx]
mov byte [rsp + 0x1e], dl
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x98], rcx
dec rcx
mov qword [rsp + 0x70], rcx
jmp 0x4d4fcf
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x98], rdx
cmp rdi, rdx
je 0x4d4bfd
jmp 0x4d4c5d
jmp 0x4d4c00
cmp qword [rsp + 0xe8], rdi
je 0x4d4c0c
jmp 0x4d4c42
mov rbx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xf0]
mov rcx, rdi
nop
call fcn.00403380
test al, al
jne 0x4d4c2b
jmp 0x4d4c3f
mov qword [rsp + 0x48], 0
xor eax, eax
add rsp, 0xd0
pop rbp
ret
nop
jmp 0x4d4c44
jmp 0x4d4c44
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0xd0
pop rbp
ret
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x90], rdx
cmp rdi, rdx
jg 0x4d4c74
jmp 0x4d4c8f
jmp 0x4d4c76
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0xd0
pop rbp
ret
jmp 0x4d4c91
mov rdx, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xf8]
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], rsi
mov dword [rsp + 0x3c], 0
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x90], rdx
dec rdx
mov qword [rsp + 0x68], rdx
jmp 0x4d4cd3
cmp qword [rsp + 0x68], 0
jge 0x4d4cdd
jmp 0x4d4d06
mov edx, dword [rsp + 0x3c]
imul edx, edx, 0x1000193
mov rsi, qword [rsp + 0xb0]
add rsi, qword [rsp + 0x68]
movzx esi, byte [rsi]
add edx, esi
mov dword [rsp + 0x3c], edx
jmp 0x4d4cff
dec qword [rsp + 0x68]
jmp 0x4d4cd3
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x28], 0x1000193
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rdx
jmp 0x4d4d25
cmp qword [rsp + 0x60], 0
jg 0x4d4d2f
jmp 0x4d4d71
mov rdx, qword [rsp + 0x60]
bt edx, 0
jb 0x4d4d3c
jmp 0x4d4d4d
mov edx, dword [rsp + 0x28]
mov esi, dword [rsp + 0x2c]
imul esi, edx
mov dword [rsp + 0x2c], esi
jmp 0x4d4d4f
jmp 0x4d4d4f
mov edx, dword [rsp + 0x28]
mov esi, dword [rsp + 0x28]
imul esi, edx
mov dword [rsp + 0x28], esi
nop
jmp 0x4d4d62
mov rdx, qword [rsp + 0x60]
sar rdx, 1
mov qword [rsp + 0x60], rdx
jmp 0x4d4d25
mov edx, dword [rsp + 0x3c]
mov dword [rsp + 0x24], edx
mov esi, dword [rsp + 0x2c]
mov dword [rsp + 0x20], esi
jmp 0x4d4d83
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x38], esi
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x90], rdx
mov rsi, qword [rsp + 0x58]
sub rdx, rsi
mov qword [rsp + 0x88], rdx
mov dword [rsp + 0x34], 0
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x90], rdx
dec rdx
mov qword [rsp + 0x80], rdx
jmp 0x4d4dd8
mov rdx, qword [rsp + 0x80]
cmp qword [rsp + 0x88], rdx
jle 0x4d4dec
jmp 0x4d4e1b
mov edx, dword [rsp + 0x34]
imul edx, edx, 0x1000193
mov rsi, qword [rsp + 0xe0]
add rsi, qword [rsp + 0x80]
movzx esi, byte [rsi]
add edx, esi
mov dword [rsp + 0x34], edx
jmp 0x4d4e11
dec qword [rsp + 0x80]
jmp 0x4d4dd8
mov edx, dword [rsp + 0x34]
cmp dword [rsp + 0x30], edx
sete byte [rsp + 0x1f]
je 0x4d4e2c
jmp 0x4d4e91
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xe8]
sub rcx, rax
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rcx
cmp qword [rsp + 0xf8], rcx
sete dl
je 0x4d4e73
jmp 0x4d4e87
mov rbx, qword [rsp + 0xf0]
nop dword [rax + rax]
call fcn.00403380
jmp 0x4d4e8b
mov eax, edx
jmp 0x4d4e8b
mov byte [rsp + 0x1f], al
jmp 0x4d4e93
jmp 0x4d4e93
cmp byte [rsp + 0x1f], 0
jne 0x4d4e9c
jmp 0x4d4eb2
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x48], rax
add rsp, 0xd0
pop rbp
ret
mov rdx, qword [rsp + 0x88]
dec rdx
mov qword [rsp + 0x78], rdx
jmp 0x4d4ec4
cmp qword [rsp + 0x78], 0
jge 0x4d4ed1
jmp 0x4d4fb6
mov edx, dword [rsp + 0x34]
imul edx, edx, 0x1000193
mov dword [rsp + 0x34], edx
mov rsi, qword [rsp + 0xe0]
add rsi, qword [rsp + 0x78]
movzx esi, byte [rsi]
add edx, esi
mov dword [rsp + 0x34], edx
mov rsi, qword [rsp + 0x78]
add rsi, qword [rsp + 0x58]
add rsi, qword [rsp + 0xe0]
movzx esi, byte [rsi]
mov edi, dword [rsp + 0x38]
imul edi, esi
sub edx, edi
mov dword [rsp + 0x34], edx
cmp dword [rsp + 0x30], edx
sete byte [rsp + 0x1f]
je 0x4d4f24
jmp 0x4d4f8c
mov rax, qword [rsp + 0x78]
add rax, qword [rsp + 0x58]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x78]
sub rax, rdx
mov rcx, rax
neg rax
sar rax, 0x3f
and rax, rdx
add rax, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rcx
cmp qword [rsp + 0xf8], rcx
sete dl
je 0x4d4f72
jmp 0x4d4f82
mov rbx, qword [rsp + 0xf0]
call fcn.00403380
nop
jmp 0x4d4f86
mov eax, edx
jmp 0x4d4f86
mov byte [rsp + 0x1f], al
jmp 0x4d4f8e
jmp 0x4d4f8e
cmp byte [rsp + 0x1f], 0
jne 0x4d4f97
jmp 0x4d4faa
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
add rsp, 0xd0
pop rbp
ret
jmp 0x4d4fac
dec qword [rsp + 0x78]
jmp 0x4d4ec4
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0xd0
pop rbp
ret
cmp qword [rsp + 0x70], 0
jge 0x4d4fd9
jmp 0x4d5006
mov rcx, qword [rsp + 0xa0]
add rcx, qword [rsp + 0x70]
movzx ecx, byte [rcx]
cmp byte [rsp + 0x1e], cl
je 0x4d4ff1
jmp 0x4d4ffd
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x50], rcx
jmp 0x4d5011
jmp 0x4d4fff
dec qword [rsp + 0x70]
jmp 0x4d4fcf
mov qword [rsp + 0x50], 0xffffffffffffffff
jmp 0x4d5011
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
add rsp, 0xd0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00451b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004d4b20