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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x656872
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 0x656852
mov qword [rsp + 0x58], rdx
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
xor r8d, r8d
xor r9d, r9d
jmp 0x6565c9
add rcx, 6
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x50], r8
movzx r10d, word [rcx + 2]
mov dword [rsp + 0x4c], r10d
movzx r11d, word [rcx + 4]
movzx r12d, word [rcx]
cmp r11d, 1
jne 0x6567d3
lea r11d, [r12 - 1]
cmp r9d, r11d
jle 0x656786
lea r9d, [r10 + 1]
inc r8
cmp r8, rdx
jl 0x6565c5
mov rcx, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
test rax, rax
jle 0x65677e
mov qword [rsp + 0x58], rax
xor edx, edx
jmp 0x65662b
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 0x656705
lea r8d, [r11 - 1]
cmp r9d, r8d
jle 0x6566c0
lea r8d, [r10 + 1]
inc rdx
cmp rdx, rax
jl 0x656624
cmp r8d, 0x10ffff
jle 0x65668f
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rbx
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x1c], 0x10ffff
call fcn.00655bb0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
jmp 0x65666d
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r8d
call fcn.00655bb0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x48]
jmp 0x656658
mov dword [rsp + 0x44], r8d
jmp 0x656717
lea r12d, [r8 + r11]
lea r9d, [r11 + 1]
mov r11d, r12d
cmp r11d, r10d
jg 0x656776
lea r12d, [r11 - 1]
cmp r9d, r12d
jg 0x65670c
mov dword [rsp + 0x38], r11d
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r12d
call fcn.00655bb0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbx, 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 0x65670c
mov r8d, r9d
jmp 0x65665c
mov r8d, r9d
jmp 0x656664
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r11d
call fcn.00655bb0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbx, 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 + 0x4c]
jmp 0x6565fe
mov dword [rsp + 0x40], r11d
jmp 0x6567e6
lea r13d, [r11 + r12]
lea r9d, [r12 + 1]
mov r12d, r13d
cmp r12d, r10d
jg 0x656602
lea r13d, [r12 - 1]
cmp r9d, r13d
jg 0x6567da
mov dword [rsp + 0x3c], r12d
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r9d
mov dword [rsp + 0x1c], r13d
call fcn.00655bb0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbx, 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 + 0x4c]
mov r11d, dword [rsp + 0x40]
mov r12d, dword [rsp + 0x3c]
jmp 0x6567da
xor r9d, r9d
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x90]
jmp 0x65660a
call fcn.00458a70
jmp fcn.00656560