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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4fd97a
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
mov qword [rsp + 0x58], rdx
xor ebx, ebx
xor esi, esi
mov rdi, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], rcx
cmp rbx, rdx
jge 0x4fd741
movzx r10d, word [rcx + 4]
mov dword [rsp + 0x4c], r10d
movzx r11d, word [rcx + 2]
mov dword [rsp + 0x48], r11d
movzx r12d, word [rcx]
cmp r10d, 1
jne 0x4fd901
lea r10d, [r12 - 1]
cmp esi, r10d
jle 0x4fd8b5
lea esi, [r11 + 1]
add rcx, 6
inc rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], rcx
cmp rbx, rdx
jl 0x4fd6f7
mov rcx, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
xor edx, edx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rcx
cmp rdx, rax
jge 0x4fd79f
mov ebx, dword [rcx + 8]
mov dword [rsp + 0x38], ebx
mov r10d, dword [rcx]
mov r11d, dword [rcx + 4]
mov dword [rsp + 0x3c], r11d
cmp ebx, 1
jne 0x4fd83c
lea ebx, [r10 - 1]
cmp esi, ebx
jle 0x4fd7f9
lea ebx, [r11 + 1]
add rcx, 0xc
inc rdx
mov esi, ebx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rcx
cmp rdx, rax
jl 0x4fd75f
cmp esi, 0x10ffff
jle 0x4fd7c9
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0xb0], r9
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp], rdi
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r9
mov dword [rsp + 0x18], esi
mov dword [rsp + 0x1c], 0x10ffff
call fcn.004fccb0
mov rdi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
jmp 0x4fd7a7
mov qword [rsp], rdi
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r9
mov dword [rsp + 0x18], esi
mov dword [rsp + 0x1c], ebx
call fcn.004fccb0
mov rdi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov r11d, dword [rsp + 0x3c]
jmp 0x4fd783
mov dword [rsp + 0x44], r10d
cmp r10d, r11d
jg 0x4fd864
lea r12d, [r10 - 1]
cmp esi, r12d
jle 0x4fd86b
lea r12d, [rbx + r10]
lea esi, [r10 + 1]
mov r10d, r12d
mov dword [rsp + 0x44], r10d
cmp r10d, r11d
jle 0x4fd846
mov ebx, esi
jmp 0x4fd787
mov qword [rsp], rdi
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r9
mov dword [rsp + 0x18], esi
mov dword [rsp + 0x1c], r12d
call fcn.004fccb0
mov rdi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x44]
mov r11d, dword [rsp + 0x3c]
jmp 0x4fd84f
mov qword [rsp], rdi
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r9
mov dword [rsp + 0x18], esi
mov dword [rsp + 0x1c], r10d
call fcn.004fccb0
mov rdi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r11d, dword [rsp + 0x48]
jmp 0x4fd727
mov dword [rsp + 0x40], r12d
cmp r12d, r11d
jg 0x4fd72b
lea r13d, [r12 - 1]
cmp esi, r13d
jle 0x4fd927
lea r13d, [r12 + r10]
lea esi, [r12 + 1]
mov r12d, r13d
jmp 0x4fd901
mov qword [rsp], rdi
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r9
mov dword [rsp + 0x18], esi
mov dword [rsp + 0x1c], r13d
call fcn.004fccb0
mov rdi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x4c]
mov r11d, dword [rsp + 0x48]
mov r12d, dword [rsp + 0x40]
jmp 0x4fd919
call fcn.00452210
jmp fcn.004fd690