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

Disassembly:
mov eax, 0x10043729
call fcn.10035ae0
sub esp, 0x1a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
and byte [ebp - 0x12], bl
lea eax, [ebp - 0x35]
push eax
lea eax, [ebp - 0x12]
mov esi, 0x3e8
push eax
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.10014186
mov eax, dword [0x10059f64]
push esi
push dword [ebp - 0x68]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov al, byte [ebp + 0x17]
mov esi, dword [ebp - 0x68]
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x48], al
call fcn.100149cc
push esi
call fcn.10035bc0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.10015611
mov al, byte [ebp + 0x17]
mov esi, dword [ebp - 0x68]
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
mov byte [ebp - 0x5c], al
call fcn.100149cc
push esi
call fcn.10035bc0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.10015611
mov eax, dword [0x10047530]
push 1
push eax
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
mov byte [ebp - 0x11], 0x5c
call fcn.100148ae
push dword [0x10047530]
inc eax
lea ecx, [ebp - 0x5c]
push eax
call fcn.100134cf
mov eax, dword [0x10047530]
push 1
push eax
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x11], 0x5c
call fcn.100148ae
push dword [0x10047530]
lea ecx, [ebp - 0x48]
push eax
call fcn.100134cf
mov esi, dword [0x10047530]
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x11], 0x5c
mov byte [ebp - 0x24], al
call fcn.100149cc
mov edi, 0x100551f0
push edi
call fcn.10035bc0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.10015611
push 1
lea eax, [ebp - 0x11]
push esi
push eax
lea ecx, [ebp - 0x48]
call fcn.100148ae
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
cmp ecx, ebx
jne 0x10012812
mov ecx, 0x10047534
push dword [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.1001482c
cmp eax, dword [0x10047530]
push 1
pop esi
lea ecx, [ebp - 0x24]
push esi
mov byte [ebp - 4], 5
setne bl
call fcn.100149cc
test bl, bl
je 0x10012864
mov eax, dword [0x10047530]
push esi
push eax
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x11], 0x5c
call fcn.100148ae
push dword [0x10047530]
lea ecx, [ebp - 0x48]
push eax
call fcn.100134cf
jmp 0x10012878
push dword [0x10047530]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x48]
push 0
push eax
call fcn.10014664
mov eax, dword [ebp - 0x44]
xor ebx, ebx
cmp eax, ebx
jne 0x10012886
mov eax, 0x10047534
lea ecx, [ebp - 0x1ac]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x100128d7
push esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.100149cc
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.100149cc
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.100136c9
and byte [ebp - 4], 0
push esi
lea ecx, [ebp + 8]
call fcn.100149cc
or dword [ebp - 4], 0xffffffff
push esi
jmp 0x10012c53
lea eax, [ebp - 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.100149cc
lea eax, [ebp - 0x1ac]
push eax
call fcn.10035bc0
pop ecx
push eax
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x24]
call fcn.10015611
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
mov byte [ebp - 0x34], al
call fcn.100149cc
mov esi, str..tmp
push esi
call fcn.10035bc0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10015611
mov eax, dword [0x10047530]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 8
test ecx, ecx
mov edi, 0x10047534
jne 0x10012950
mov ecx, edi
push dword [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.100148ae
push 1
lea ecx, [ebp - 0x34]
pop ebx
mov esi, eax
push ebx
mov byte [ebp - 4], 7
call fcn.100149cc
mov eax, dword [0x10047530]
cmp esi, eax
jne 0x100129d5
mov al, byte [ebp + 0x17]
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.100149cc
mov esi, str..TMP
push esi
call fcn.10035bc0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10015611
mov eax, dword [0x10047530]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 9
test ecx, ecx
jne 0x100129b0
mov ecx, edi
push dword [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.100148ae
push ebx
lea ecx, [ebp - 0x34]
mov esi, eax
mov byte [ebp - 4], 7
call fcn.100149cc
mov eax, dword [0x10047530]
cmp esi, eax
je 0x100129df
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.100134cf
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100129e8
mov eax, edi
push eax
call fcn.1003677c
test eax, eax
pop ecx
jne 0x10012bce
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10012a00
mov eax, edi
push eax
call fcn.1003729c
pop ecx
lea ecx, [ebp - 0x88]
call fcn.100053d5
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
test eax, eax
mov dword [ebp - 0x88], edi
je 0x10012a29
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], ebx
call fcn.10004b44
test al, al
pop ecx
je 0x10012baa
push esi
call fcn.100126b7
test eax, eax
pop ecx
je 0x10012ad2
lea ecx, [ebp - 0x24]
call fcn.10013536
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.10001065
call fcn.10012288
pop ecx
lea ecx, [ebp - 0x70]
call fcn.10001a89
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.100149cc
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.100149cc
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.100149cc
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.100136c9
and byte [ebp - 4], 0
push ebx
lea ecx, [ebp + 8]
call fcn.100149cc
or dword [ebp - 4], 0xffffffff
push ebx
jmp 0x10012c53
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0xa8]
push 0x100551cc
push eax
call fcn.1001a029
add esp, 0xc
mov al, byte [ebp + 0x17]
push 0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x98], al
call fcn.100149cc
mov esi, 0x10054578
push esi
call fcn.10035bc0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x98]
call fcn.10015611
mov al, byte [ebp + 0x17]
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x34], al
call fcn.100149cc
mov esi, str.Updating
push esi
call fcn.10035bc0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10015611
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10002575
pop ecx
mov byte [ebp - 4], 0xc
pop ecx
push ebx
lea ecx, [ebp - 0x34]
call fcn.100149cc
push ebx
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.100149cc
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
cmp eax, ecx
jne 0x10012b88
mov eax, edi
push ecx
push ecx
push eax
push str.regsvr32
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.100149cc
jmp 0x10012bc4
lea ecx, [ebp - 0x24]
call fcn.10013536
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.10001065
call fcn.10012288
pop ecx
lea ecx, [ebp - 0x70]
call fcn.10001a89
jmp 0x10012be8
lea ecx, [ebp - 0x24]
call fcn.10013536
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.10001065
call fcn.10012288
pop ecx
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.100149cc
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.100149cc
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.100149cc
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.100136c9
and byte [ebp - 4], 0
push ebx
lea ecx, [ebp + 8]
call fcn.100149cc
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp + 0x18]
call fcn.100149cc
mov al, 1
jmp 0x10012c5d
lea ecx, [ebp + 0x18]
call fcn.100149cc
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret