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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
movzx edi, byte [rdx + 0x24]
mov r15d, dword [rsp + 0xe0]
mov r13, qword [rcx + 0x10]
and edi, 1
mov eax, edi
mov rbx, rdx
mov rdx, qword [rdx]
xor eax, 1
mov r14d, r9d
movzx eax, al
mov qword [rsp + 0xc0], r8
mov r12, rcx
mov r9d, dword [rsp + 0xd0]
mov esi, dword [rdx]
mov dword [rsp + 0x48], eax
add eax, esi
add eax, dword [rsp + 0xd8]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x58], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x3c], eax
test r15d, r15d
je 0x14038c540
mov ebp, r14d
sub ebp, r15d
mov rax, qword [rsp + 0xc0]
mov esi, dword [rax + 0xc]
test esi, esi
je 0x14038c530
add esi, 1
mov eax, dword [r12 + 0x44]
mov r8d, ebp
mov rcx, r12
sub eax, 1
cmp r9d, 1
mov dword [r12 + 0x44], eax
mov dword [rbx + 0x1c], eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 5
mov dword [rsp + 0x20], eax
call fcn.14038a660
test dil, dil
je 0x14038c558
test r15d, r15d
jne 0x14038c272
mov edx, dword [rsp + 0xd8]
test edx, edx
jg 0x14038c390
mov eax, dword [rsp + 0x3c]
test eax, eax
jg 0x14038c3c7
test esi, esi
je 0x14038c4b0
mov edi, dword [rsp + 0x3c]
mov eax, dword [r13 + 0x90]
xor r14d, r14d
add edi, ebp
mov r8d, esi
lea r9d, [rax + 4]
mov edx, 0x31
mov rcx, r13
mov dword [rsp + 0x20], 0
mov r15d, dword [rbx + 0xc]
call fcn.140322f70
xor r9d, r9d
mov r8d, r15d
mov edx, 0x21
mov dword [rsp + 0x20], 0
mov rcx, r13
call fcn.140322f70
mov eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x3c]
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov r8d, r15d
mov edx, 0x26
mov rcx, r13
mov dword [rsp + 0x20], edi
call fcn.140323f90
xor r9d, r9d
mov r8d, r15d
mov edx, 0x7e
mov dword [rsp + 0x20], 0
mov rcx, r13
mov esi, eax
call fcn.140322f70
test r14d, r14d
je 0x14038c4b8
movzx edx, byte [rbx + 0x24]
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], edi
mov r9d, r14d
sub eax, dword [rsp + 0x3c]
mov r8d, dword [rbx + 0xc]
mov rcx, r13
and edx, 1
mov dword [rsp + 0x28], eax
sub edx, 0x7a
movzx edx, dl
call fcn.140323f90
test esi, esi
je 0x14038c37b
mov edx, dword [rbx + 0x20]
test edx, edx
je 0x14038c7e0
test esi, esi
jns 0x14038c363
mov eax, dword [r13 + 0x90]
lea esi, [rax - 1]
mov rcx, qword [r13]
lea rax, [0x1407dad80]
cmp byte [rcx + 0x63], 0
je 0x14038c7c8
mov dword [rax + 8], edx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [rsp + 0xd8]
mov eax, dword [rsp + 0x40]
mov r8d, r14d
mov rcx, qword [r12 + 0x10]
mov dword [rsp + 0x20], edx
mov edx, dword [rsp + 0x48]
add eax, ebp
lea r9d, [rax + rdx]
mov edx, 0x4c
call fcn.140322f70
mov eax, dword [rsp + 0x3c]
test eax, eax
jle 0x14038c27e
mov ecx, dword [r12 + 0x38]
mov rax, qword [rbx + 0x28]
mov r15d, dword [rbx + 8]
mov r11, qword [r12 + 0x10]
lea r14d, [rcx + 1]
mov dword [r12 + 0x38], r14d
test rax, rax
je 0x14038c413
mov rcx, qword [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x50], r11
mov rdx, qword [rcx + 0x20]
movzx ecx, byte [rax + 4]
mov dword [rsp + 0x20], ecx
mov r8d, dword [rax]
mov rcx, r12
call fcn.14038a660
mov r11, qword [rsp + 0x50]
mov r9d, dword [rsp + 0x58]
mov dword [rsp + 0x20], r14d
mov rcx, r11
lea r8d, [rbp + r15]
mov edx, 0x5d
sub r9d, r15d
call fcn.140322f70
mov eax, dword [r12 + 0x38]
mov r11d, dword [rbx + 8]
lea ecx, [rax + 1]
add eax, r11d
mov dword [rsp + 0x50], ecx
mov dword [r12 + 0x38], eax
test dil, dil
jne 0x14038c580
mov eax, dword [rsp + 0x40]
mov edi, dword [r13 + 0x90]
lea r8d, [rbp + rax]
cmp edi, dword [r13 + 0x94]
jge 0x14038c848
lea eax, [rdi + 1]
mov dword [r13 + 0x90], eax
movsxd rax, edi
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r8d
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x14
mov eax, r11d
jmp 0x14038c5d1
mov eax, dword [rsp + 0x3c]
lea edi, [rbp + rax]
mov ecx, dword [r12 + 0x38]
mov rax, qword [rbx + 0x28]
mov r15d, dword [rbx + 8]
mov r11, qword [r12 + 0x10]
lea r14d, [rcx + 1]
mov dword [r12 + 0x38], r14d
test rax, rax
je 0x14038c504
mov rcx, qword [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x40], r11
mov rdx, qword [rcx + 0x20]
movzx ecx, byte [rax + 4]
mov dword [rsp + 0x20], ecx
mov r8d, dword [rax]
mov rcx, r12
call fcn.14038a660
mov r11, qword [rsp + 0x40]
mov r9d, dword [rsp + 0x58]
mov dword [rsp + 0x20], r14d
lea r8d, [rbp + r15]
mov rcx, r11
mov edx, 0x5d
sub r9d, r15d
call fcn.140322f70
jmp 0x14038c31a
mov rax, qword [rsp + 0xc0]
mov esi, dword [rax + 8]
jmp 0x14038c22a
mov eax, dword [rcx + 0x38]
lea ebp, [rax + 1]
add eax, dword [rsp + 0x58]
mov dword [rcx + 0x38], eax
jmp 0x14038c214
mov eax, dword [rsp + 0x40]
mov r8d, dword [rbx + 0xc]
mov edx, 0x7a
mov rcx, r13
mov dword [rsp + 0x20], 0
lea r9d, [rbp + rax]
call fcn.140322f70
jmp 0x14038c25e
mov r8d, dword [rbx + 0xc]
mov edi, dword [r13 + 0x90]
cmp edi, dword [r13 + 0x94]
jge 0x14038c818
lea eax, [rdi + 1]
mov dword [r13 + 0x90], eax
movsxd rax, edi
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
lea rax, [rax + rdx*8]
mov dword [rax + 4], r8d
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax], 0x73
mov eax, r11d
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x50]
mov r9d, ebp
mov rcx, r13
mov edx, 0x57
mov dword [rsp + 0x5c], r11d
call fcn.140322f70
mov eax, dword [rbx + 0x18]
mov r11d, dword [rsp + 0x5c]
test eax, eax
jns 0x14038c605
mov eax, dword [r13 + 0x90]
sub eax, 1
mov rdx, qword [r13]
lea r15, [0x1407dad80]
cmp byte [rdx + 0x63], 0
jne 0x14038c627
cdqe
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
lea r15, [rax + rdx*8]
mov rax, qword [r12]
cmp byte [rax + 0x63], 0
jne 0x14038c37b
mov eax, dword [rsp + 0x40]
xor edx, edx
sub eax, r11d
mov r11, qword [r15 + 0x10]
add eax, dword [rsp + 0x48]
add eax, dword [rsp + 0xd8]
mov rcx, qword [r11 + 0x18]
movzx r8d, word [r11 + 6]
mov dword [r15 + 8], eax
mov qword [rsp + 0x48], r11
call sub.msvcrt.dll_memset
mov r11, qword [rsp + 0x48]
mov edx, 0xffffffff
mov rcx, r13
mov r9d, 0xfffffff7
mov r8, r11
call fcn.14031ddc0
mov r11, qword [rsp + 0x48]
mov rdx, qword [rbx]
mov rcx, r12
mov r8d, dword [rsp + 0x3c]
movzx r9d, word [r11 + 8]
movzx eax, word [r11 + 6]
sub r9d, eax
sub r9d, 1
call fcn.14033dbf0
xor r9d, r9d
mov edx, 0x10
mov rcx, r13
mov qword [r15 + 0x10], rax
mov r15d, dword [r13 + 0x90]
lea r8d, [r15 + 1]
mov dword [rsp + 0x20], r8d
call fcn.140322f70
mov eax, dword [r12 + 0x44]
mov edx, 0xc
mov rcx, r13
mov dword [rsp + 0x20], 0
lea r9d, [rax - 1]
mov eax, dword [r12 + 0x38]
mov dword [r12 + 0x44], r9d
lea r8d, [rax + 1]
mov dword [rbx + 0x14], r9d
mov dword [r12 + 0x38], r8d
mov dword [rbx + 0x10], r8d
call fcn.140322f70
mov r8d, dword [rbx + 0xc]
xor r9d, r9d
mov rcx, r13
mov dword [rsp + 0x20], 0
mov edx, 0x8e
call fcn.140322f70
test esi, esi
jne 0x14038c7f0
mov eax, dword [r13 + 0x90]
mov rcx, qword [r13]
test edi, edi
lea edx, [rax - 1]
cmovs edi, edx
cmp byte [rcx + 0x63], 0
lea rdx, [0x1407dad80]
jne 0x14038c758
mov rdx, qword [r13 + 0x88]
movsxd rdi, edi
lea rcx, [rdi + rdi*2]
lea rdx, [rdx + rcx*8]
mov rcx, qword [r12 + 0x10]
mov r9d, dword [rsp + 0x50]
mov dword [rdx + 8], eax
mov r8d, ebp
mov eax, dword [rbx + 8]
mov edx, 0x4c
mov dword [rsp + 0x20], eax
call fcn.140322f70
mov eax, dword [r13 + 0x90]
mov rcx, qword [r13]
test r15d, r15d
lea edx, [rax - 1]
cmovs r15d, edx
cmp byte [rcx + 0x63], 0
lea rdx, [0x1407dad80]
jne 0x14038c7ad
mov rdx, qword [r13 + 0x88]
movsxd r15, r15d
lea rcx, [r15 + r15*2]
lea rdx, [rdx + rcx*8]
mov edi, dword [rsp + 0x3c]
mov dword [rdx + 8], eax
add edi, ebp
test esi, esi
je 0x14038c311
jmp 0x14038c296
mov rax, qword [r13 + 0x88]
movsxd rsi, esi
lea rcx, [rsi + rsi*2]
lea rax, [rax + rcx*8]
jmp 0x14038c378
mov edx, dword [r13 + 0x90]
jmp 0x14038c355
mov r9d, dword [rbx + 0x1c]
mov r8d, esi
mov edx, 0x14
mov rcx, r13
mov dword [rsp + 0x20], 0
call fcn.140322f70
jmp 0x14038c726
mov dword [rsp + 0x5c], r11d
xor r9d, r9d
mov edx, 0x73
mov dword [rsp + 0x20], 0
mov rcx, r13
call fcn.140322ee0
mov r11d, dword [rsp + 0x5c]
mov edi, eax
mov eax, dword [rbx + 8]
jmp 0x14038c5d1
mov dword [rsp + 0x5c], r11d
xor r9d, r9d
mov edx, 0x14
mov dword [rsp + 0x20], 0
jmp 0x14038c82d