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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 8]
cmp rax, qword [rcx + 0x10]
jbe 0x4d238e
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov rax, qword [rsp + 0x88]
mov qword [rsp], rax
call fcn.004a83e0
mov rax, qword [rsp + 0x90]
test byte [rax], al
lea rcx, [rax + 0x17]
mov qword [rsp], rcx
call fcn.004a82c0
mov rax, qword [rsp + 0x90]
movzx ecx, byte [rax + 0x17]
and ecx, 0x1f
cmp rcx, 0x13
jne 0x4d231a
mov qword [rsp], rax
lea rcx, [0x0054d4c0]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 1
call fcn.00444140
mov rax, qword [rsp + 0x90]
lea rcx, [rax + 0x14]
mov qword [rsp], rcx
call fcn.004a82c0
mov rax, qword [rsp + 0x90]
movzx ecx, byte [rax + 0x14]
test cl, 1
je 0x4d22fb
mov ecx, 0x48
mov qword [rsp + 0x48], rcx
lea rdx, [rax + 0x32]
mov qword [rsp], rdx
call fcn.004a82c0
mov rax, qword [rsp + 0x90]
movzx ecx, word [rax + 0x32]
and ecx, 0x7fff
test cx, cx
jne 0x4d21d7
xor eax, eax
xor ecx, ecx
mov rdx, qword [rsp + 0x98]
nop dword [rax]
cmp rdx, rax
jae 0x4d2305
mov qword [rsp + 0x58], rcx
lea rax, [rcx + rdx*8]
mov qword [rsp], rax
call fcn.004a82c0
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx + rax*8]
test rax, rax
je 0x4d21d1
lea rcx, [0x0059a7e0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rcx
call fcn.004a8400
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
xor ecx, ecx
xor eax, eax
jmp 0x4d2198
mov word [rsp + 0x3a], cx
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov qword [rsp + 0x68], rcx
mov qword [rsp], rcx
lea rdx, [rsp + 0x78]
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], 1
mov qword [rsp + 0x18], 1
call fcn.00444240
mov rax, qword [rsp + 0x90]
lea rcx, [rax + 0x30]
mov qword [rsp + 0x70], rcx
mov qword [rsp], rcx
call fcn.004a82c0
mov rax, qword [rsp + 0x90]
movzx ecx, word [rax + 0x30]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rsp + 0x70]
mov qword [rsp], rdx
call fcn.004a82c0
mov rax, qword [rsp + 0x90]
movzx ecx, word [rax + 0x30]
mov word [rsp + 0x3e], cx
mov rdx, qword [rsp + 0x70]
mov qword [rsp], rdx
call fcn.004a82c0
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x30]
mov rcx, qword [rsp + 0x68]
mov qword [rsp], rcx
lea rdx, [0x0055b6e0]
mov qword [rsp + 8], rdx
movzx edx, word [rsp + 0x3a]
add eax, edx
mov word [rsp + 0x3c], ax
movzx ebx, ax
mov qword [rsp + 0x10], rbx
call fcn.00444140
movzx eax, word [rsp + 0x3a]
movzx ecx, word [rsp + 0x3e]
add eax, ecx
movzx ecx, ax
movzx ebx, word [rsp + 0x3c]
movzx edx, bx
cmp rdx, rcx
jb 0x4d2315
mov rax, qword [rsp + 0x50]
cmp rax, rcx
ja 0x4d2310
mov rbx, rax
sub rax, rdx
sub rcx, rbx
shl rbx, 3
sar rax, 0x3f
and rbx, rax
mov rdx, qword [rsp + 0x68]
add rdx, rbx
mov rax, rcx
mov rcx, rdx
jmp 0x4d2155
mov ecx, 0x38
jmp 0x4d2124
mov rcx, rax
mov rax, rdx
call fcn.004a6fa0
call fcn.004a7100
call fcn.004a70e0
mov qword [rsp], rax
nop
call fcn.004ce4c0
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x10]
mov qword [rsp], 0
lea rdx, [0x00567822]
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], 0x1e
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rcx
call fcn.0048d1c0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.00448880
mov rax, qword [rsp + 0x10]
lea rcx, [0x00540340]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00474200
nop
call fcn.004a4da0
jmp fcn.004d2060