Function at 0x10020c6e
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
mov eax, 0x10057e65
call fcn.10048e6c
sub esp, 0x2a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [0x100850c1], bl
jne 0x100211a9
lea eax, [ebp - 0x35]
push eax
lea eax, [ebp - 0x5c]
push eax
mov esi, 0x3e8
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], ebx
call fcn.10025ab4
mov eax, dword [0x100850e4]
push esi
push dword [ebp - 0x68]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov al, byte [ebp + 0x17]
mov esi, dword [ebp - 0x68]
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x48], al
call fcn.10026566
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.100275d3
mov al, byte [ebp + 0x17]
mov esi, dword [ebp - 0x68]
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov byte [ebp - 0x58], al
call fcn.10026566
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.100275d3
mov eax, dword [0x1005c50c]
push 0x5c
pop esi
push 1
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], esi
call fcn.1002643e
push dword [0x1005c50c]
inc eax
push eax
lea ecx, [ebp - 0x58]
call fcn.100246c2
mov eax, dword [0x1005c50c]
push 1
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], esi
call fcn.1002643e
push dword [0x1005c50c]
lea ecx, [ebp - 0x48]
push eax
call fcn.100246c2
mov al, byte [ebp + 0x17]
mov edi, dword [0x1005c50c]
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x24], al
call fcn.10026566
mov ebx, 0x1006b7f0
push ebx
call fcn.100492e5
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x24]
call fcn.100275d3
push 1
push edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
call fcn.1002643e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov byte [ebp - 4], 6
mov edi, 0x1005c508
jne 0x10020db3
mov ecx, edi
push dword [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.1002637a
cmp eax, dword [0x1005c50c]
push 1
lea ecx, [ebp - 0x24]
setne bl
mov byte [ebp - 4], 5
call fcn.10026566
test bl, bl
je 0x10020e05
mov eax, dword [0x1005c50c]
push 1
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], esi
call fcn.1002643e
push dword [0x1005c50c]
lea ecx, [ebp - 0x48]
push eax
call fcn.100246c2
xor ebx, ebx
jmp 0x10020e1a
push dword [0x1005c50c]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
call fcn.1002618e
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x10020e23
mov eax, edi
lea ecx, [ebp - 0x2ac]
push ecx
push ebx
push 0x1006b7f0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x10020e47
push 1
mov byte [ebp - 4], 4
pop esi
jmp 0x10021009
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.10026566
lea eax, [ebp - 0x2ac]
push eax
call fcn.100492e5
pop ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x24]
call fcn.100275d3
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
mov byte [ebp - 0x34], al
call fcn.10026566
mov esi, str..tmp
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100275d3
mov eax, dword [0x1005c50c]
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
mov byte [ebp - 4], 8
jne 0x10020ebb
mov ecx, edi
push dword [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.1002643e
push 1
lea ecx, [ebp - 0x34]
mov esi, eax
mov byte [ebp - 4], 7
call fcn.10026566
mov eax, dword [0x1005c50c]
cmp esi, eax
jne 0x10020f3e
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.10026566
mov esi, str..TMP
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100275d3
mov eax, dword [0x1005c50c]
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
mov byte [ebp - 4], 9
jne 0x10020f18
mov ecx, edi
push dword [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.1002643e
push 1
lea ecx, [ebp - 0x34]
mov esi, eax
mov byte [ebp - 4], 7
call fcn.10026566
mov eax, dword [0x1005c50c]
cmp esi, eax
je 0x10020f48
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.100246c2
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x10020f51
mov eax, edi
push eax
call fcn.1004a780
test eax, eax
pop ecx
jne 0x10021135
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x10020f69
mov eax, edi
push eax
call fcn.1004a7ac
pop ecx
lea ecx, [ebp - 0x88]
call fcn.100077df
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x88], edi
je 0x10020f92
mov dword [ebp - 0x88], eax
and byte [ebp - 0x74], 0
lea eax, [ebp - 0x88]
mov esi, str.tbupdate.cab
push eax
mov dword [ebp - 0x84], esi
mov byte [ebp - 0x73], 1
mov dword [ebp - 0x7c], 0x84000001
mov dword [ebp - 0x78], 1
call fcn.10004d56
test al, al
pop ecx
je 0x10021111
push esi
call fcn.10020c4a
cmp eax, ebx
pop ecx
je 0x10021042
lea ecx, [ebp - 0x24]
call fcn.10024774
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.100012fe
call fcn.10001843
pop ecx
lea ecx, [ebp - 0x70]
call fcn.10013e55
push 1
pop esi
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.10026566
mov byte [ebp - 4], 4
push esi
lea ecx, [ebp - 0x58]
call fcn.10026566
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10026566
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.10025bb4
and byte [ebp - 4], 0
push esi
lea ecx, [ebp + 8]
call fcn.10026566
or dword [ebp - 4], 0xffffffff
push esi
jmp 0x100211bd
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0xa8]
push 0x1006ded4
push eax
call fcn.1002b21c
add esp, 0xc
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x98], al
call fcn.10026566
mov esi, 0x1006b710
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x98]
call fcn.100275d3
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x34], al
call fcn.10026566
mov esi, str.Updating
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100275d3
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10003960
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x34]
call fcn.10026566
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.10026566
mov eax, dword [ebp - 0xa4]
cmp eax, ebx
jne 0x100210ee
mov eax, edi
push ebx
push ebx
push eax
push str.regsvr32
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.10026566
jmp 0x1002112b
lea ecx, [ebp - 0x24]
call fcn.10024774
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.100012fe
call fcn.10001843
pop ecx
lea ecx, [ebp - 0x70]
call fcn.10013e55
jmp 0x1002114f
lea ecx, [ebp - 0x24]
call fcn.10024774
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.100012fe
call fcn.10001843
pop ecx
push 1
pop esi
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.10026566
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.10026566
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10026566
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.10025bb4
and byte [ebp - 4], 0
push esi
lea ecx, [ebp + 8]
call fcn.10026566
or dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp + 0x18]
call fcn.10026566
mov al, 1
jmp 0x100211c7
and byte [ebp - 4], 0
push 1
lea ecx, [ebp + 8]
call fcn.10026566
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp + 0x18]
call fcn.10026566
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret