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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59719c
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
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]
mov dword [ebp - 0x224], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4477a0
cmp dword [ebp + 0x14], 0
jne 0x447537
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4477a0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._regsvr32.exe
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559ca7
add esp, 0xc
lea ecx, [ebp - 0x21c]
push 0x5b43f0
call fcn.004434e0
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
jne 0x4475a7
push 3
push 0x5b43f4
lea ecx, [ebp - 0x21c]
call fcn.00429240
mov eax, dword [esi]
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x447615
cmp dword [ebp + 0x14], 0
jne 0x4475ca
push 3
push 0x5b43fc
lea ecx, [ebp - 0x21c]
call fcn.00429240
push esi
lea eax, [ebp - 0x220]
push str.__i:
push eax
call fcn.00443dd0
add esp, 0xc
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
push dword [eax - 0xc]
push eax
call fcn.00429240
mov edx, dword [ebp - 0x220]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x447615
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push 0x5b4410
push eax
call fcn.00443dd0
push 0x5afe30
push eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 2
push eax
call fcn.00429080
add esp, 0x18
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
push dword [eax - 0xc]
push eax
call fcn.00429240
mov edx, dword [ebp - 0x224]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44767b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44769c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x260], 0x3c
mov dword [ebp - 0x25c], 0x440
mov dword [ebp - 0x244], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x44775e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44777a
movzx esi, si
or esi, 0x80070000
jmp 0x44777a
push 0xffffffffffffffff
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x44779c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x4477a5
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret