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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
xor edx, edx
mov qword [rax - 0x18], rbx
mov esi, edx
mov qword [rax - 0x20], rbp
mov rbp, rcx
mov qword [rax - 0x28], r12
mov r12d, edx
mov qword [rax - 0x30], r13
mov r13d, edx
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], edx
cmp dword [rcx + 0x3c], edx
jne 0x14012d15e
mov edi, edx
mov qword [rsp + 0x58], rdx
nop dword [rax]
mov qword [rsp + 0x50], rsi
mov r14, rsi
test r12d, r12d
jne 0x14012cc0b
movsxd r15, r13d
mov rbx, r15
shl rbx, 5
add rbx, 0x28
call fcn.1401e45d0
test eax, eax
jne 0x14012cbe0
test rsi, rsi
jne 0x14012c666
mov rcx, rbx
call fcn.1401aeec0
mov rdx, rax
mov qword [rsp + 0x50], rax
jmp 0x14012c7e1
cmp rbx, 0x7fffff00
jb 0x14012c67d
xor esi, esi
mov edx, esi
mov qword [rsp + 0x50], rdx
jmp 0x14012c7e3
mov rcx, rsi
call qword [0x1402cd2c8]
mov ecx, ebx
mov r14d, eax
call qword [0x1402cd2d0]
mov edi, eax
cmp r14d, eax
jne 0x14012c6a5
mov rdx, rsi
mov qword [rsp + 0x50], rdx
jmp 0x14012c7dc
cmp dword [0x1402cd290], 0
je 0x14012c7c9
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x14012c6c4
call qword [0x1402cd310]
movsxd rax, ebx
cmp rax, qword [0x1402d3a68]
jle 0x14012c6d7
mov qword [0x1402d3a68], rax
mov ecx, edi
sub ecx, r14d
test ecx, ecx
jle 0x14012c73c
mov rax, qword [0x1402d3ab8]
mov rsi, qword [0x1402d39f0]
movsxd rbp, ecx
sub rax, rbp
cmp rsi, rax
jl 0x14012c737
call fcn.1401af050
mov rax, qword [0x1402d3ac0]
test rax, rax
jle 0x14012c737
sub rax, rbp
cmp rsi, rax
jl 0x14012c737
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x14012c724
call qword [0x1402cd320]
mov rdi, qword [rsp + 0x58]
xor esi, esi
mov edx, esi
mov qword [rsp + 0x50], rdx
jmp 0x14012c7e3
mov rsi, qword [rsp + 0x48]
mov edx, edi
mov rcx, rsi
call qword [0x1402cd2c0]
mov qword [rsp + 0x50], rax
mov rdx, rax
test rax, rax
jne 0x14012c77c
cmp qword [0x1402d3ab8], rax
jle 0x14012c7b0
mov ecx, ebx
call fcn.1401af050
mov edx, edi
mov rcx, rsi
call qword [0x1402cd2c0]
mov qword [rsp + 0x50], rax
mov rdx, rax
test rax, rax
je 0x14012c7b0
mov rcx, rdx
call qword [0x1402cd2c8]
mov rcx, qword [0x1402d39f0]
sub eax, r14d
mov rdx, qword [rsp + 0x50]
cdqe
add rcx, rax
cmp rcx, qword [0x1402d3a40]
mov qword [0x1402d39f0], rcx
jle 0x14012c7b0
mov qword [0x1402d3a40], rcx
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x14012c7dc
call qword [0x1402cd320]
mov rdx, qword [rsp + 0x50]
jmp 0x14012c7dc
mov edx, edi
mov rcx, rsi
call qword [0x1402cd2c0]
mov rdx, rax
mov qword [rsp + 0x50], rax
mov rdi, qword [rsp + 0x58]
xor esi, esi
mov rbp, qword [rsp + 0xc0]
test rdx, rdx
je 0x14012cbe0
movsxd rax, dword [rsp + 0xd0]
xorps xmm0, xmm0
shl rax, 6
mov r12, rdi
shl r12, 5
add rax, 0x20
add r15, rax
mov qword [rsp + 0x48], rdx
movsxd rax, dword [rsp + 0xd8]
add r12, 8
add r12, rdx
shl r15, 0x1f
add r15, rax
mov qword [rsp + 0x60], r12
mov r14, rsi
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm0
cmp dword [rbp + 0x3c], 0
jne 0x14012ca0f
mov rdi, qword [rbp + 0x48]
add rbp, 0x48
mov ebx, esi
test rdi, rdi
je 0x14012c971
mov rdx, r15
mov qword [rbp], rsi
mov rcx, rdi
call fcn.1400c76b0
mov qword [rbp], rdi
mov ebx, eax
test eax, eax
je 0x14012c971
mov qword [rbp], rsi
mov rsi, qword [rdi + 0x20]
mov r12, qword [rdi + 0x18]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14012c894
call qword [0x1402cd310]
cmp rdi, qword [rsi + 0x1f0]
jae 0x14012c8d8
cmp rdi, qword [rsi + 0x1e0]
jb 0x14012c8bc
mov rax, qword [rsi + 0x1d8]
mov qword [rdi], rax
mov qword [rsi + 0x1d8], rdi
jmp 0x14012c94a
cmp rdi, qword [rsi + 0x1e8]
jb 0x14012c8d8
mov rax, qword [rsi + 0x1c8]
mov qword [rdi], rax
mov qword [rsi + 0x1c8], rdi
jmp 0x14012c94a
cmp qword [rsi + 0x308], 0
je 0x14012c8ef
mov rdx, rdi
mov rcx, rsi
call fcn.14015d0a0
jmp 0x14012c94a
cmp dword [0x1402cd290], 0
je 0x14012c941
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x14012c90a
call qword [0x1402cd310]
mov rcx, rdi
call qword [0x1402cd2c8]
dec qword [0x1402d3a38]
movsxd rcx, eax
sub qword [0x1402d39f0], rcx
mov rcx, rdi
call qword [0x1402cd2b8]
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x14012c94a
call qword [0x1402cd320]
jmp 0x14012c94a
mov rcx, rdi
call qword [0x1402cd2b8]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14012c959
call qword [0x1402cd320]
mov rcx, r12
call fcn.1400c13a0
mov r12, qword [rsp + 0x60]
cmp ebx, 4
mov esi, 0
cmove ebx, esi
cmp qword [rbp], 0
jne 0x14012c9ae
test ebx, ebx
jne 0x14012c9ae
mov r8, qword [rsp + 0xc0]
lea r9, str.block
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov rcx, qword [r8]
mov r8, qword [r8 + 8]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.1400c6e20
mov ebx, eax
cmp ebx, 1
jne 0x14012c9ba
mov ebx, 0x10b
jmp 0x14012c9ef
test ebx, ebx
jne 0x14012c9ef
mov rax, qword [rbp]
test rax, rax
je 0x14012c9d3
cmp qword [rax + 0x18], 0
je 0x14012c9d3
mov r15d, dword [rax]
jmp 0x14012c9d6
mov r15d, esi
call fcn.1401e45d0
test eax, eax
je 0x14012ca3c
mov rcx, rsi
mov ebx, 7
call fcn.1400ea860
mov r14, rsi
mov rbp, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x50]
mov r13d, dword [rsp + 0x44]
mov rdi, qword [rsp + 0x58]
inc dword [rbp + 0x80]
mov dword [rbp + 0x3c], ebx
mov qword [r12], r14
mov r12d, dword [rsp + 0x40]
test r14, r14
je 0x14012ca31
mov rax, qword [r14]
test byte [rax], 1
mov eax, 1
cmove r12d, eax
mov dword [rsp + 0x40], r12d
inc r13d
mov dword [rdx], r13d
jmp 0x14012cbea
movsxd rcx, r15d
add rcx, 0x24
call fcn.1401aeec0
mov r14, rax
mov rcx, rax
test rax, rax
je 0x14012c9e2
lea rbx, [rax + 0x10]
mov dword [rax + 8], r15d
mov qword [rax], rbx
mov rbp, qword [rbp]
test rbp, rbp
jne 0x14012ca9e
lea rax, [0x140294bd4]
mov r9d, 0x1910e
lea r8, str.misuse
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.1400cbad0
mov rcx, r14
mov ebx, 0x15
jmp 0x14012c9e7
mov rdi, qword [rbp + 0x20]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14012cab1
call qword [0x1402cd310]
mov r13, qword [rbp + 0x18]
test r15d, r15d
js 0x14012cb6b
cmp r15d, dword [rbp]
jg 0x14012cb6b
test r13, r13
jne 0x14012cada
mov ebx, 4
mov dword [rdi + 0x50], ebx
jmp 0x14012cb75
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x14012caf6
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x14012caf6
call fcn.1400f8620
mov rcx, qword [rbp + 0x10]
mov r9, rbx
mov edx, dword [rbp + 4]
mov r8d, r15d
cmp byte [rcx], 0
jne 0x14012cb13
mov dword [rsp + 0x20], esi
call fcn.1400f01c0
jmp 0x14012cb18
call fcn.1400f0670
mov ebx, eax
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x14012cb33
sub dword [rcx + 0x14], 1
jne 0x14012cb33
call fcn.1401e7470
cmp ebx, 4
jne 0x14012cb4d
mov rcx, r13
call fcn.1401d2f10
mov qword [rbp + 0x18], 0
mov dword [rdi + 0x50], ebx
jmp 0x14012cb75
mov dword [r13 + 0x34], ebx
mov dword [rdi + 0x50], ebx
test ebx, ebx
jne 0x14012cb75
cmp qword [rdi + 0x190], 0
jne 0x14012cb75
mov dword [rdi + 0x54], 0xffffffff
jmp 0x14012cb7f
mov eax, 1
mov ebx, eax
mov dword [rdi + 0x50], eax
mov edx, ebx
mov rcx, rdi
call fcn.1401897a0
cmp byte [rdi + 0x67], 0
jne 0x14012cb8f
test ebx, ebx
jne 0x14012cb8f
xor esi, esi
mov ebx, esi
jmp 0x14012cb9d
mov edx, ebx
mov rcx, rdi
call fcn.1400f41e0
mov ebx, eax
xor esi, esi
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14012cbac
call qword [0x1402cd320]
mov rcx, r14
test ebx, ebx
jne 0x14012c9e7
mov rax, qword [r14]
movsxd rcx, r15d
mov byte [rcx + rax], bl
mov rax, qword [r14]
mov byte [rcx + rax + 1], bl
mov rax, qword [r14]
movzx ecx, byte [rax + 2]
movzx eax, byte [rax + 3]
shl ecx, 8
add ecx, eax
mov dword [r14 + 0xc], ecx
jmp 0x14012c9ef
mov dword [rbp + 0x3c], 7
inc r13d
mov rsi, qword [rsp + 0x48]
inc rdi
cmp dword [rbp + 0x3c], 0
mov dword [rsp + 0x44], r13d
mov qword [rsp + 0x58], rdi
je 0x14012c620
jmp 0x14012d15e
cmp dword [rsp + 0xc8], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsi + 4], eax
mov eax, dword [rsi]
jne 0x14012cc4e
xor edi, edi
mov ebx, edi
test eax, eax
jle 0x14012d160
nop dword [rax]
movsxd rcx, ebx
shl rcx, 5
add rcx, 8
add rcx, r14
call fcn.14012d410
inc ebx
cmp ebx, dword [rsi]
jl 0x14012cc30
jmp 0x14012d160
cmp dword [rbp + 0x3c], 0
lea esi, [rax - 1]
mov dword [rsp + 0x44], esi
jne 0x14012d15b
movsxd rdi, esi
mov rcx, r14
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x48], rcx
nop
test rdi, rdi
js 0x14012cfb1
mov r13, rdi
shl r13, 5
add r13, rcx
lea rcx, [r13 + 8]
call fcn.14012d410
test eax, eax
je 0x14012cc83
xor eax, eax
mov dword [r13 + 0x14], eax
test rdi, rdi
jle 0x14012cf94
mov rbx, qword [r13 - 0x18]
test rbx, rbx
je 0x14012cd02
cmp dword [0x1402cd290], eax
je 0x14012ccf9
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x14012ccc2
call qword [0x1402cd310]
mov rcx, rbx
call qword [0x1402cd2c8]
dec qword [0x1402d3a38]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x1402d39f0], rdx
call qword [0x1402cd2b8]
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x14012cd02
call qword [0x1402cd320]
jmp 0x14012cd02
mov rcx, rbx
call qword [0x1402cd2b8]
xorps xmm0, xmm0
lea eax, [rsi - 1]
movups xmmword [r13 - 0x18], xmm0
movups xmmword [r13 - 8], xmm0
movsxd rdx, dword [r14 + 4]
shl rdx, 6
add rdx, 0x20
movsxd r14, eax
movsxd rax, dword [r13 + 0x1c]
add r14, rdx
shl r14, 0x1f
xor edx, edx
add r14, rax
mov r12d, edx
cmp dword [rbp + 0x3c], edx
jne 0x14012cf8b
mov rdi, qword [rbp + 0x48]
lea r15, [rbp + 0x48]
mov ebx, edx
test rdi, rdi
je 0x14012cef1
mov qword [r15], rdx
mov rsi, qword [rdi + 0x20]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14012cd68
call qword [0x1402cd310]
xor edx, edx
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14012cd78
mov ebx, 4
jmp 0x14012cdc6
mov dword [rax + 0x34], edx
lea r8, [rsp + 0x60]
mov rdx, r14
mov rcx, rdi
call fcn.1400f7070
mov ebx, eax
test eax, eax
je 0x14012cdc6
mov rbp, qword [rsp + 0x60]
xor eax, eax
mov r8d, eax
test rbp, rbp
lea rax, [0x14028c848]
mov r9, rbp
cmovne r8, rax
mov edx, ebx
mov rcx, rsi
call fcn.1401898a0
test rbp, rbp
je 0x14012cdc6
mov rdx, rbp
mov rcx, rsi
call fcn.140186b70
cmp byte [rsi + 0x67], r12b
jne 0x14012cdd6
test ebx, ebx
jne 0x14012cdd6
xor ebp, ebp
mov ebx, ebp
jmp 0x14012cde4
mov edx, ebx
mov rcx, rsi
call fcn.1400f41e0
mov ebx, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14012cdf3
call qword [0x1402cd320]
mov qword [r15], rdi
test ebx, ebx
je 0x14012ceef
mov qword [r15], rbp
mov rsi, qword [rdi + 0x20]
mov rbp, qword [rdi + 0x18]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14012ce18
call qword [0x1402cd310]
cmp rdi, qword [rsi + 0x1f0]
jae 0x14012ce5c
cmp rdi, qword [rsi + 0x1e0]
jb 0x14012ce40
mov rax, qword [rsi + 0x1d8]
mov qword [rdi], rax
mov qword [rsi + 0x1d8], rdi
jmp 0x14012cecd
cmp rdi, qword [rsi + 0x1e8]
jb 0x14012ce5c
mov rax, qword [rsi + 0x1c8]
mov qword [rdi], rax
mov qword [rsi + 0x1c8], rdi
jmp 0x14012cecd
cmp qword [rsi + 0x308], r12
je 0x14012ce72
mov rdx, rdi
mov rcx, rsi
call fcn.14015d0a0
jmp 0x14012cecd
cmp dword [0x1402cd290], r12d
je 0x14012cec4
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x14012ce8d
call qword [0x1402cd310]
mov rcx, rdi
call qword [0x1402cd2c8]
dec qword [0x1402d3a38]
movsxd rcx, eax
sub qword [0x1402d39f0], rcx
mov rcx, rdi
call qword [0x1402cd2b8]
mov rcx, qword [0x1402d3ab0]
test rcx, rcx
je 0x14012cecd
call qword [0x1402cd320]
jmp 0x14012cecd
mov rcx, rdi
call qword [0x1402cd2b8]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14012cedc
call qword [0x1402cd320]
mov rcx, rbp
call fcn.1400c13a0
cmp ebx, 4
mov rdx, r12
cmove ebx, edx
jmp 0x14012cef1
xor edx, edx
cmp qword [r15], r12
jne 0x14012cf2c
test ebx, ebx
jne 0x14012cf2c
mov r8, qword [rsp + 0xc0]
lea r9, str.block
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r14
mov rcx, qword [r8]
mov r8, qword [r8 + 8]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.1400c6e20
mov ebx, eax
cmp ebx, 1
jne 0x14012cf38
mov ebx, 0x10b
jmp 0x14012cf71
test ebx, ebx
jne 0x14012cf71
mov rax, qword [r15]
test rax, rax
je 0x14012cf51
cmp qword [rax + 0x18], r12
je 0x14012cf51
mov r14d, dword [rax]
xor ebp, ebp
jmp 0x14012cf56
xor ebp, ebp
mov r14d, ebp
call fcn.1401e45d0
test eax, eax
je 0x14012cfbb
mov rcx, rbp
mov ebx, 7
call fcn.1400ea860
xor eax, eax
mov r12d, eax
mov rbp, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x58]
mov esi, dword [rsp + 0x44]
inc dword [rbp + 0x80]
mov dword [rbp + 0x3c], ebx
mov r14, qword [rsp + 0x50]
mov qword [r13 - 0x18], r12
mov rcx, qword [rsp + 0x48]
dec esi
dec rdi
mov dword [rsp + 0x44], esi
cmp dword [rbp + 0x3c], 0
mov qword [rsp + 0x58], rdi
je 0x14012cc70
mov rsi, qword [rsp + 0x48]
jmp 0x14012d15e
movsxd rcx, r14d
add rcx, 0x24
call fcn.1401aeec0
mov r12, rax
mov rcx, rax
test rax, rax
je 0x14012cf62
lea rbx, [rax + 0x10]
mov dword [rax + 8], r14d
mov qword [rax], rbx
mov rsi, qword [r15]
test rsi, rsi
jne 0x14012d01c
lea rax, [0x140294bd4]
mov r9d, 0x1910e
lea r8, str.misuse
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.1400cbad0
mov rcx, r12
mov ebx, 0x15
jmp 0x14012cf67
mov rdi, qword [rsi + 0x20]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14012d02f
call qword [0x1402cd310]
mov r15, qword [rsi + 0x18]
test r14d, r14d
js 0x14012d0e6
cmp r14d, dword [rsi]
jg 0x14012d0e6
test r15, r15
jne 0x14012d057
mov ebx, 4
mov dword [rdi + 0x50], ebx
jmp 0x14012d0f0
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x14012d073
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x14012d073
call fcn.1400f8620
mov rcx, qword [rsi + 0x10]
mov r9, rbx
mov edx, dword [rsi + 4]
mov r8d, r14d
cmp byte [rcx], 0
jne 0x14012d090
mov dword [rsp + 0x20], ebp
call fcn.1400f01c0
jmp 0x14012d095
call fcn.1400f0670
mov ebx, eax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x11], 0
je 0x14012d0b0
sub dword [rcx + 0x14], 1
jne 0x14012d0b0
call fcn.1401e7470
cmp ebx, 4
jne 0x14012d0c8
mov rcx, r15
call fcn.1401d2f10
xor eax, eax
mov qword [rsi + 0x18], rax
mov dword [rdi + 0x50], ebx
jmp 0x14012d0f0
mov dword [r15 + 0x34], ebx
mov dword [rdi + 0x50], ebx
test ebx, ebx
jne 0x14012d0f0
cmp qword [rdi + 0x190], 0
jne 0x14012d0f0
mov dword [rdi + 0x54], 0xffffffff
jmp 0x14012d0fa
mov eax, 1
mov ebx, eax
mov dword [rdi + 0x50], eax
mov edx, ebx
mov rcx, rdi
call fcn.1401897a0
cmp byte [rdi + 0x67], 0
jne 0x14012d108
test ebx, ebx
jne 0x14012d108
xor eax, eax
jmp 0x14012d112
mov edx, ebx
mov rcx, rdi
call fcn.1400f41e0
mov rcx, qword [rdi + 0x18]
mov ebx, eax
test rcx, rcx
je 0x14012d123
call qword [0x1402cd320]
mov rcx, r12
test ebx, ebx
jne 0x14012cf67
mov rax, qword [r12]
movsxd rcx, r14d
mov byte [rcx + rax], bl
mov rax, qword [r12]
mov byte [rax + rcx + 1], bl
mov rax, qword [r12]
movzx ecx, byte [rax + 2]
movzx eax, byte [rax + 3]
shl ecx, 8
add ecx, eax
mov dword [r12 + 0xc], ecx
jmp 0x14012cf71
mov rsi, r14
xor edi, edi
cmp dword [rbp + 0x3c], 0
mov rbp, qword [rsp + 0x98]
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa0]
je 0x14012d1a8
mov rcx, rsi
call fcn.14012c4a0
mov rax, rdi
add rsp, 0xa8
pop rdi
pop rsi
ret
mov rax, rsi
add rsp, 0xa8
pop rdi
pop rsi
ret