Function at 0x1001a1a0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0x1004f630
push eax
mov dword fs:[0], esp
sub esp, 0x3d0
cmp dword [ecx + 0x14], 0x10
push ebx
push esi
push edi
jb 0x1001a1cf
mov ecx, dword [ecx]
push ecx
push 2
xor edx, edx
call fcn.1003c780
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001a1f9
xor al, al
mov ecx, dword [esp + 0x3dc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
cmp byte [ebp + 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3e4], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x1001a389
lea eax, [esp + 0x1d8]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1001a319
lea ecx, [esp + 0x1d8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a257
sub ecx, edx
cmp byte [esp + ecx + 0x1d7], 0x5c
jne 0x1001a271
mov byte [esp + ecx + 0x1d7], al
cmp byte [esp + 0x1d8], 0
jne 0x1001a27f
xor ecx, ecx
jmp 0x1001a299
lea ecx, [esp + 0x1d8]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a290
sub ecx, edx
push ecx
lea eax, [esp + 0x1dc]
push eax
lea ecx, [esp + 0x80]
call fcn.10001a10
lea eax, [esp + 0x78]
push eax
call sym.KwLib.dll_int___cdecl_KwLib::Dir::IsExistFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 4
test eax, eax
jne 0x1001a39b
lea eax, [esp + 0x48]
push 0x64
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::Dir::GetKwPath_enum_KwLib::Dir::Path_Type_
push str.tempUnCompress
mov edx, eax
mov byte [esp + 0x3f0], 1
lea ecx, [esp + 0x9c]
call fcn.10004d50
add esp, 0xc
lea ecx, [esp + 0x78]
push eax
call fcn.10001ec0
lea ecx, [esp + 0x90]
call fcn.10001850
lea ecx, [esp + 0x48]
mov byte [esp + 0x3e4], 0
call fcn.10001850
jmp 0x1001a39b
lea eax, [esp + 0x48]
push 0x64
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::Dir::GetKwPath_enum_KwLib::Dir::Path_Type_
push str.tempUnCompress
mov edx, eax
mov byte [esp + 0x3f0], 2
lea ecx, [esp + 0x3c]
call fcn.10004d50
add esp, 0xc
lea ecx, [esp + 0x78]
push eax
call fcn.10001ec0
cmp dword [esp + 0x44], 0x10
jb 0x1001a35a
push dword [esp + 0x30]
call edi
add esp, 4
mov byte [esp + 0x3e4], 0
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jb 0x1001a39b
push dword [esp + 0x48]
call edi
add esp, 4
jmp 0x1001a39b
lea ecx, [esp + 0x78]
cmp ecx, eax
je 0x1001a39b
push 0xffffffffffffffff
push 0
push eax
call fcn.100018e0
xor edx, edx
mov byte [esp + 0x12], 1
mov dword [esp + 0xa8], edx
mov byte [esp + 0xac], dl
mov dword [esp + 0x1d0], edx
cmp dword [esi], 1
mov dword [esp + 0x14], edx
je 0x1001a3cf
mov dword [0x1006ee0c], 0x80000
jmp 0x1001a6e8
mov ebx, dword [esi + 4]
mov ecx, dword [ebx]
cmp dword [ecx + 4], 0xffffffff
jg 0x1001a3e4
mov eax, 0x10000
jmp 0x1001a473
cmp dword [ebx + 4], 0xffffffff
je 0x1001a3ef
call fcn.1003d4c0
mov eax, dword [ebx]
mov dword [ebx + 4], 0xffffffff
mov edx, dword [eax + 4]
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xa8], edx
mov byte [esp + 0xac], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 0
xor ebx, ebx
mov dword [0x1006ee0c], eax
test edx, edx
jle 0x1001a6e8
mov dword [esp + 0xa8], 0
mov byte [esp + 0xac], 0
mov dword [esp + 0x1d0], 0
cmp dword [esi], 1
je 0x1001a4b1
mov dword [0x1006ee0c], 0x80000
jmp 0x1001a4c7
mov ecx, dword [esi + 4]
lea eax, [esp + 0xa8]
push eax
push ebx
call fcn.1003cc70
mov dword [0x1006ee0c], eax
push 0x10059c78
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x4c]
call fcn.100074c0
add esp, 4
lea ecx, [esp + 0xac]
mov byte [esp + 0x3e4], 3
push ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.10004d50
add esp, 4
mov byte [esp + 0x3e4], 5
cmp dword [esp + 0x5c], 0x10
jb 0x1001a512
push dword [esp + 0x48]
call edi
add esp, 4
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x60]
mov edx, dword [esp + 0x60]
cmp ecx, 0x10
mov dword [esp + 0x5c], 0xf
cmovae eax, edx
mov dword [esp + 0x58], 0
cmp dword [esi], 1
mov byte [esp + 0x48], 0
jne 0x1001a6b0
mov ecx, dword [esi + 4]
sub esp, 8
push eax
push ebx
call fcn.1003c8b0
mov dword [0x1006ee0c], eax
test eax, eax
jne 0x1001a6a6
cmp byte [ebp + 0x14], al
je 0x1001a614
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x90]
push 0x10059c78
call fcn.100074c0
add esp, 4
lea ecx, [esp + 0xac]
mov byte [esp + 0x3e4], 6
push ecx
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.10004d50
add esp, 4
mov byte [esp + 0x3e4], 7
cmp dword [eax + 0x14], 0x10
jb 0x1001a5aa
mov eax, dword [eax]
cmp dword [esp + 0x74], 0x10
lea ecx, [esp + 0x60]
mov edx, eax
cmovae ecx, dword [esp + 0x60]
call fcn.1001b3d0
test eax, eax
sete byte [esp + 0x13]
cmp dword [esp + 0x44], 0x10
jb 0x1001a5d6
push dword [esp + 0x30]
call edi
add esp, 4
mov byte [esp + 0x3e4], 5
cmp dword [esp + 0xa4], 0x10
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jb 0x1001a609
push dword [esp + 0x90]
call edi
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x1001a6cb
cmp byte [esp + 0xac], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x1001a637
xor ecx, ecx
jmp 0x1001a64a
lea ecx, [esp + 0xac]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a641
sub ecx, edx
push ecx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x38]
call fcn.10001a10
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x3e8], 8
call fcn.10003f80
cmp dword [esp + 0x44], 0x10
jb 0x1001a681
push dword [esp + 0x30]
call edi
add esp, 4
mov byte [esp + 0x3e4], 0
cmp dword [esp + 0x74], 0x10
jb 0x1001a699
push dword [esp + 0x60]
call edi
add esp, 4
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x1001a482
jmp 0x1001a6e8
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
jmp 0x1001a6ba
mov dword [0x1006ee0c], 0x80000
cmp ecx, 0x10
lea eax, [esp + 0x60]
cmovae eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [esp + 0x3e4], 0
cmp dword [esp + 0x74], 0x10
mov byte [esp + 0x12], 0
jb 0x1001a6e8
push dword [esp + 0x60]
call edi
add esp, 4
mov ecx, dword [esi]
cmp ecx, 1
sete al
test al, al
je 0x1001a722
cmp ecx, 1
je 0x1001a705
mov dword [0x1006ee0c], 0x80000
jmp 0x1001a754
mov ebx, dword [esi + 4]
mov ecx, ebx
call fcn.1003c850
mov dword [0x1006ee0c], eax
test ebx, ebx
je 0x1001a74e
push ecx
mov ecx, ebx
call fcn.1000d2f0
jmp 0x1001a74e
cmp ecx, 2
je 0x1001a733
mov dword [0x1006ef90], 0x80000
jmp 0x1001a754
mov ebx, dword [esi + 4]
mov ecx, ebx
call fcn.10041f90
mov dword [0x1006ef90], eax
test ebx, ebx
je 0x1001a74e
push ecx
mov ecx, ebx
call fcn.1000d340
push esi
call edi
add esp, 4
mov bl, byte [esp + 0x12]
test bl, bl
je 0x1001a920
cmp byte [ebp + 0x14], 0
je 0x1001a920
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov byte [esp + 0x3e4], 9
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001a91c
xor esi, esi
mov dword [esp + 0x14], esi
mov edi, edi
push 0x10059c78
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x94]
call fcn.100074c0
add esp, 4
mov ecx, dword [ebp + 0x10]
mov edx, eax
mov byte [esp + 0x3e4], 0xa
mov ecx, dword [ecx]
add ecx, esi
push ecx
lea ecx, [esp + 0x4c]
call fcn.100075a0
mov esi, eax
add esp, 4
lea eax, [esp + 0x18]
cmp eax, esi
je 0x1001a85e
cmp dword [esp + 0x2c], 0x10
jb 0x1001a800
push dword [esp + 0x18]
call edi
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
cmp dword [esi + 0x14], 0x10
jae 0x1001a833
mov eax, dword [esi + 0x10]
inc eax
je 0x1001a83f
push eax
lea eax, [esp + 0x1c]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x1001a83f
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0x5c], 0x10
jb 0x1001a86e
push dword [esp + 0x48]
call edi
add esp, 4
mov byte [esp + 0x3e4], 9
cmp dword [esp + 0xa4], 0x10
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jb 0x1001a8a1
push dword [esp + 0x90]
call edi
add esp, 4
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001a8df
test al, 0x10
lea eax, [esp + 0x18]
je 0x1001a8ce
push eax
call sym.KwLib.dll_int___cdecl_KwLib::Dir::DeleteDir_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 4
jmp 0x1001a8df
cmp dword [esp + 0x2c], 0x10
cmovae eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0x10]
inc ebx
mov esi, dword [esp + 0x14]
add esi, 0x18
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1001a7b0
cmp dword [esp + 0x2c], 0x10
jb 0x1001a91c
push dword [esp + 0x18]
call edi
add esp, 4
mov bl, byte [esp + 0x12]
cmp dword [esp + 0x8c], 0x10
jb 0x1001a933
push dword [esp + 0x78]
call edi
add esp, 4
mov ecx, dword [esp + 0x3dc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret