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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7f6c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x270], eax
cmp dword [eax + 0x10], ebx
je 0x439153
cmp dword [ebp + 0x14], ebx
jne 0x438f03
cmp dword [esi + 0x10], ebx
je 0x439153
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._regsvr32.exe
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcscat_s]
add esp, 0xc
xor ecx, ecx
push 2
mov word [ebp - 0x234], cx
push 0x4d1f5c
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
call fcn.00405660
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
jne 0x438f92
push 3
push 0x4d1f54
lea ecx, [ebp - 0x234]
call fcn.00409380
mov edi, 8
cmp dword [esi + 0x10], ebx
je 0x438ff5
cmp dword [ebp + 0x14], ebx
jne 0x438fb3
push 3
push 0x4d1f4c
lea ecx, [ebp - 0x234]
call fcn.00409380
push esi
lea edx, [ebp - 0x250]
push str.__i:
push edx
call fcn.00438180
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.00409270
mov byte [ebp - 4], bl
cmp dword [ebp - 0x23c], edi
jb 0x438ff5
mov eax, dword [ebp - 0x250]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x270]
push ecx
lea edx, [ebp - 0x26c]
push 0x4d1f38
push edx
call fcn.00438180
push 0x4d1f34
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 2
call fcn.0040ca00
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.00409270
cmp dword [ebp - 0x23c], edi
jb 0x439050
mov ecx, dword [ebp - 0x250]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x258], edi
jb 0x439080
mov eax, dword [ebp - 0x26c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x38
lea ecx, [ebp - 0x2a8]
push ebx
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x218]
mov dword [ebp - 0x2ac], 0x3c
mov dword [ebp - 0x2a8], 0x440
mov dword [ebp - 0x29c], edx
cmp dword [ebp - 0x220], edi
jb 0x4390c8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x298], eax
jmp 0x4390d4
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x298], ecx
lea edx, [ebp - 0x2ac]
push edx
mov dword [ebp - 0x290], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43911c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4390ff
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp dword [ebp - 0x220], edi
jb 0x439118
mov eax, dword [ebp - 0x234]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x439158
mov ecx, dword [ebp - 0x274]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x220], edi
jb 0x43914f
mov eax, dword [ebp - 0x234]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x439158
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret