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

Disassembly:
sub esp, 0x320
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x31c], eax
push ebx
push ebp
push edi
mov edi, dword [esp + 0x338]
call fcn.004812e6
xor ebx, ebx
mov eax, 7
push 0x206
mov dword [esp + 0xe0], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x126]
push ebx
push eax
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], bx
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov word [esp + 0x12c], bx
call fcn.00464a50
add esp, 0xc
push 0x104
lea ecx, [esp + 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x120]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434121
sub eax, edx
push esi
sar eax, 1
push eax
lea edx, [esp + 0x128]
push edx
lea ecx, [esp + 0x7c]
call fcn.00409af0
mov eax, dword [esp + 0x88]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x434156
call fcn.004649a7
mov eax, dword [esp + 0x78]
mov ebp, 8
cmp dword [esp + 0x8c], ebp
jae 0x43416c
lea eax, [esp + 0x78]
cmp word [eax + esi*2], 0x5c
je 0x4341bb
push 1
push 0x4a25b4
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00409af0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x80]
call fcn.004098f0
cmp dword [esp + 0x70], ebp
jb 0x4341bb
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00464539
add esp, 4
push str.Kernel32.dll
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0xec]
push eax
call fcn.0040a1e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd4]
call fcn.00409a00
cmp dword [esp + 0xfc], ebp
jb 0x4341fe
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00464539
add esp, 4
cmp dword [esp + 0xe0], ebp
mov eax, dword [esp + 0xcc]
jae 0x434215
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x434240
push str.SetDllDirectoryA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x434239
push 0x4a24f3
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4a38cc]
mov ax, word [0x4a38d0]
lea ecx, [esp + 0x11c]
push ecx
push edi
xor esi, esi
mov dword [esp + 0x124], edx
mov word [esp + 0x128], ax
call fcn.0042db10
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4342d0
push str.RegServer
push edi
call fcn.0042db60
add esp, 8
test eax, eax
jne 0x43428b
lea esi, [eax + 1]
jmp 0x4342d0
push str.UnregServer
push edi
call fcn.0042db60
add esp, 8
test eax, eax
jne 0x4342a2
lea esi, [eax + 2]
jmp 0x4342d0
push str.Embedding
push edi
call fcn.0042db60
add esp, 8
test eax, eax
jne 0x4342b9
lea esi, [eax + 3]
jmp 0x4342d0
push str.Install
push edi
call fcn.0042db60
add esp, 8
test eax, eax
jne 0x4342d0
mov esi, 4
lea eax, [esi - 1]
xor edi, edi
cmp eax, 3
ja case.default.0x4342de
jmp dword [eax*4 + 0x434588]
mov edx, dword [esp + 0x340]
push edx
mov ecx, 0x4bbc48
call fcn.00430510
mov edi, eax
lea eax, [esp + 0xe4]
push ebx
push eax
call fcn.0043a4e0
lea ecx, [esp + 0x108]
push ebx
push ecx
call fcn.0043a590
push str.DownloadProxyPS.dll
lea edx, [esp + 0x114]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.0040a1e0
add esp, 0x1c
cmp dword [esp + 0xf8], ebx
je 0x43445c
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xe8]
push edx
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
call fcn.00443fb0
mov eax, dword [esp + 0x9c]
add esp, 8
cmp esi, 1
jne 0x4343c8
cmp dword [esp + 0xa8], 0x10
jae 0x43438a
lea eax, [esp + 0x94]
push 0x4a3978
push eax
call fcn.00435ca0
add esp, 8
push 0x4a38d4
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
push str._s__
push ecx
call fcn.0042fd90
add esp, 0xc
push eax
lea edx, [esp + 0xb4]
push edx
call fcn.0040a1e0
lea ecx, [esp + 0x48]
jmp 0x434415
cmp dword [esp + 0xa8], 0x10
jae 0x4343d9
lea eax, [esp + 0x94]
push 0x4a3978
push eax
call fcn.00435e80
add esp, 8
push 0x4a38d4
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x28]
push str._u__s__
push ecx
call fcn.0042fd90
add esp, 0xc
push eax
lea edx, [esp + 0xb4]
push edx
call fcn.0040a1e0
lea ecx, [esp + 0x2c]
add esp, 0xc
call fcn.00403a70
cmp dword [esp + 0xc4], ebp
mov eax, dword [esp + 0xb0]
jae 0x434434
lea eax, [esp + 0xb0]
push ebx
push ebx
push eax
push str.regsvr32.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0xac]
call fcn.00403a70
lea ecx, [esp + 0x90]
call fcn.00418160
cmp dword [esp + 0x70], ebp
jb 0x43446f
mov eax, dword [esp + 0x5c]
push eax
call fcn.00464539
add esp, 4
cmp dword [esp + 0x118], ebp
mov esi, 7
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x43449a
mov ecx, dword [esp + 0x104]
push ecx
call fcn.00464539
add esp, 4
cmp dword [esp + 0xfc], ebp
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb case.default.0x4342de
mov edx, dword [esp + 0xe8]
push edx
call fcn.00464539
add esp, 4
jmp case.default.0x4342de
lea eax, [esp + 0x10]
push eax
call fcn.0042d510
mov ecx, dword [eax]
add esp, 4
call fcn.0042d630
lea ecx, [esp + 0x10]
call fcn.0040e240
mov ecx, dword [esp + 0x340]
push ecx
mov ecx, 0x4bbc48
call fcn.00430510
lea edx, [esp + 0x18]
push edx
mov edi, eax
call fcn.0042d510
mov ecx, dword [eax]
add esp, 4
call fcn.00429e20
lea ecx, [esp + 0x18]
call fcn.0040e240
call fcn.00426fd0
jmp case.default.0x4342de
call fcn.00433670
cmp dword [esp + 0x8c], ebp
pop esi
jb 0x43453c
mov eax, dword [esp + 0x74]
push eax
call fcn.00464539
add esp, 4
cmp dword [esp + 0xdc], ebp
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x43456c
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00464539
add esp, 4
mov ecx, dword [esp + 0x328]
mov eax, edi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00464500
add esp, 0x320
ret 0x10