Function at 0x1401d1060
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
mov qword [rdx], 0
mov r15, rcx
mov rbx, rdx
mov r14, r9
mov dword [rsp + 0xc0], r8d
mov r8d, dword [0x140241ed4]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
test r8d, r8d
jne 0x1401d10d8
call fcn.140149b40
mov r13d, eax
test eax, eax
jne 0x1401d10be
call fcn.14018d4f0
mov r13d, eax
test eax, eax
je 0x1401d10db
mov eax, r13d
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mfence
xor r13d, r13d
cmp byte [0x140241d84], 0
mov eax, dword [rsp + 0xc0]
je 0x1401d10f7
test ah, 0x80
je 0x1401d14a2
test eax, 0x40000
je 0x1401d148a
and eax, 0xfffdffff
and eax, 0xfff600e7
mov ecx, 0x2f8
mov dword [rsp + 0xc0], eax
call fcn.14014dcb0
mov r12, rax
test rax, rax
je 0x1401d1428
lea rdi, [rax + 8]
mov rcx, rax
mov qword [rax], 0
mov qword [rax + 0x2f0], 0
and rdi, 0xfffffffffffffff8
xor eax, eax
sub rcx, rdi
add ecx, 0x2f8
shr ecx, 3
rep stosq qword [rdi], rax
test r13d, r13d
je 0x1401d118b
cmp byte [0x140241d84], 0
je 0x1401d16d0
mov ecx, 1
call qword [0x140241df0]
mov qword [r12 + 0x18], rax
mov rcx, rax
test rax, rax
je 0x1401d16d0
call qword [0x140241e00]
mov eax, dword [rsp + 0xc0]
mov byte [r12 + 0x6d], 0x6d
mov rcx, r12
lea rdi, [0x14014a280]
movdqa xmm0, xmmword [0x140377080]
movdqa xmm1, xmmword [0x140377090]
mov byte [r12 + 0x61], 1
mov r8d, 1
and eax, 0x2000000
mov byte [r12 + 0x66], 0xff
movups xmmword [r12 + 0x88], xmm0
cmp eax, 1
movups xmmword [r12 + 0x98], xmm1
sbb eax, eax
xor edx, edx
xor r9d, r9d
mov word [r12 + 0x194], dx
mov rdx, qword [0x1403770a0]
and eax, 0x100
mov dword [r12 + 0x28], 2
sub eax, 1
mov qword [r12 + 0xa8], rdx
mov edx, dword [0x1403770a8]
mov dword [r12 + 0x54], eax
lea rax, [r12 + 0x288]
mov dword [r12 + 0xb0], edx
lea rdx, str.BINARY
mov qword [r12 + 0x20], rax
mov rax, qword [0x140241ea8]
mov dword [r12 + 0x190], 1
mov qword [r12 + 0x40], rax
lea rax, [0x140241d40]
mov qword [r12 + 0xd0], rax
mov eax, 0xe00480e0
or qword [r12 + 0x30], rax
mov dword [r12 + 0xb4], 0
mov dword [r12 + 0x70], 0
mov qword [r12 + 0x258], 0
mov qword [r12 + 0x260], 0
mov qword [r12 + 0x268], 0
mov qword [r12 + 0x210], 0
mov qword [r12 + 0x218], 0
mov qword [r12 + 0x220], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
call fcn.140188bf0
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x28], 0
mov r8d, 3
lea rdx, str.BINARY
call fcn.140188bf0
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x28], 0
mov r8d, 2
lea rdx, str.BINARY
call fcn.140188bf0
lea rax, [0x140152b60]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rdx, str.NOCASE
mov rcx, r12
call fcn.140188bf0
lea rax, [0x14014a2b0]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rdx, str.RTRIM
mov rcx, r12
call fcn.140188bf0
cmp byte [r12 + 0x63], 0
jne 0x1401d1418
mov eax, dword [rsp + 0xc0]
mov edx, 0x46
mov dword [r12 + 0x4c], eax
and eax, 7
bt edx, eax
jae 0x1401d169c
lea rax, [rsp + 0x50]
mov rdx, r15
mov r9, r12
mov rcx, r14
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
lea r8, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
call fcn.1401a5c60
mov edx, eax
test eax, eax
je 0x1401d14c0
cmp eax, 7
jne 0x1401d13ee
mov rcx, r12
mov dword [rsp + 0x3c], eax
call fcn.14014d190
mov edx, dword [rsp + 0x3c]
mov r9, qword [rsp + 0x50]
mov eax, 0
lea r8, [0x14036d099]
mov rcx, r12
test r9, r9
cmove r8, rax
call fcn.140187fa0
mov rcx, qword [rsp + 0x50]
call fcn.14014ac00
mov rcx, qword [r12 + 0x18]
test rcx, rcx
je 0x1401d1428
call qword [0x140241e10]
mov rcx, r12
call fcn.140176c10
mov r13d, eax
cmp al, 7
je 0x1401d168a
test eax, eax
je 0x1401d1445
mov byte [r12 + 0x6d], 0xba
mov rax, qword [rsp + 0x48]
mov qword [rbx], r12
test rax, rax
jne 0x1401d1464
jmp 0x1401d10be
sub rax, 1
cmp byte [rax - 1], 0
jne 0x1401d1460
cmp byte [rax - 2], 0
jne 0x1401d1460
cmp byte [rax - 3], 0
jne 0x1401d1460
cmp byte [rax - 4], 0
jne 0x1401d1460
lea rcx, [rax - 4]
call fcn.14014ac00
jmp 0x1401d10be
mov ecx, dword [0x140241ecc]
test ecx, ecx
je 0x1401d1107
or eax, 0x20000
jmp 0x1401d1107
mov r13d, 1
test eax, 0x10000
jne 0x1401d10f7
movzx r13d, byte [0x140241d85]
jmp 0x1401d10f7
mov eax, dword [rsp + 0xc0]
mov rdx, qword [r12 + 0x20]
mov r8, r12
mov dword [rsp + 0x20], 0
or ah, 1
lea r9, [rdx + 8]
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rcx, qword [r12]
call fcn.1401b51b0
mov edx, eax
test eax, eax
jne 0x1401d171c
mov rdi, qword [r12 + 0x20]
mov rdx, qword [rdi + 8]
cmp byte [rdx + 0x11], 0
je 0x1401d1524
add dword [rdx + 0x14], 1
cmp byte [rdx + 0x12], 0
jne 0x1401d1524
mov rcx, rdx
call fcn.14014fd90
mov rdi, qword [r12 + 0x20]
mov rdx, qword [rdi + 8]
mov rcx, r12
call fcn.140161940
mov qword [rdi + 0x18], rax
cmp byte [r12 + 0x63], 0
je 0x1401d16e0
mov rdi, qword [r12 + 0x20]
mov rcx, qword [rdi + 8]
cmp byte [rcx + 0x11], 0
je 0x1401d155b
sub dword [rcx + 0x14], 1
jne 0x1401d155b
call fcn.140145f90
mov rdi, qword [r12 + 0x20]
xor edx, edx
mov rcx, r12
lea rsi, str.main
call fcn.140161940
mov qword [rdi + 0x38], rax
mov rax, qword [r12 + 0x20]
mov qword [rax], rsi
lea rsi, [0x14036ca15]
mov byte [rax + 0x10], 3
mov qword [rax + 0x20], rsi
mov byte [rax + 0x30], 1
cmp byte [r12 + 0x63], 0
mov byte [r12 + 0x6d], 0x76
jne 0x1401d1418
cmp qword [r12 + 0x180], 0
mov dword [r12 + 0x50], 0
je 0x1401d15bb
xor edx, edx
mov rcx, r12
call fcn.140155760
mov r8d, 2
lea rdx, str.MATCH
mov rcx, r12
call fcn.1401944b0
cmp eax, 7
je 0x1401d185c
mov rcx, r12
call fcn.140176c10
test eax, eax
jne 0x1401d161b
mov edi, 1
lea rax, [0x1401a8390]
lea rsi, [0x1403770b0]
mov rcx, r12
call rax
test eax, eax
jne 0x1401d161b
cmp edi, 2
jg 0x1401d173b
mov rax, qword [rsi + rdi*8]
mov rcx, r12
add rdi, 1
call rax
test eax, eax
je 0x1401d1601
mov dword [r12 + 0x50], eax
mov edx, eax
mov rcx, r12
call fcn.140155760
mov r9d, dword [0x140241d98]
mov r8d, dword [0x140241d94]
mov rcx, r12
xor edx, edx
call fcn.14014df60
mov rcx, qword [r12 + 0x18]
test rcx, rcx
je 0x1401d183c
call qword [0x140241e00]
mov rcx, qword [r12 + 0x18]
lea rax, [0x1401d1e70]
mov qword [r12 + 0x160], 0x3e8
mov qword [r12 + 0x158], rax
test rcx, rcx
je 0x1401d1428
call qword [0x140241e10]
jmp 0x1401d1418
mov rcx, r12
xor edx, edx
xor r12d, r12d
call fcn.1401b1fb0
jmp 0x1401d1445
lea rax, [0x14036c43c]
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0x297bb
mov ecx, 0x15
mov qword [rsp + 0x20], rax
lea r8, str.misuse
call fcn.140172c50
mov edx, 0x15
jmp 0x1401d13ee
mov rcx, r12
xor r12d, r12d
call fcn.14014ac00
jmp 0x1401d1428
mov rax, qword [r12 + 0x20]
xor r8d, r8d
lea rdx, str.BINARY
mov rcx, r12
mov rax, qword [rax + 0x18]
movzx edi, byte [rax + 0x71]
mov byte [r12 + 0x60], dil
call fcn.14015f040
test rax, rax
je 0x1401d1712
lea rdx, [rdi + rdi*4]
lea rax, [rax + rdx*8 - 0x28]
mov qword [r12 + 0x10], rax
jmp 0x1401d153c
cmp eax, 0xc0a
mov eax, 7
mov rcx, r12
cmove edx, eax
mov dword [r12 + 0x50], edx
call fcn.140155760
jmp 0x1401d1418
test eax, eax
jne 0x1401d161b
mov eax, dword [0x140423200]
test eax, eax
je 0x1401d17a5
xor edi, edi
lea r14, [0x140423200]
lea rsi, [rsp + 0x58]
lea r15, fcn.140166260
cmp byte [0x140241d84], 0
je 0x1401d17ba
mov ecx, 2
call qword [0x140241df0]
mov r13, rax
test rax, rax
je 0x1401d17ba
mov rcx, rax
call qword [0x140241e00]
cmp dword [r14], edi
ja 0x1401d1801
mov rcx, r13
call qword [0x140241e10]
mov qword [rsp + 0x58], 0
xor ecx, ecx
call fcn.14014ac00
mov rcx, r12
call fcn.140176c10
test eax, eax
je 0x1401d162a
jmp 0x1401d1418
cmp dword [r14], edi
jbe 0x1401d1795
mov rdx, qword [0x140423208]
mov eax, edi
mov rbp, qword [rdx + rax*8]
mov qword [rsp + 0x58], 0
test rbp, rbp
je 0x1401d1869
mov rdx, rsi
mov r8, r15
mov rcx, r12
call rbp
mov edx, eax
test eax, eax
jne 0x1401d1819
mov rcx, qword [rsp + 0x58]
call fcn.14014ac00
add edi, 1
jmp 0x1401d1762
mov rdx, qword [0x140423208]
mov eax, edi
mov rcx, r13
mov rbp, qword [rdx + rax*8]
call qword [0x140241e10]
jmp 0x1401d17cc
mov r9, qword [rsp + 0x58]
mov rcx, r12
lea r8, str.automatic_extension_loading_failed:__s
call fcn.140187fa0
mov rcx, qword [rsp + 0x58]
call fcn.14014ac00
jmp 0x1401d17a5
lea rax, [0x1401d1e70]
mov qword [r12 + 0x160], 0x3e8
mov qword [r12 + 0x158], rax
jmp 0x1401d1428
mov rcx, r12
call fcn.14014d190
jmp 0x1401d15d9
xor ecx, ecx
jmp 0x1401d17f4