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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
sub rsp, 0x50
mov r10, qword [rcx + 0x10]
xor esi, esi
mov qword [rsp + 0x48], r10
mov ebx, r8d
mov dword [rsp + 0x70], esi
mov rbp, rdx
mov dword [rsp + 0x44], esi
mov rdi, rcx
test r10, r10
je 0x14005c50e
test rdx, rdx
je 0x14005c50e
movzx r8d, byte [rdx]
mov eax, r8d
xor eax, 1
mov dword [rsp + 0x40], eax
lea eax, [r8 - 0x13]
cmp eax, 0x86
ja case.0x14005c19c.20
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x5c55c]
mov ecx, dword [rdx + rax*4 + 0x5c534]
add rcx, rdx
jmp rcx
mov rdx, qword [rbp + 0x10]
mov r8d, ebx
mov rcx, rdi
call fcn.14005c120
inc dword [rdi + 0x48]
mov r8d, ebx
mov r9d, dword [rsp + 0x88]
mov rcx, rdi
mov rdx, qword [rbp + 0x18]
call fcn.14005c120
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.140058680
mov rcx, r10
call fcn.140084160
mov r9d, dword [rsp + 0x88]
mov r8d, eax
mov rdx, qword [rbp + 0x10]
xor r9d, 0x10
mov rcx, rdi
mov dword [rsp + 0x70], eax
call fcn.14005c680
inc dword [rdi + 0x48]
mov r8d, ebx
mov r9d, dword [rsp + 0x88]
mov rcx, rdi
mov rdx, qword [rbp + 0x18]
call fcn.14005c120
mov r10, qword [rsp + 0x48]
mov rax, qword [r10 + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14005c242
or eax, 0xffffffff
sub eax, dword [rsp + 0x70]
movsxd rcx, eax
mov eax, dword [r10 + 0xb8]
mov dword [rdx + rcx*4], eax
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.140058680
mov rdx, qword [rbp + 0x10]
mov r8d, ebx
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14005c680
mov rax, qword [rbp + 0x18]
mov edx, esi
movzx r8d, byte [rbp + 0x36]
mov r9d, 0x10
mov rcx, qword [rax + 8]
mov eax, esi
cmp byte [rcx + 4], dl
mov rcx, rdi
sete dl
cmp r8b, 0x92
sete al
cmp edx, eax
mov rdx, qword [rbp + 0x10]
je 0x14005c2bc
cmp r8b, 0x92
mov r8d, ebx
cmove r9d, esi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14005c120
cmp r8b, 0x92
mov r8d, ebx
cmove r9d, esi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14005c680
cmp r8b, 0x2d
mov dword [rsp + 0x88], 0x80
mov edx, esi
setne dl
add edx, 0x34
mov dword [rsp + 0x40], edx
mov rdx, qword [rbp + 0x10]
mov rcx, rdx
call fcn.14005cd80
test eax, eax
jne case.0x14005c19c.20
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.14005b7f0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x44]
mov rcx, rdi
mov ebx, eax
call fcn.14005b7f0
mov edx, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x40]
mov r8, qword [rbp + 0x18]
mov dword [rsp + 0x38], edx
mov rdx, qword [rbp + 0x10]
mov dword [rsp + 0x30], ecx
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.140027b60
jmp 0x14005c48b
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.14005b7f0
mov edx, dword [rsp + 0x40]
mov r9d, ebx
mov rcx, qword [rsp + 0x48]
mov r8d, eax
call fcn.14007b2c0
jmp 0x14005c48b
mov dword [rsp + 0x20], r9d
mov r8d, ebx
lea r9, [fcn.14005c120]
mov rdx, rbp
mov rcx, rdi
call fcn.1400300f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
test r9d, r9d
je 0x14005c3d2
mov r9d, ebx
mov r8d, ebx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.1400591f0
mov rcx, r10
call fcn.140084160
mov r9d, eax
mov r8d, ebx
mov rdx, rbp
mov rcx, rdi
mov esi, eax
call fcn.1400591f0
mov r10, qword [rsp + 0x48]
mov rcx, qword [r10 + 0x18]
mov rdx, qword [rcx + 0x58]
test rdx, rdx
je 0x14005c50e
or eax, 0xffffffff
sub eax, esi
movsxd rcx, eax
mov eax, dword [r10 + 0xb8]
mov dword [rdx + rcx*4], eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbp
call fcn.14002e9f0
test eax, eax
je 0x14005c444
mov edx, ebx
mov rcx, r10
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.1400833d0
mov rcx, rbp
call fcn.14002ea80
test eax, eax
jne 0x14005c50e
lea r8, [rsp + 0x70]
mov rdx, rbp
mov rcx, rdi
call fcn.14005b7f0
mov edx, dword [rsp + 0x88]
mov ecx, esi
test edx, edx
mov r9d, ebx
mov r8d, eax
mov edx, 0x16
setne cl
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x48]
call fcn.14007b330
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x14005c4cf
movzx r9d, byte [rdi + 0x1f]
cmp r9b, 8
jae 0x14005c4cf
movzx r8d, byte [rdi + 0x25]
lea rax, [rdi + 0xc4]
mov ecx, esi
test r8d, r8d
je 0x14005c4c1
cmp dword [rax + 0xc], edx
je 0x14005c51b
inc ecx
add rax, 0x14
cmp ecx, r8d
jl 0x14005c4b1
movzx eax, r9b
mov dword [rdi + rax*4 + 0x18c], edx
inc byte [rdi + 0x1f]
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x14005c50e
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x14005c50e
movzx edx, byte [rdi + 0x25]
lea rax, [rdi + 0xc4]
test edx, edx
je 0x14005c500
cmp dword [rax + 0xc], ecx
je 0x14005c521
inc esi
add rax, 0x14
cmp esi, edx
jl 0x14005c4f1
movzx eax, r8b
mov dword [rdi + rax*4 + 0x18c], ecx
inc byte [rdi + 0x1f]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov byte [rax + 6], 1
jmp 0x14005c4cf
mov byte [rax + 6], 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret