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

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x60
mov eax, dword [rcx + 0x50]
mov rdi, qword [rdx + 0x18]
mov r10, qword [rcx]
mov dword [rsp + 0x90], eax
add eax, 2
mov ebp, r8d
mov dword [rcx + 0x50], eax
mov r9, qword [rdx + 0x30]
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x98], rdi
mov ebx, 0xfff0bdc0
test r9, r9
je 0x14005d683
movsxd rdx, dword [r10 + 0x28]
xor ebx, ebx
test edx, edx
jle 0x14005d683
mov rax, qword [r10 + 0x20]
xor ecx, ecx
add rax, 0x18
nop dword [rax]
cmp qword [rax], r9
je 0x14005d683
inc rcx
inc ebx
add rax, 0x20
cmp rcx, rdx
jl 0x14005d670
mov rax, qword [r10 + 0x20]
mov r8, qword [r15]
xor r9d, r9d
movsxd rcx, ebx
lea edx, [r9 + 0x1b]
shl rcx, 5
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.14003bd30
test eax, eax
jne 0x14005db10
mov rax, qword [rdi]
mov r8d, dword [rdi + 0x3c]
mov r9b, 1
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140064340
mov rcx, rsi
call fcn.140050be0
mov rdi, rax
test rax, rax
je 0x14005db10
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r14
mov r12d, ebp
test ebp, ebp
jns 0x14005d6f8
mov r12d, dword [r15 + 0x58]
mov rdx, r15
mov rcx, rsi
call fcn.140053a80
mov r13d, dword [rsi + 0x50]
lea ecx, [r13 + 1]
mov r14, rax
mov dword [rsi + 0x50], ecx
test rax, rax
je 0x14005d718
inc dword [rax]
movzx ecx, word [r15 + 0x5e]
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], ecx
lea edx, [r9 + 0x3a]
mov rcx, rdi
call fcn.140068970
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x14005d790
cmp byte [rcx + 0x50], 0
jne 0x14005d790
test eax, eax
jns 0x14005d74e
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbp, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbp + 0x10]
call fcn.140027190
xor eax, eax
mov qword [rbp + 0x10], rax
test r14, r14
jne 0x14005d77b
mov qword [rbp + 0x10], rax
mov byte [rbp + 1], al
jmp 0x14005d79d
mov qword [rbp + 0x10], r14
mov byte [rbp + 1], 0xfa
jmp 0x14005d79d
mov r8, r14
mov edx, 0xfffffffa
call fcn.140027190
mov r9, qword [rsp + 0x98]
mov edx, dword [rsp + 0x90]
mov r8d, ebx
mov rcx, rsi
mov dword [rsp + 0x20], 0x36
call fcn.1400557c0
mov r8d, dword [rsp + 0x90]
xor r9d, r9d
lea edx, [r9 + 0x6c]
mov rcx, rdi
mov dword [rsp + 0x20], 0
call fcn.140068970
movzx ecx, byte [rsi + 0x1f]
mov dword [rsp + 0x98], eax
test cl, cl
jne 0x14005d7f5
inc dword [rsi + 0x54]
mov ebp, dword [rsi + 0x54]
jmp 0x14005d801
dec cl
movzx eax, cl
mov byte [rsi + 0x1f], al
mov ebp, dword [rsi + rax*4 + 0x24]
mov r8d, dword [rsp + 0x90]
xor ecx, ecx
lea rax, [rsp + 0xa8]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9d, ebp
mov rdx, r15
mov rcx, rsi
call fcn.14004f660
mov r9d, ebp
mov r8d, r13d
mov edx, 0x6d
mov rcx, rdi
mov dword [rsp + 0x20], 0
call fcn.140068970
mov edx, dword [rsp + 0xa8]
mov rcx, rsi
call fcn.14005e460
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x90]
inc r9d
mov edx, 9
mov rcx, rdi
mov dword [rsp + 0x20], 0
call fcn.140068970
mov edx, dword [rdi + 0x3c]
mov eax, dword [rsp + 0x98]
cmp edx, eax
jbe 0x14005d89f
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
cmp dword [rsp + 0xa0], 0
mov dword [rax + 0x64], ecx
jge 0x14005d8d0
mov r9d, ebx
mov r8d, r12d
mov edx, 0x76
mov rcx, rdi
mov dword [rsp + 0x20], 0
call fcn.140068970
mov r8d, dword [rsp + 0x90]
mov r9d, r12d
mov edx, 0x37
mov rcx, rdi
inc r8d
mov dword [rsp + 0x20], ebx
call fcn.140068970
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x14005d943
cmp byte [rcx + 0x50], 0
jne 0x14005d943
test eax, eax
jns 0x14005d90a
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.140027190
xor r9d, r9d
mov qword [rbx + 0x10], r9
test r14, r14
jne 0x14005d939
mov qword [rbx + 0x10], r9
mov byte [rbx + 1], r9b
jmp 0x14005d953
mov qword [rbx + 0x10], r14
mov byte [rbx + 1], 0xfa
jmp 0x14005d953
mov r8, r14
mov edx, 0xfffffffa
call fcn.140027190
xor r9d, r9d
mov r8, qword [rdi + 8]
mov eax, 2
test r8, r8
je 0x14005d97f
cmp dword [rsp + 0xa0], 0
mov edx, r9d
cmovge edx, eax
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
or dl, 1
mov byte [r8 + rcx*8 - 0x15], dl
mov dword [rsp + 0x20], r9d
xor r9d, r9d
mov r8d, r13d
lea edx, [r9 + 0x6a]
mov rcx, rdi
call fcn.140068970
cmp byte [r15 + 0x62], 0
mov r12d, eax
je 0x14005d9fa
test r14, r14
je 0x14005d9fa
mov ebx, dword [rdi + 0x3c]
xor r8d, r8d
mov rcx, rdi
lea r9d, [rbx + 3]
lea edx, [r8 + 0x10]
mov dword [rsp + 0x20], 0
call fcn.140068970
movzx eax, word [r15 + 0x5e]
mov r14d, dword [rdi + 0x3c]
mov dword [rsp + 0x28], eax
lea r9d, [rbx + 3]
mov r8d, r13d
mov edx, 0x63
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.140068a50
mov r8, r15
mov edx, 2
mov rcx, rsi
call fcn.140064bc0
jmp 0x14005d9fe
mov r14d, dword [rdi + 0x3c]
mov r15d, dword [rsp + 0x90]
mov r9d, ebp
mov r8d, r13d
lea ebx, [r15 + 1]
mov edx, 0x64
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.140068970
mov r9d, ebp
mov r8d, ebx
mov edx, 0x6e
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.140068970
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14005da52
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
test ebp, ebp
je 0x14005da88
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x14005da88
xor ecx, ecx
lea rax, [rsi + 0x88]
cmp dword [rax + 0xc], ebp
je 0x14005da84
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14005da68
movzx eax, dl
mov dword [rsi + rax*4 + 0x24], ebp
inc byte [rsi + 0x1f]
jmp 0x14005da88
mov byte [rax + 6], 1
xor esi, esi
mov r9d, r14d
mov r8d, r13d
lea edx, [rsi + 5]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.140068970
mov edx, dword [rdi + 0x3c]
mov r14, qword [rsp + 0x48]
cmp edx, r12d
jbe 0x14005dab8
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
xor r9d, r9d
dec ecx
lea edx, [r9 + 0x3d]
mov r8d, r15d
mov dword [rax + 0x64], ecx
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.140068970
xor r9d, r9d
mov r8d, ebx
lea edx, [r9 + 0x3d]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.140068970
xor r9d, r9d
mov r8d, r13d
lea edx, [r9 + 0x3d]
mov rcx, rdi
mov dword [rsp + 0x20], esi
call fcn.140068970
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x60
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret