Function at 0x100202c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b955a
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x100f6458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
lea eax, [esi + 0xf4]
push eax
call fcn.10003de0
mov dword [ebp - 4], 0
lea eax, [esi + 0x60]
push eax
lea ecx, [ebp - 0x58]
call fcn.10003de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push esi
call fcn.10003de0
mov byte [ebp - 4], 2
xor bl, bl
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10020446
call fcn.100429f0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002053f
push 0x60
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], eax
push 0x100c7ba0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], al
call fcn.1000c4b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
push 3
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push 0x100c7c04
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
call fcn.1000c4b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x88]
push 0xf2
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x124]
call fcn.100041a0
mov esi, eax
mov byte [ebp - 4], 5
push str.file_not_exist__dll_path
push esi
call fcn.10005ff0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, str._null_
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10002cd0
add esp, 0x10
call fcn.100429f0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.100062e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.10005180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.10005180
jmp 0x1002053f
mov ecx, dword [ebp - 0x8c]
push esi
call fcn.1001f1c0
test al, al
jne 0x1002053d
call fcn.100429f0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002053f
push 0x60
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], eax
push 0x100c7c78
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.1000c4b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
push 3
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
push 0x100c7c74
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.1000c4b0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
push 0xfb
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x124]
call fcn.100041a0
mov esi, eax
mov byte [ebp - 4], 9
push str.InstallByDll_fail
push esi
call fcn.10005ff0
add esp, 8
call fcn.100429f0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
call fcn.100062e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.10005180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10005180
jmp 0x1002053f
mov bl, 1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10020567
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10005200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10005200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005200
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100662e1
mov esp, ebp
pop ebp
ret 4