Function at 0x1400430e0
Capabilities:
Link many functions at runtime
Query environment variable

Disassembly:
endbr64
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x168
xor r15d, r15d
mov rax, qword [0x140003350]
mov edx, 0x100
xor rax, rsp
pxor xmm0, xmm0
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x130], r15d
mov byte [rsp + 0x134], r15b
movups xmmword [rsp + rdx + 0x20], xmm0
movups xmmword [rsp + rdx + 0x10], xmm0
movups xmmword [rsp + rdx], xmm0
movups xmmword [rsp + rdx - 0x10], xmm0
sub rdx, 0x40
jne 0x14004312c
movups xmmword [rsp + 0x140], xmm0
movq qword [rsp + 0x150], xmm0
lea rdx, [0x14000c070]
lea r13, [0x14000c060]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], r13
cmp qword [0x140053fe0], 0
je 0x140043609
lea rcx, [0x140053fe0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140003380], 0xffffffffffffffff
je 0x1400435d0
lea rcx, [0x14000c07c]
lea rdx, [rsp + 0x30]
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov r14d, eax
test r14, r14
je 0x1400431d7
mov edx, 0x105
lea rcx, [rsp + 0x30]
lea r8, [0x14000c088]
call fcn.140047764
add r14, 0xa
xor eax, eax
cmp qword [rsp + 0x20], 0
jne 0x140043247
mov rbp, r13
mov r13, rax
cmp qword [rsp + r13*8 + 0x140], 0
je 0x14004358e
mov edx, 0x105
lea rcx, [rsp + 0x30]
mov r8, qword [rsp + r13*8 + 0x140]
mov byte [rsp + r14 + 0x30], 0
call fcn.140047764
mov ecx, 1
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov r15d, eax
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x140043565
cmp rbp, qword [rsp + r13*8 + 0x140]
je 0x1400433ff
mov r14d, 1
mov r13d, 0x10
lea rbp, [0x140000000]
mov rdx, qword [rbp + r13 + 0x3388]
mov rcx, qword [rsp + 0x20]
inc rdx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400433bc
mov qword [rbp + r13 + 0x3380], rax
inc r14
add r13, 0x10
cmp r14, 0x32
jl 0x14004325a
cmp r15d, 0xffffffff
je 0x1400432da
lea rcx, [0x140053fe0]
mov qword [0x140003380], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
cmp rcx, qword [0x140003350]
jne 0x1400432d5
mov eax, r15d
add rsp, 0x168
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400513d0
mov rdx, qword [0x140003690]
lea rcx, [0x140043630]
cmp rcx, qword [0x1400033e0]
jne 0x1400432ff
lea r8, [0x140043640]
mov qword [0x1400033e0], r8
cmp rcx, qword [0x140003570]
jne 0x140043316
lea r8, [0x140043640]
mov qword [0x140003570], r8
cmp rcx, qword [0x140003590]
jne 0x14004332d
lea r8, [0x140043640]
mov qword [0x140003590], r8
cmp rcx, qword [0x1400035a0]
jne 0x140043344
lea r8, [0x140043640]
mov qword [0x1400035a0], r8
cmp rcx, qword [0x1400035b0]
jne 0x14004335b
lea r8, [0x140043640]
mov qword [0x1400035b0], r8
cmp rcx, qword [0x1400035c0]
jne 0x140043372
lea r8, [0x140043640]
mov qword [0x1400035c0], r8
cmp rcx, qword [0x140003650]
jne 0x140043389
lea r8, [0x140043640]
mov qword [0x140003650], r8
cmp rcx, qword [0x140003670]
jne 0x1400433a0
lea r8, [0x140043640]
mov qword [0x140003670], r8
cmp rdx, rcx
jne 0x140043294
lea rdx, [0x140043620]
mov qword [0x140003690], rdx
jmp 0x140043294
mov rdx, qword [rbp + r13 + 0x3380]
test rdx, rdx
je 0x1400433eb
cmp rdx, r14
jge 0x140043281
shl rdx, 4
mov rdx, qword [rbp + rdx + 0x3380]
mov qword [rbp + r13 + 0x3380], rdx
jmp 0x140043281
lea rdx, [0x140043630]
mov qword [rbp + r13 + 0x3380], rdx
jmp 0x140043281
mov rcx, rdi
lea rdx, [0x14000bfc5]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
lea rdx, [0x14000bfd9]
mov qword [0x1400540d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140043434
mov qword [0x1400540b0], rax
jmp 0x140043442
lea rdx, [0x140043630]
mov qword [0x1400540b0], rdx
mov rcx, rdi
lea rdx, [0x14000bfd9]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140043460
mov qword [0x1400540b0], rax
jmp 0x14004346e
lea rdx, [0x140043630]
mov qword [0x1400540b0], rdx
mov rcx, rdi
lea rdx, [0x14000bff5]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004348c
mov qword [0x1400540b8], rax
jmp 0x14004349a
lea rdx, [0x140043630]
mov qword [0x1400540b8], rdx
mov rcx, rdi
lea rdx, [0x14000c011]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400434b8
mov qword [0x1400540c0], rax
jmp 0x1400434c6
lea rdx, [0x140043630]
mov qword [0x1400540c0], rdx
mov rcx, rdi
lea rdx, [0x14000c02d]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400434e4
mov qword [0x1400540c8], rax
jmp 0x1400434f2
lea rdx, [0x140043630]
mov qword [0x1400540c8], rdx
mov rcx, rdi
lea rdx, [0x14000c049]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140043510
mov qword [0x1400540d0], rax
jmp 0x14004351e
lea rdx, [0x140043630]
mov qword [0x1400540d0], rdx
xor ecx, ecx
call qword [0x1400540d8]
mov ecx, 1
mov qword [0x140054020], rax
call qword [0x1400540d8]
mov ecx, 2
mov qword [0x140054050], rax
call qword [0x1400540d8]
inc r13
mov qword [0x140054080], rax
cmp qword [rsp + 0x20], 0
je 0x1400431e7
jmp 0x140043247
xor edx, edx
lea rcx, [rsp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
mov qword [rsp + 0x20], rdi
test rdi, rdi
jne 0x140043239
inc r13
jmp 0x1400431e7
xor dl, dl
xor eax, eax
lea rcx, [0x140043630]
lea r8, [0x140000000]
inc dl
mov qword [r8 + rax + 0x3390], rcx
mov qword [r8 + rax + 0x33a0], rcx
add rax, 0x20
cmp dl, 0x18
jb 0x1400435a0
mov rdx, rcx
mov r15d, 0xffffffff
mov qword [0x140003690], rdx
jmp 0x1400432e8
lea rcx, [0x140053fe0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
cmp rcx, qword [0x140003350]
jne 0x1400432d5
xor eax, eax
add rsp, 0x168
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [0x140053fe0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x140043182