Function at 0x14004a960
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 rbx, qword [rcx + 0x10]
xor esi, esi
mov r10d, r8d
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x44], esi
test rbx, rbx
je 0x14004ad0b
test rdx, rdx
je 0x14004ad0b
movzx eax, byte [rdx]
mov dword [rsp + 0x40], eax
add eax, 0xffffffed
cmp eax, 0x81
ja case.0x14004a9d4.20
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x4ad3c]
mov ecx, dword [rdx + rax*4 + 0x4ad18]
add rcx, rdx
jmp rcx
mov rcx, rbx
call fcn.1400704f0
mov r9d, dword [rsp + 0x88]
mov rdx, qword [rbp + 0x10]
xor r9d, 0x10
mov r8d, eax
mov rcx, rdi
mov ebx, eax
call fcn.14004a500
inc dword [rdi + 0x70]
mov rdx, qword [rbp + 0x18]
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
mov rcx, rdi
call fcn.14004a960
mov rsi, qword [rsp + 0x48]
or eax, 0xffffffff
sub eax, ebx
mov r8, qword [rsi + 0x30]
js 0x14004aa3f
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14004aa3f
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
mov rcx, rdi
dec eax
mov dword [r8 + 0x64], eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.140047b10
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.14004a960
inc dword [rdi + 0x70]
mov rdx, qword [rbp + 0x18]
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
mov rcx, rdi
call fcn.14004a960
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.140047b10
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14004a500
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140049ee0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x44]
mov rcx, rdi
mov ebx, eax
call fcn.140049ee0
mov edx, dword [rsp + 0x88]
mov r9d, dword [rsp + 0x40]
mov dword [rsp + 0x38], edx
mov ecx, dword [rsp + 0x80]
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], eax
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.14001afc0
jmp 0x14004ac8a
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140049ee0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x44]
mov rcx, rdi
mov ebx, eax
call fcn.140049ee0
cmp dword [rsp + 0x40], 0x49
mov r9d, esi
sete r9b
mov dword [rsp + 0x38], 0x80
add r9d, 0x4e
jmp 0x14004aae7
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140049ee0
mov edx, dword [rsp + 0x40]
mov dword [rsp + 0x20], esi
jmp 0x14004ac77
mov dword [rsp + 0x20], r9d
mov rdx, rbp
mov rcx, rdi
mov r9d, 1
call fcn.1400230b0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call fcn.1400704f0
mov edx, dword [rsp + 0x88]
mov rcx, rdi
test edx, edx
mov r9d, eax
mov r8d, eax
cmovne r9d, dword [rsp + 0x80]
mov rdx, rbp
mov ebx, eax
call fcn.1400483f0
mov r9d, dword [rsp + 0x80]
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov rsi, qword [rsp + 0x48]
lea edx, [r8 + 0x10]
mov rcx, rsi
call fcn.140068970
mov r8, qword [rsi + 0x30]
or eax, 0xffffffff
sub eax, ebx
js 0x14004abfb
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14004abfb
movsxd rcx, eax
mov eax, dword [rsi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbp
call fcn.140021f50
test eax, eax
je 0x14004ac40
xor r8d, r8d
mov r9d, r10d
mov rcx, rbx
lea edx, [r8 + 0x10]
mov dword [rsp + 0x20], esi
call fcn.140068970
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbp
call fcn.140021ec0
test eax, eax
jne 0x14004ad0b
lea r8, [rsp + 0x70]
mov rdx, rbp
mov rcx, rdi
call fcn.140049ee0
mov edx, dword [rsp + 0x88]
mov ecx, esi
test edx, edx
mov edx, 0x2d
setne cl
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x80]
mov r8d, eax
mov rcx, rbx
call fcn.140068970
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x14004acc7
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x14004acc7
mov ecx, esi
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], edx
je 0x14004acc3
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14004aca6
movzx eax, r8b
mov dword [rdi + rax*4 + 0x24], edx
inc byte [rdi + 0x1f]
jmp 0x14004acc7
mov byte [rax + 6], 1
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x14004ad0b
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x14004ad0b
lea rax, [rdi + 0x88]
nop
cmp dword [rax + 0xc], ecx
je 0x14004ad07
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x14004ace0
movzx eax, dl
mov dword [rdi + rax*4 + 0x24], 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
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret