Function at 0x433e70
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.00481b26
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.00465290
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 0x433f01
sub eax, edx
push esi
sar eax, 1
push eax
lea edx, [esp + 0x128]
push edx
lea ecx, [esp + 0x7c]
call fcn.00409bc0
mov eax, dword [esp + 0x88]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x433f36
call fcn.004651e7
mov eax, dword [esp + 0x78]
mov ebp, 8
cmp dword [esp + 0x8c], ebp
jae 0x433f4c
lea eax, [esp + 0x78]
cmp word [eax + esi*2], 0x5c
je 0x433f9b
push 1
push 0x4a25dc
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00409bc0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x80]
call fcn.004099c0
cmp dword [esp + 0x70], ebp
jb 0x433f9b
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00464d79
add esp, 4
push str.Kernel32.dll
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0xec]
push eax
call fcn.0040a2b0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd4]
call fcn.00409ad0
cmp dword [esp + 0xfc], ebp
jb 0x433fde
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.00464d79
add esp, 4
cmp dword [esp + 0xe0], ebp
mov eax, dword [esp + 0xcc]
jae 0x433ff5
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x434020
push str.SetDllDirectoryA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x434019
push 0x4a251b
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4a38f8]
mov ax, word [0x4a38fc]
lea ecx, [esp + 0x11c]
push ecx
push edi
xor esi, esi
mov dword [esp + 0x124], edx
mov word [esp + 0x128], ax
call fcn.0042d980
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4340b0
push str.RegServer
push edi
call fcn.0042d9d0
add esp, 8
test eax, eax
jne 0x43406b
lea esi, [eax + 1]
jmp 0x4340b0
push str.UnregServer
push edi
call fcn.0042d9d0
add esp, 8
test eax, eax
jne 0x434082
lea esi, [eax + 2]
jmp 0x4340b0
push str.Embedding
push edi
call fcn.0042d9d0
add esp, 8
test eax, eax
jne 0x434099
lea esi, [eax + 3]
jmp 0x4340b0
push str.Install
push edi
call fcn.0042d9d0
add esp, 8
test eax, eax
jne 0x4340b0
mov esi, 4
lea eax, [esi - 1]
xor edi, edi
cmp eax, 3
ja case.default.0x4340be
jmp dword [eax*4 + 0x434368]
mov edx, dword [esp + 0x340]
push edx
mov ecx, 0x4bbc48
call fcn.00430410
mov edi, eax
lea eax, [esp + 0xe4]
push ebx
push eax
call fcn.0043a4d0
lea ecx, [esp + 0x108]
push ebx
push ecx
call fcn.0043a580
push str.DownloadProxyPS.dll
lea edx, [esp + 0x114]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.0040a2b0
add esp, 0x1c
cmp dword [esp + 0xf8], ebx
je 0x43423c
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.00443ba0
mov eax, dword [esp + 0x9c]
add esp, 8
cmp esi, 1
jne 0x4341a8
cmp dword [esp + 0xa8], 0x10
jae 0x43416a
lea eax, [esp + 0x94]
push 0x4a39a4
push eax
call fcn.00435ad0
add esp, 8
push 0x4a3900
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
push str._s__
push ecx
call fcn.0042fc90
add esp, 0xc
push eax
lea edx, [esp + 0xb4]
push edx
call fcn.0040a2b0
lea ecx, [esp + 0x48]
jmp 0x4341f5
cmp dword [esp + 0xa8], 0x10
jae 0x4341b9
lea eax, [esp + 0x94]
push 0x4a39a4
push eax
call fcn.00435cb0
add esp, 8
push 0x4a3900
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x28]
push str._u__s__
push ecx
call fcn.0042fc90
add esp, 0xc
push eax
lea edx, [esp + 0xb4]
push edx
call fcn.0040a2b0
lea ecx, [esp + 0x2c]
add esp, 0xc
call fcn.0041fcc0
cmp dword [esp + 0xc4], ebp
mov eax, dword [esp + 0xb0]
jae 0x434214
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.0041fcc0
lea ecx, [esp + 0x90]
call fcn.00414000
cmp dword [esp + 0x70], ebp
jb 0x43424f
mov eax, dword [esp + 0x5c]
push eax
call fcn.00464d79
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 0x43427a
mov ecx, dword [esp + 0x104]
push ecx
call fcn.00464d79
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.0x4340be
mov edx, dword [esp + 0xe8]
push edx
call fcn.00464d79
add esp, 4
jmp case.default.0x4340be
lea eax, [esp + 0x10]
push eax
call fcn.0042d380
mov ecx, dword [eax]
add esp, 4
call fcn.0042d4a0
lea ecx, [esp + 0x10]
call fcn.0041dd90
mov ecx, dword [esp + 0x340]
push ecx
mov ecx, 0x4bbc48
call fcn.00430410
lea edx, [esp + 0x18]
push edx
mov edi, eax
call fcn.0042d380
mov ecx, dword [eax]
add esp, 4
call fcn.00429c90
lea ecx, [esp + 0x18]
call fcn.0041dd90
call fcn.00426e40
jmp case.default.0x4340be
call fcn.00433450
cmp dword [esp + 0x8c], ebp
pop esi
jb 0x43431c
mov eax, dword [esp + 0x74]
push eax
call fcn.00464d79
add esp, 4
cmp dword [esp + 0xdc], ebp
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x43434c
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00464d79
add esp, 4
mov ecx, dword [esp + 0x328]
mov eax, edi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00464d40
add esp, 0x320
ret 0x10