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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x684a7e
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]
test rdx, rdx
jle 0x684a5e
mov qword [rsp + 0x58], rdx
mov rbx, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x80]
xor r8d, r8d
xor r9d, r9d
jmp 0x6847d9
add rcx, 6
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x50], r8
movzx r10d, word [rcx]
movzx r11d, word [rcx + 2]
mov dword [rsp + 0x4c], r11d
movzx r12d, word [rcx + 4]
cmp r12d, 1
jne 0x6849e1
dec r10d
cmp r9d, r10d
jle 0x684994
lea r9d, [r11 + 1]
inc r8
cmp r8, rdx
jl 0x6847d5
mov rcx, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
test rax, rax
jle 0x68498c
mov qword [rsp + 0x58], rax
xor edx, edx
jmp 0x684839
add rcx, 0xc
mov r9d, r8d
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rdx
mov r8d, dword [rcx + 8]
mov r10d, dword [rcx + 4]
mov dword [rsp + 0x48], r10d
mov r11d, dword [rcx]
cmp r8d, 1
jne 0x684913
lea r8d, [r11 - 1]
cmp r9d, r8d
jle 0x6848ce
lea r8d, [r10 + 1]
inc rdx
cmp rdx, rax
jl 0x684832
cmp r8d, 0x10ffff
jle 0x68489d
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rsi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp], rdi
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x1c], 0x10ffff
call fcn.00683df0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
jmp 0x68487b
mov qword [rsp], rdi
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r8d
call fcn.00683df0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x48]
jmp 0x684866
mov dword [rsp + 0x44], r8d
jmp 0x684925
lea r12d, [r8 + r11]
lea r9d, [r11 + 1]
mov r11d, r12d
cmp r11d, r10d
jg 0x684984
lea r12d, [r11 - 1]
cmp r9d, r12d
jg 0x68491a
mov dword [rsp + 0x38], r11d
mov qword [rsp], rdi
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r12d
call fcn.00683df0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x44]
mov r10d, dword [rsp + 0x48]
mov r11d, dword [rsp + 0x38]
jmp 0x68491a
mov r8d, r9d
jmp 0x68486a
mov r8d, r9d
jmp 0x684872
mov qword [rsp], rdi
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r10d
call fcn.00683df0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov r11d, dword [rsp + 0x4c]
jmp 0x68480c
mov dword [rsp + 0x40], r12d
jmp 0x6849f3
lea r13d, [r12 + r10]
lea r9d, [r10 + 1]
mov r10d, r13d
cmp r10d, r11d
jg 0x684810
lea r13d, [r10 - 1]
cmp r9d, r13d
jg 0x6849e8
mov dword [rsp + 0x3c], r10d
mov qword [rsp], rdi
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r13d
call fcn.00683df0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x3c]
mov r11d, dword [rsp + 0x4c]
mov r12d, dword [rsp + 0x40]
jmp 0x6849e8
xor r9d, r9d
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
jmp 0x684818
call fcn.004559e0
jmp fcn.00684770