Function at 0x10143da0
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x754
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_5
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x10143df1
push 6
push str.init_5
lea ecx, [ebp - 0x73c]
call fcn.10003740
mov esi, dword [ebp - 0x73c]
add esi, 0xfffffff0
push esi
call fcn.10002a60
add esp, 4
add eax, 0x10
mov dword [ebp - 0x748], eax
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x744]
push str.EXMN
mov dword [ebp - 0x744], eax
call fcn.10023e80
test al, al
jne 0x10143e47
push 4
push str.EXMN
lea ecx, [ebp - 0x744]
call fcn.10003740
mov dword [ebp - 0x740], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
or ebx, 0xffffffff
mov dword [ebp - 0x74c], eax
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10143e74
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, eax
push esi
call sub.msvcrt.dll_srand
add esp, 4
lea eax, [ebp - 0x754]
push str.antiadwa.dll
push eax
call fcn.101b0cc0
add esp, 4
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.10007f40
add esp, 0xc
mov esi, dword [eax]
push 0
call edi
push eax
call fcn.101b13a0
add esp, 8
test eax, eax
jne 0x10143ee5
push esi
call fcn.100a1350
add esp, 4
test eax, eax
jne 0x10143ee5
push 1
push 0x10248918
push esi
call fcn.1001ac50
add esp, 0xc
jmp 0x10143eec
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x73c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10143f09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x754]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10143f26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x20a
lea eax, [ebp - 0x310]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x728]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x51c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
push str.360base.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x10143f7e
mov eax, dword [0x10257d10]
push 0x104
lea ecx, [ebp - 0x310]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x310]
push str...360base.dll
push eax
lea eax, [ebp - 0x51c]
push eax
call esi
lea eax, [ebp - 0x51c]
push eax
call fcn.101417a0
add esp, 4
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_6
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x10143ff6
push 6
push str.init_6
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1014403e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str...360util.dll
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x728]
push eax
call esi
lea eax, [ebp - 0x728]
push eax
call fcn.10148f70
add esp, 4
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_7
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x1014409d
push 6
push str.init_7
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101440df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.101449d0
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_8
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x1014411f
push 6
push str.init_8
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10144161
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.101b28b0
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_9
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x101441a1
push 6
push str.init_9
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101441e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.101b5fd0
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_10
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x10144223
push 7
push str.init_10
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10144265
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.101b0160
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_11
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x101442a5
push 7
push str.init_11
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101442e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10144ca0
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_12
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x10144327
push 7
push str.init_12
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10144369
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10144b30
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_13
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x101443a9
push 7
push str.init_13
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101443eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x1025a784], 0
jne 0x10144570
lea ecx, [ebp - 0x74d]
call fcn.10129b80
cmp dword [0x1025a784], 0
jne 0x10144565
push 0x214
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x10144442
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100270a0
mov dword [esi], eax
mov byte [esi + 0x210], 0
jmp 0x10144444
xor esi, esi
mov dword [0x1025a784], esi
cmp byte [esi + 0x210], 0
jne 0x10144565
push 0
push 0x1a
lea edi, [esi + 8]
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1014455f
push 0x10204534
push 0x104
push edi
call fcn.10026a30
push edi
call fcn.1000aa00
add esp, 4
test eax, eax
je 0x10144493
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x101444ae
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1014455f
xor eax, eax
mov dword [ebp - 0x738], eax
mov dword [ebp - 0x734], eax
mov dword [ebp - 0x730], eax
mov dword [ebp - 0x72c], eax
lea eax, [ebp - 0x738]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x732]
push eax
movzx eax, word [ebp - 0x736]
push eax
movzx eax, word [ebp - 0x738]
push eax
push 0x10204558
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.1000aa70
add esp, 0x18
lea eax, [ebp - 0x104]
push eax
push 0x104
push edi
call fcn.10026a30
push edi
call fcn.1000aa00
add esp, 4
test eax, eax
jne 0x10144551
push eax
push 0x80
push 1
push eax
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10144558
push eax
mov byte [esi + 0x210], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10144558
mov byte [esi + 0x210], 1
mov ecx, esi
call fcn.10024000
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x74d]
call fcn.10129ba0
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_14
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x101445ab
push 7
push str.init_14
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101445ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x1025b480
call fcn.10002e50
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_15
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x10144632
push 7
push str.init_15
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10144674
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x754]
push eax
call fcn.101475c0
mov eax, dword [ebp - 0x754]
mov esi, esp
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x754], eax
call fcn.10002a60
add esp, 4
add eax, 0x10
mov ecx, 0x1025ac18
mov dword [esi], eax
call fcn.10148ad0
mov ecx, dword [0x1025b434]
test ecx, ecx
je 0x101446be
mov eax, dword [ecx]
push 0x1025ac18
push ecx
call dword [eax + 0xc]
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_16
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x101446f9
push 7
push str.init_16
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1014473b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1015ce30
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_17
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x1014477b
push 7
push str.init_17
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101447bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1002c300
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_18
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x101447fd
push 7
push str.init_18
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1014483f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10132850
mov ecx, eax
call fcn.10132560
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_19
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x10144886
push 7
push str.init_19
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101448c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1007f190
mov ecx, eax
call fcn.1007f860
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x73c]
push str.init_20
mov dword [ebp - 0x73c], eax
call fcn.10023e80
test al, al
jne 0x1014490f
push 7
push str.init_20
lea ecx, [ebp - 0x73c]
call fcn.10003740
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x748]
call fcn.10002790
call edi
mov edx, dword [ebp - 0x73c]
mov dword [ebp - 0x74c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10144951
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1012a020
mov ecx, eax
call fcn.1012a050
lea ecx, [ebp - 0x74c]
call fcn.10057dc0
mov edx, dword [ebp - 0x754]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10144982
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x744]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1014499f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x748]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x101449ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret