Function at 0x5f3050
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 0x5f33f7
sub rsp, 0xc8
mov rsi, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
mov rcx, 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]
cmp rbx, 0
je 0x5f33f0
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
mov rbp, qword [rbx + 0x10]
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0x68], 0
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0x90], rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp rbx, rbp
jge 0x5f31da
mov rbx, qword [rsp + 0x90]
cmp rbx, 0
je 0x5f33e9
movzx rbp, word [rbx]
mov rax, rbp
movzx rbp, word [rbx + 2]
mov rdi, rbp
movzx rbp, word [rbx + 4]
mov word [rsp + 0x5a], ax
mov word [rsp + 0x5c], di
mov word [rsp + 0x5e], bp
movzx ebx, ax
mov word [rsp + 0x54], ax
mov eax, ebx
movzx ebx, di
mov word [rsp + 0x56], di
mov edi, ebx
movzx ebx, bp
mov word [rsp + 0x58], bp
mov dword [rsp + 0x40], ebx
cmp ebx, 1
jne 0x5f3387
mov qword [rsp + 0xd0], rsi
mov qword [rsp], rsi
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 8], rdx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0x10], rcx
mov dword [rsp + 0x18], eax
mov dword [rsp + 0x1c], edi
call fcn.005f2890
mov rsi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
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 0x5f3106
mov rbx, qword [rsp + 0xe8]
cmp rbx, 0
je 0x5f3380
mov rdi, qword [rbx + 0x18]
mov rax, qword [rbx + 0x20]
mov rbp, qword [rbx + 0x28]
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x68], 0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x88], rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp rbx, rbp
jge 0x5f32f8
mov rbx, qword [rsp + 0x88]
cmp rbx, 0
je 0x5f3379
mov eax, dword [rbx]
mov r8d, dword [rbx + 4]
mov edi, dword [rbx + 8]
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x80], r8d
mov dword [rsp + 0x84], edi
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], r8d
mov dword [rsp + 0x78], edi
mov dword [rsp + 0x3c], edi
cmp edi, 1
jne 0x5f3318
mov qword [rsp + 0xd0], rsi
mov qword [rsp], rsi
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 8], rdx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0x10], rcx
mov dword [rsp + 0x18], eax
mov dword [rsp + 0x1c], r8d
call fcn.005f2890
mov rsi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
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 0x5f3239
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], rdx
mov qword [rsp + 0x100], rcx
add rsp, 0xc8
ret
mov dword [rsp + 0x44], r8d
cmp eax, r8d
jg 0x5f32c4
mov qword [rsp + 0xd0], rsi
mov qword [rsp], rsi
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 8], rdx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0x10], rcx
mov dword [rsp + 0x18], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x1c], eax
call fcn.005f2890
mov r8d, dword [rsp + 0x44]
mov rsi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x50]
mov ebp, dword [rsp + 0x3c]
add eax, ebp
jmp 0x5f3318
mov dword [rbx], eax
jmp 0x5f324b
mov dword [rbx], eax
jmp 0x5f31ec
mov dword [rsp + 0x48], edi
cmp eax, edi
jg 0x5f31a6
mov qword [rsp + 0xd0], rsi
mov qword [rsp], rsi
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 8], rdx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0x10], rcx
mov dword [rsp + 0x18], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x1c], eax
call fcn.005f2890
mov edi, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x4c]
mov ebp, dword [rsp + 0x40]
add eax, ebp
jmp 0x5f3387
mov dword [rbx], eax
jmp 0x5f3118
mov dword [rbx], eax
jmp 0x5f30ba
call fcn.00465260
jmp fcn.005f3050