Function at 0x401a90
Capabilities:
Delete file
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x318
push ebx
push esi
push edi
push 0
lea eax, [esp + 0x224]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, str.Microsoft_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x220]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x220]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x328]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x220]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [esp + 0x10], 0
test esi, esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
je 0x401ebd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FunA
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x401b9e
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
push str.FunB
push esi
call edi
test eax, eax
je 0x401bf1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
push str.FunC
push esi
call edi
test eax, eax
je 0x401c44
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
push str.FunD
push esi
call edi
test eax, eax
je 0x401c97
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
push str.FunE
push esi
call edi
test eax, eax
je 0x401cea
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
push str.FunF
push esi
call edi
test eax, eax
je 0x401d3d
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
push str.FunG
push esi
call edi
test eax, eax
je 0x401d90
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
push str.FunH
push esi
call edi
test eax, eax
je 0x401de3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
push str.FunI
push esi
call edi
test eax, eax
je 0x401e36
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
push str.FunJ
push esi
call edi
test eax, eax
je 0x401e89
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
push ecx
call eax
add esp, 0x14
push 0x3e8
call ebx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00401880
add esp, 0x10
cmp dword [esp + 0x14], 1
jne 0x401ecb
push 0x3e8
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0xbb8
call ebx
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
add esp, 0x318
ret
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
add esp, 0x318
ret