Function at 0x14004ac30
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 rbp, rdx
test rbx, rbx
mov rdi, rcx
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x40], esi
je 0x14004af7e
test rdx, rdx
je 0x14004af7e
movzx eax, byte [rdx]
mov ecx, eax
add eax, 0xffffffed
xor ecx, 1
cmp eax, 0x81
mov dword [rsp + 0x44], ecx
ja case.0x14004aca1.20
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x4afac]
mov ecx, dword [rdx + rax*4 + 0x4af8c]
add rcx, rdx
jmp rcx
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.14004ac30
add dword [rdi + 0x70], 1
mov rdx, qword [rbp + 0x18]
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
mov rcx, rdi
call fcn.14004ac30
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14000abf0
mov rcx, rbx
call fcn.140023d70
mov rcx, qword [rdi + 0x10]
test rcx, rcx
mov esi, eax
je 0x14004ad16
mov r9d, dword [rsp + 0x88]
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor r9d, 0x10
mov r8d, eax
mov rcx, rdi
call fcn.140048810
add dword [rdi + 0x70], 1
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rbp + 0x18]
mov rcx, rdi
call fcn.14004ac30
mov r11, qword [rbx + 0x30]
or eax, 0xffffffff
sub eax, esi
js 0x14004ad56
mov rdx, qword [r11 + 0x80]
test rdx, rdx
je 0x14004ad56
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov rcx, rdi
sub eax, 1
mov dword [r11 + 0x64], eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14000abf0
test rbx, rbx
je 0x14004af7e
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call fcn.140048810
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140024cb0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.140024cb0
mov edx, dword [rsp + 0x88]
mov r9d, dword [rsp + 0x44]
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.1400459d0
jmp 0x14004aefa
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140024cb0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.140024cb0
cmp byte [rbp], 0x49
mov r9d, esi
setne r9b
mov dword [rsp + 0x38], 0x80
add r9d, 0x4e
jmp 0x14004adcf
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140024cb0
mov r9d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x44]
mov r8d, eax
mov rcx, rbx
call fcn.140025730
jmp 0x14004aefa
mov dword [rsp + 0x20], r9d
mov rdx, rbp
mov rcx, rdi
xor r9d, r9d
call fcn.140027630
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbp
call fcn.140005260
test eax, eax
je 0x14004aeb0
mov r9d, dword [rsp + 0x80]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0xe]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.140025730
mov rcx, rbp
call fcn.140005320
test eax, eax
jne 0x14004af7e
lea r8, [rsp + 0x70]
mov rdx, rbp
mov rcx, rdi
call fcn.140024cb0
mov edx, dword [rsp + 0x88]
mov r9d, dword [rsp + 0x80]
test edx, edx
mov ecx, esi
mov r8d, eax
setne cl
mov edx, 0x2e
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.140023de0
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x14004af39
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x14004af39
mov ecx, esi
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], edx
je 0x14004af35
add ecx, 1
add rax, 0x14
cmp ecx, 0xa
jl 0x14004af16
movzx eax, r8b
mov dword [rdi + rax*4 + 0x24], edx
add byte [rdi + 0x1f], 1
jmp 0x14004af39
mov byte [rax + 6], 1
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14004af7e
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x14004af7e
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], ecx
je 0x14004af7a
add esi, 1
add rax, 0x14
cmp esi, 0xa
jl 0x14004af51
movzx eax, dl
mov dword [rdi + rax*4 + 0x24], ecx
add byte [rdi + 0x1f], 1
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