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

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x4db1c4
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 + 0x70], rdi
test rdi, rdi
je 0x4dad0f
jmp 0x4dad2f
jmp 0x4dad11
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 0x4dad37
jmp 0x4dad86
jmp 0x4dad39
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xe0]
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], 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 + 0x58], rcx
jmp 0x4db16f
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x98], rdx
cmp rdi, rdx
je 0x4dad9d
jmp 0x4dadfd
jmp 0x4dada0
cmp qword [rsp + 0xe8], rdi
je 0x4dadac
jmp 0x4dade2
mov rbx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xf0]
mov rcx, rdi
nop
call fcn.00403380
test al, al
jne 0x4dadcb
jmp 0x4daddf
mov qword [rsp + 0x48], 0
xor eax, eax
add rsp, 0xd0
pop rbp
ret
nop
jmp 0x4dade4
jmp 0x4dade4
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 0x4dae14
jmp 0x4dae2f
jmp 0x4dae16
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0xd0
pop rbp
ret
jmp 0x4dae31
mov rdx, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xf8]
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], rsi
mov dword [rsp + 0x3c], 0
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rdx
dec rdx
mov qword [rsp + 0x88], rdx
jmp 0x4dae76
cmp qword [rsp + 0x88], 0
nop
jge 0x4dae84
jmp 0x4daeb3
mov edx, dword [rsp + 0x3c]
imul edx, edx, 0x1000193
mov rsi, qword [rsp + 0xa0]
add rsi, qword [rsp + 0x88]
movzx esi, byte [rsi]
add edx, esi
mov dword [rsp + 0x3c], edx
jmp 0x4daea9
dec qword [rsp + 0x88]
jmp 0x4dae76
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], 0x1000193
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rdx
jmp 0x4daed5
cmp qword [rsp + 0x80], 0
nop
jg 0x4daee4
jmp 0x4daf2d
mov rdx, qword [rsp + 0x80]
bt edx, 0
jb 0x4daef4
jmp 0x4daf05
mov edx, dword [rsp + 0x30]
mov esi, dword [rsp + 0x34]
imul esi, edx
mov dword [rsp + 0x34], esi
jmp 0x4daf07
jmp 0x4daf07
mov edx, dword [rsp + 0x30]
mov esi, dword [rsp + 0x30]
imul esi, edx
mov dword [rsp + 0x30], esi
jmp 0x4daf18
mov rdx, qword [rsp + 0x80]
sar rdx, 1
mov qword [rsp + 0x80], rdx
jmp 0x4daed5
mov edx, dword [rsp + 0x3c]
mov dword [rsp + 0x24], edx
mov esi, dword [rsp + 0x34]
mov dword [rsp + 0x20], esi
jmp 0x4daf3f
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x28], esi
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x90], rdx
mov rsi, qword [rsp + 0x70]
sub rdx, rsi
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x2c], 0
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x90], rdx
dec rdx
mov qword [rsp + 0x68], rdx
jmp 0x4daf8e
mov rdx, qword [rsp + 0x68]
cmp qword [rsp + 0x78], rdx
jle 0x4daf9c
jmp 0x4dafc5
mov edx, dword [rsp + 0x2c]
imul edx, edx, 0x1000193
mov rsi, qword [rsp + 0xe0]
add rsi, qword [rsp + 0x68]
movzx esi, byte [rsi]
add edx, esi
mov dword [rsp + 0x2c], edx
jmp 0x4dafbe
dec qword [rsp + 0x68]
jmp 0x4daf8e
mov edx, dword [rsp + 0x2c]
cmp dword [rsp + 0x38], edx
sete byte [rsp + 0x1f]
je 0x4dafd6
jmp 0x4db033
mov rax, qword [rsp + 0x78]
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 0x4db01a
jmp 0x4db029
mov rbx, qword [rsp + 0xf0]
call fcn.00403380
jmp 0x4db02d
mov eax, edx
jmp 0x4db02d
mov byte [rsp + 0x1f], al
jmp 0x4db035
jmp 0x4db035
cmp byte [rsp + 0x1f], 0
jne 0x4db03e
jmp 0x4db051
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
add rsp, 0xd0
pop rbp
ret
mov rdx, qword [rsp + 0x78]
dec rdx
mov qword [rsp + 0x60], rdx
nop
jmp 0x4db062
cmp qword [rsp + 0x60], 0
jge 0x4db06f
jmp 0x4db156
mov edx, dword [rsp + 0x2c]
imul edx, edx, 0x1000193
mov dword [rsp + 0x2c], edx
mov rsi, qword [rsp + 0xe0]
add rsi, qword [rsp + 0x60]
movzx esi, byte [rsi]
add edx, esi
mov dword [rsp + 0x2c], edx
mov rsi, qword [rsp + 0x60]
add rsi, qword [rsp + 0x70]
add rsi, qword [rsp + 0xe0]
movzx esi, byte [rsi]
mov edi, dword [rsp + 0x28]
imul edi, esi
sub edx, edi
mov dword [rsp + 0x2c], edx
cmp dword [rsp + 0x38], edx
sete byte [rsp + 0x1f]
nop
je 0x4db0c4
jmp 0x4db12c
mov rax, qword [rsp + 0x60]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x60]
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 0x4db112
jmp 0x4db122
mov rbx, qword [rsp + 0xf0]
call fcn.00403380
nop
jmp 0x4db126
mov eax, edx
jmp 0x4db126
mov byte [rsp + 0x1f], al
jmp 0x4db12e
jmp 0x4db12e
cmp byte [rsp + 0x1f], 0
jne 0x4db137
jmp 0x4db14a
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
add rsp, 0xd0
pop rbp
ret
jmp 0x4db14c
dec qword [rsp + 0x60]
jmp 0x4db062
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rax, 0xffffffffffffffff
add rsp, 0xd0
pop rbp
ret
cmp qword [rsp + 0x58], 0
jge 0x4db179
jmp 0x4db1a6
mov rcx, qword [rsp + 0xb0]
add rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx]
cmp byte [rsp + 0x1e], cl
je 0x4db191
jmp 0x4db19d
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x50], rcx
jmp 0x4db1b1
jmp 0x4db19f
dec qword [rsp + 0x58]
jmp 0x4db16f
mov qword [rsp + 0x50], 0xffffffffffffffff
jmp 0x4db1b1
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.0045dde0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004dacc0