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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x48]
cmp rax, qword [rcx + 0x10]
jbe 0x5f385c
sub rsp, 0xc8
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
xor ebx, ebx
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rbx
mov rbx, qword [rsp + 0xe8]
xor eax, eax
cmp rbx, 0
je 0x5f3855
mov r8, qword [rbx]
mov rcx, qword [rbx + 8]
mov rbp, qword [rbx + 0x10]
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0x68], 0
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0x90], r8
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp rbx, rbp
jge 0x5f35ba
mov rbx, qword [rsp + 0x90]
cmp rbx, 0
je 0x5f384e
movzx rbp, word [rbx]
mov rcx, rbp
movzx rbp, word [rbx + 2]
mov r8, rbp
movzx rbp, word [rbx + 4]
mov word [rsp + 0x5a], cx
mov word [rsp + 0x5c], r8w
mov word [rsp + 0x5e], bp
movzx ebx, cx
mov word [rsp + 0x54], cx
mov ecx, ebx
movzx ebx, r8w
mov word [rsp + 0x56], r8w
mov r8d, ebx
movzx ebx, bp
mov word [rsp + 0x58], bp
mov dword [rsp + 0x48], r8d
mov r8d, ebx
mov dword [rsp + 0x40], ebx
cmp ebx, 1
jne 0x5f37de
mov ebx, ecx
dec ebx
cmp ebx, eax
jl 0x5f3580
mov qword [rsp + 0xd0], rdi
mov qword [rsp], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 8], rsi
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0x10], rdx
mov dword [rsp + 0x18], eax
mov ebx, ecx
dec ebx
mov dword [rsp + 0x1c], ebx
call fcn.005f2890
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x48]
inc eax
mov rbx, qword [rsp + 0x90]
add rbx, 6
mov qword [rsp + 0x90], rbx
mov rbx, qword [rsp + 0x68]
inc rbx
mov qword [rsp + 0x68], rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp rbx, rbp
jl 0x5f34c8
mov rbx, qword [rsp + 0xe8]
cmp rbx, 0
je 0x5f37d7
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
mov rbp, qword [rbx + 0x28]
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x68], 0
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x88], r8
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp rbx, rbp
jge 0x5f36f3
mov rbx, qword [rsp + 0x88]
cmp rbx, 0
je 0x5f37d0
mov ecx, dword [rbx]
mov r9d, dword [rbx + 4]
mov r8d, dword [rbx + 8]
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0x80], r9d
mov dword [rsp + 0x84], r8d
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x74], r9d
mov dword [rsp + 0x78], r8d
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x3c], r8d
cmp r8d, 1
jne 0x5f3760
mov ebx, ecx
dec ebx
cmp ebx, eax
jl 0x5f36b9
mov qword [rsp + 0xd0], rdi
mov qword [rsp], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 8], rsi
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0x10], rdx
mov dword [rsp + 0x18], eax
mov ebx, ecx
dec ebx
mov dword [rsp + 0x1c], ebx
call fcn.005f2890
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x44]
inc eax
mov rbx, qword [rsp + 0x88]
add rbx, 0xc
mov qword [rsp + 0x88], rbx
mov rbx, qword [rsp + 0x68]
inc rbx
mov qword [rsp + 0x68], rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp rbx, rbp
jl 0x5f3619
cmp eax, 0x10ffff
jg 0x5f3740
mov qword [rsp + 0xd0], rdi
mov qword [rsp], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 8], rsi
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0x10], rdx
mov dword [rsp + 0x18], eax
mov dword [rsp + 0x1c], 0x10ffff
call fcn.005f2890
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rdx
add rsp, 0xc8
ret
mov ebp, dword [rsp + 0x44]
cmp ecx, ebp
jg 0x5f36bf
mov ebx, ecx
dec ebx
cmp ebx, eax
jl 0x5f37c7
mov qword [rsp + 0xd0], rdi
mov qword [rsp], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 8], rsi
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0x10], rdx
mov dword [rsp + 0x18], eax
mov ebx, ecx
mov dword [rsp + 0x50], ecx
dec ebx
mov dword [rsp + 0x1c], ebx
call fcn.005f2890
mov r8d, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x50]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov eax, ecx
inc eax
add ecx, r8d
jmp 0x5f3760
mov dword [rbx], eax
jmp 0x5f362b
mov dword [rbx], eax
jmp 0x5f35cc
mov ebp, dword [rsp + 0x48]
cmp ecx, ebp
jg 0x5f3586
mov ebx, ecx
dec ebx
cmp ebx, eax
jl 0x5f3845
mov qword [rsp + 0xd0], rdi
mov qword [rsp], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 8], rsi
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0x10], rdx
mov dword [rsp + 0x18], eax
mov ebx, ecx
mov dword [rsp + 0x4c], ecx
dec ebx
mov dword [rsp + 0x1c], ebx
call fcn.005f2890
mov r8d, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x4c]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov eax, ecx
inc eax
add ecx, r8d
jmp 0x5f37de
mov dword [rbx], eax
jmp 0x5f34da
mov dword [rbx], eax
jmp 0x5f347c
call fcn.00465260
jmp fcn.005f3410