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

Disassembly:
mov eax, 0x100537c9
call fcn.100457f4
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]
push eax
mov esi, 0x3e8
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.10022ebd
mov eax, dword [0x1006cfa4]
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.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.100243fe
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.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.100243fe
mov eax, dword [0x1005750c]
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.10023621
push dword [0x1005750c]
inc eax
push eax
lea ecx, [ebp - 0x5c]
call fcn.10021d89
mov eax, dword [0x1005750c]
push 1
push eax
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x11], 0x5c
call fcn.10023621
push dword [0x1005750c]
lea ecx, [ebp - 0x48]
push eax
call fcn.10021d89
mov esi, dword [0x1005750c]
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x11], 0x5c
mov byte [ebp - 0x24], al
call fcn.1002376b
mov edi, 0x10066570
push edi
call fcn.10045c20
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.100243fe
push 1
push esi
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp - 0x48]
call fcn.10023621
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov byte [ebp - 4], 6
jne 0x100207ea
mov ecx, 0x10057508
push dword [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.1002359f
cmp eax, dword [0x1005750c]
push 1
pop esi
push esi
lea ecx, [ebp - 0x24]
setne bl
mov byte [ebp - 4], 5
call fcn.1002376b
test bl, bl
je 0x1002083c
mov eax, dword [0x1005750c]
push esi
push eax
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x11], 0x5c
call fcn.10023621
push dword [0x1005750c]
lea ecx, [ebp - 0x48]
push eax
call fcn.10021d89
jmp 0x10020850
push dword [0x1005750c]
lea eax, [ebp - 0x5c]
push 0
push eax
lea ecx, [ebp - 0x48]
call fcn.10023391
mov eax, dword [ebp - 0x44]
xor ebx, ebx
cmp eax, ebx
jne 0x1002085e
mov eax, 0x10057508
lea ecx, [ebp - 0x1ac]
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x100208af
push esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.1002376b
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.1002376b
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.100223c8
and byte [ebp - 4], 0
push esi
lea ecx, [ebp + 8]
call fcn.1002376b
or dword [ebp - 4], 0xffffffff
push esi
jmp 0x10020c2b
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.1002376b
lea eax, [ebp - 0x1ac]
push eax
call fcn.10045c20
pop ecx
push eax
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x24]
call fcn.100243fe
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
mov byte [ebp - 0x34], al
call fcn.1002376b
mov esi, str..tmp
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
mov eax, dword [0x1005750c]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
mov byte [ebp - 4], 8
mov edi, 0x10057508
jne 0x10020928
mov ecx, edi
push dword [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.10023621
push 1
pop ebx
push ebx
lea ecx, [ebp - 0x34]
mov esi, eax
mov byte [ebp - 4], 7
call fcn.1002376b
mov eax, dword [0x1005750c]
cmp esi, eax
jne 0x100209ad
mov al, byte [ebp + 0x17]
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.1002376b
mov esi, str..TMP
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
mov eax, dword [0x1005750c]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
mov byte [ebp - 4], 9
jne 0x10020988
mov ecx, edi
push dword [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.10023621
push ebx
lea ecx, [ebp - 0x34]
mov esi, eax
mov byte [ebp - 4], 7
call fcn.1002376b
mov eax, dword [0x1005750c]
cmp esi, eax
je 0x100209b7
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.10021d89
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100209c0
mov eax, edi
push eax
call fcn.100465a8
test eax, eax
pop ecx
jne 0x10020ba6
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100209d8
mov eax, edi
push eax
call fcn.10047174
pop ecx
lea ecx, [ebp - 0x88]
call fcn.10006380
mov eax, dword [ebp + 0xc]
test eax, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x88], edi
je 0x10020a01
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.100050dd
test al, al
pop ecx
je 0x10020b82
push esi
call fcn.1002068f
test eax, eax
pop ecx
je 0x10020aaa
lea ecx, [ebp - 0x24]
call fcn.10021df0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.1000101a
call fcn.1000173c
pop ecx
lea ecx, [ebp - 0x70]
call fcn.1001179b
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.1002376b
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.1002376b
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.1002376b
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.100223c8
and byte [ebp - 4], 0
push ebx
lea ecx, [ebp + 8]
call fcn.1002376b
or dword [ebp - 4], 0xffffffff
push ebx
jmp 0x10020c2b
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0xa8]
push 0x10067acc
push eax
call fcn.10027f3a
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.1002376b
mov esi, 0x100664c8
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x98]
call fcn.100243fe
mov al, byte [ebp + 0x17]
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x34], al
call fcn.1002376b
mov esi, str.Updating
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xd
call fcn.10003636
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.1002376b
push ebx
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.1002376b
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
cmp eax, ecx
jne 0x10020b60
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.1002376b
jmp 0x10020b9c
lea ecx, [ebp - 0x24]
call fcn.10021df0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.1000101a
call fcn.1000173c
pop ecx
lea ecx, [ebp - 0x70]
call fcn.1001179b
jmp 0x10020bc0
lea ecx, [ebp - 0x24]
call fcn.10021df0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.1000101a
call fcn.1000173c
pop ecx
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.1002376b
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.1002376b
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.1002376b
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.100223c8
and byte [ebp - 4], 0
push ebx
lea ecx, [ebp + 8]
call fcn.1002376b
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp + 0x18]
call fcn.1002376b
mov al, 1
jmp 0x10020c35
lea ecx, [ebp + 0x18]
call fcn.1002376b
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret