Function at 0x140007076
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push rbp
mov edx, 0x400000
mov r9d, 4
xor ecx, ecx
mov r8d, 0x3000
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x90
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, 0x400000
test rax, rax
jne 0x1400070ba
mov eax, 0x10
xor edx, edx
mov r8d, 1
mov qword [rsp + 0x80], rax
add rax, rdx
lea rcx, [rsp + 0x80]
mov edx, 0x98
mov qword [rsp + 0x88], rax
lea rdi, [rsp + 0x7c]
call fcn.140001c41
mov r12, qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov rbx, rax
mov rax, qword [rsp + 0x80]
mov byte [rbx + 0x94], 0x3b
mov qword [rbx], rax
mov rax, qword [rsp + 0x88]
mov dword [rbx + 0x90], 1
mov qword [rbx + 8], rax
call r12
mov rdx, rdi
mov rsi, qword [sym.imp.KERNEL32.dll_GetConsoleMode]
movsxd rcx, eax
mov dword [0x14000900c], eax
call rsi
mov ecx, 0xfffffff4
mov dword [0x140009010], eax
call r12
mov rdx, rdi
lea rdi, [0x1400086d4]
movsxd rcx, eax
mov dword [0x140009018], eax
call rsi
mov r8d, 0x7000
mov edx, 8
mov rcx, rbx
mov dword [0x14000901c], eax
call fcn.140001c41
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsi + 0x20000]
xor r10d, r10d
mov ecx, 6
mov qword [rsi], rdx
mov r9, rax
mov r8d, 1
movzx eax, word [r9]
test ax, ax
je 0x140007434
mov r12d, eax
lea r11, [r9 + 2]
sar r12d, 0xa
cmp r12d, 0x36
jne 0x1400071da
movzx r12d, word [r9 + 2]
mov r13d, r12d
shr r13w, 0xa
cmp r13w, 0x37
jne 0x1400071da
shl eax, 0xa
lea r11, [r9 + 4]
lea eax, [rax + r12 - 0x35fdc00]
cmp ecx, 8
ja case.default.0x1400071ed
mov r9d, ecx
movsxd r9, dword [rdi + r9*4]
add r9, rdi
jmp r9
movsxd r9, r8d
lea r9, [rsi + r9*8]
cmp eax, 0x22
je 0x140007228
jg 0x140007212
cmp eax, 9
je 0x14000742c
cmp eax, 0x20
je 0x14000742c
jmp 0x140007233
cmp eax, 0x5c
jne 0x140007233
mov qword [r9], rdx
inc r8d
mov r10d, 1
jmp 0x140007342
mov qword [r9], rdx
inc r8d
jmp 0x140007420
mov qword [r9], rdx
inc r8d
mov ecx, 1
jmp case.default.0x1400071ed
cmp eax, 0x22
je 0x140007420
jle case.0x1400071ed.7
cmp eax, 0x5c
jne case.default.0x1400071ed
mov r10d, ecx
jmp 0x140007342
cmp eax, 0x22
je 0x140007427
cmp eax, 0x5c
jne case.default.0x1400071ed
mov r10d, 1
mov ecx, 4
jmp case.default.0x1400071ed
cmp eax, 0x22
je 0x140007291
cmp eax, 0x5c
je 0x1400072d8
jmp 0x1400072af
lea r9d, [r10 + 1]
sar r9d, 1
movsxd r9, r9d
sub rdx, r9
test r10d, 1
je 0x1400072c6
sub ecx, 2
jmp case.default.0x1400071ed
mov r9, 0xfffffffffffffffe
cmp eax, 0xffff
jle 0x1400072cd
mov r9, 0xfffffffffffffffc
jmp 0x1400072cd
mov r9, 0xfffffffffffffffe
add r11, r9
sub ecx, 2
jmp 0x14000742c
inc r10d
jmp case.default.0x1400071ed
mov ecx, 1
cmp eax, 0x22
je case.default.0x1400071ed
mov rcx, 0xfffffffffffffffe
cmp eax, 0xffff
jle 0x1400072fc
mov rcx, 0xfffffffffffffffc
add r11, rcx
mov ecx, 1
jmp 0x14000742c
cmp eax, 0x20
je 0x140007335
mov ecx, 8
cmp eax, 0x22
je 0x14000742c
mov ecx, 7
cmp eax, 9
jmp 0x140007333
cmp eax, 9
je 0x140007335
cmp eax, 0x20
jmp 0x140007333
cmp eax, 0x22
jne case.default.0x1400071ed
mov byte [rdx], 0
xor ecx, ecx
inc rdx
jmp 0x14000742c
mov ecx, 3
xor r9d, r9d
cmp eax, 0x7f
setg r9b
xor r12d, r12d
cmp eax, 0x7ff
setg r12b
add r9d, r12d
xor r12d, r12d
cmp eax, 0xffff
setg r12b
add r9d, r12d
cmp r9d, 2
je 0x1400073ab
cmp r9d, 3
je 0x1400073dc
dec r9d
je 0x14000738a
mov byte [rdx], al
inc rdx
jmp 0x14000742c
mov r9d, eax
and eax, 0x3f
add rdx, 2
sar r9d, 6
or eax, 0xffffff80
or r9d, 0xffffffc0
mov byte [rdx - 1], al
mov byte [rdx - 2], r9b
jmp 0x14000742c
mov r9d, eax
add rdx, 3
sar r9d, 0xc
or r9d, 0xffffffe0
mov byte [rdx - 3], r9b
mov r9d, eax
and eax, 0x3f
sar r9d, 6
or eax, 0xffffff80
and r9d, 0x3f
mov byte [rdx - 1], al
or r9d, 0xffffff80
mov byte [rdx - 2], r9b
jmp 0x14000742c
mov r9d, eax
add rdx, 4
sar r9d, 0x12
or r9d, 0xfffffff0
mov byte [rdx - 4], r9b
mov r9d, eax
sar r9d, 0xc
and r9d, 0x3f
or r9d, 0xffffff80
mov byte [rdx - 3], r9b
mov r9d, eax
and eax, 0x3f
sar r9d, 6
or eax, 0xffffff80
and r9d, 0x3f
mov byte [rdx - 1], al
or r9d, 0xffffff80
mov byte [rdx - 2], r9b
jmp 0x14000742c
mov ecx, 2
jmp 0x14000742c
mov ecx, 5
mov r9, r11
jmp 0x140007199
mov byte [rdx], 0
movsxd rax, r8d
xor edx, edx
dec r8d
mov qword [rsi + rax*8], rdx
movsxd r8, r8d
mov edx, 0x10
mov rcx, rbx
mov qword [rbx + 0x18], r8
call fcn.140001c41
mov r10, qword [rbx + 0x18]
xor edx, edx
mov qword [rbx + 0x10], rax
cmp r10, rdx
jle 0x140007493
mov r9, qword [rsi + rdx*8 + 8]
xor ecx, ecx
test r9, r9
je 0x140007483
xor r8d, r8d
mov rcx, r8
inc r8
cmp byte [r9 + r8 - 1], 0
jne 0x140007475
mov qword [rax], r9
inc rdx
add rax, 0x10
mov qword [rax - 8], rcx
jmp 0x140007461
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
mov edx, 0x7fffffff
mov ecx, 2
sub rax, rdi
cmp rax, rdx
cmovg rax, rdx
cdq
idiv ecx
mov rdx, rdi
xor ecx, ecx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cdqe
lea rdx, [rax + rax]
add rdx, rdi
mov qword [rbx], rdx
xor edx, edx
cmp rax, rdx
jle 0x1400074e4
cmp word [rdi + rdx*2], 0x5c
jne 0x1400074df
mov word [rdi + rdx*2], 0x2f
inc rdx
jmp 0x1400074cd
lea rsi, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x58], rax
mov rcx, rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x28], rsi
call fcn.140001c97
movups xmm0, xmmword [rsp + 0x60]
mov qword [rbx], rdi
lea rdi, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
movaps xmmword [rsp + 0x40], xmm0
call fcn.140001430
movups xmm1, xmmword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
movaps xmmword [rsp + 0x40], xmm1
call fcn.140001430
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
lea r8, str.PKG_CONFIG_PATH
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
call fcn.14000204e
movups xmm2, xmmword [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rsp + 0x28]
lea r8, str.PKG_CONFIG_LIBDIR
movups xmmword [rbx + 0x20], xmm2
call fcn.14000204e
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x30], rax
mov rdx, rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x38], rax
test rdx, rdx
jne 0x1400076bd
mov rcx, qword [rsp + 0x28]
lea r8, [r12 + r12 + 0x45]
mov rdx, rbx
lea r13, [rsp + 0x30]
call fcn.140001d94
mov rsi, qword [rsp + 0x60]
mov r8, r13
mov rdx, rdi
mov r15, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x38], r12
call fcn.140001802
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov r8, r13
mov qword [rsp + 0x38], 0x21
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, str._x86_64_w64_mingw32_lib_pkgconfig
mov qword [rsp + 0x48], rdx
mov rdx, rdi
mov qword [rsp + 0x30], rax
call fcn.140001802
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov r8, r13
mov qword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, str._PKG_CONFIG_TOP_BUILD_DIR
mov qword [rsp + 0x48], rdx
mov rdx, rdi
mov qword [rsp + 0x30], rax
call fcn.140001802
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov r8, r13
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x48], rdx
mov rdx, rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
call fcn.140001802
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov r8, r13
mov qword [rsp + 0x38], 0x23
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, str._x86_64_w64_mingw32_share_pkgconfig
mov qword [rsp + 0x48], rdx
mov rdx, rdi
mov qword [rsp + 0x30], rax
call fcn.140001802
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], r15
mov rcx, qword [rsp + 0x28]
lea r8, [0x1400085f4]
mov rdx, rbx
lea r13, [rsp + 0x30]
call fcn.14000204e
movups xmm3, xmmword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
lea r8, [r12 + 0x1b]
movups xmmword [rbx + 0x40], xmm3
call fcn.140001d94
mov rsi, qword [rsp + 0x60]
mov r8, r13
mov rdx, rdi
mov r15, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x38], r12
call fcn.140001802
movups xmm4, xmmword [rsp + 0x60]
mov r8, r13
mov rdx, rdi
mov rcx, qword [rsp + 0x28]
lea rax, str._x86_64_w64_mingw32_include
mov qword [rsp + 0x38], 0x1b
movaps xmmword [rsp + 0x40], xmm4
mov qword [rsp + 0x30], rax
call fcn.140001802
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
mov qword [rbx + 0x50], rsi
lea r8, [r12 + 0x17]
mov qword [rbx + 0x58], r15
call fcn.140001d94
mov rsi, qword [rsp + 0x60]
mov r8, r13
mov rdx, rdi
mov r15, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x38], r12
call fcn.140001802
movups xmm5, xmmword [rsp + 0x60]
mov r8, r13
mov rdx, rdi
mov rcx, qword [rsp + 0x28]
lea rax, str._x86_64_w64_mingw32_lib
mov qword [rsp + 0x38], 0x17
mov qword [rsp + 0x30], rax
movaps xmmword [rsp + 0x40], xmm5
call fcn.140001802
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
mov qword [rbx + 0x60], rsi
lea r8, str.PKG_CONFIG_ALLOW_SYSTEM_CFLAGS
mov qword [rbx + 0x68], r15
call fcn.14000204e
movups xmm0, xmmword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov rdx, rbx
lea r8, str.PKG_CONFIG_ALLOW_SYSTEM_LIBS
movups xmmword [rbx + 0x70], xmm0
call fcn.14000204e
movups xmm1, xmmword [rsp + 0x60]
mov rcx, rbx
movups xmmword [rbx + 0x80], xmm1
call fcn.140003a12
mov ecx, dword [0x140009014]
or ecx, dword [0x140009020]
je 0x140007825
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]