Function at 0x404af0
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e30a2
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x398], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f4f4]
xor eax, esp
push eax
lea eax, [esp + 0x3b4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3fc]
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x3bc], ebx
mov esi, 7
xor ecx, ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
lea ecx, [esp + 0x60]
mov byte [esp + 0x3bc], 2
call fcn.0040a700
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push ebx
mov eax, 0x522498
mov word [ecx + 4], dx
call fcn.004067b0
call fcn.00405ae0
add esp, 0x1c
cmp eax, ebx
je 0x404d8c
mov eax, dword [esp + 0x3f4]
mov ebp, 8
push str._preload
mov edi, ebp
lea ecx, [esp + 0x3e4]
call fcn.00406b90
test eax, eax
je 0x405255
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0xffffffffffffffff
mov word [ecx + 4], ax
push ebx
mov eax, 0x522284
call fcn.004067b0
lea ecx, [esp + 0x7c]
push ecx
lea esi, [esp + 0x48]
mov byte [esp + 0x3dc], 3
call fcn.00407a30
add esp, 4
mov byte [esp + 0x3d8], 4
cmp dword [eax + 0x18], ebp
jb 0x404c0a
mov eax, dword [eax + 4]
jmp 0x404c0d
add eax, 4
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov ecx, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x58], esp
mov word [esi + 4], dx
lea edi, [ecx + 2]
jmp 0x404c30
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x404c30
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00406860
mov byte [esp + 0x3f4], 5
call fcn.0040a2f0
mov ecx, eax
mov byte [esp + 0x3f4], 6
call fcn.0040a360
mov byte [esp + 0x3bc], 2
cmp dword [esp + 0x40], ebp
jb 0x404c7c
mov eax, dword [esp + 0x2c]
push eax
call fcn.004129b1
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x3c], esp
mov edi, 7
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x33
mov eax, str.Easy_Printer_Manager_is_initializing.Please_wait...
mov word [esi + 4], cx
call fcn.00406860
sub esp, 0x1c
mov byte [esp + 0x3f4], 7
mov esi, esp
mov dword [esp + 0x5c], esp
xor edx, edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0xa
mov eax, str.EPMINITMSG
mov word [esi + 4], dx
call fcn.00406860
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x410], 8
xor eax, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov dword [esp + 0x6c], esp
mov word [esi + 4], ax
push 3
mov eax, 0x506488
call fcn.00406860
mov byte [esp + 0x410], 9
call fcn.0040a2f0
lea edx, [esp + 0x98]
mov ecx, eax
mov byte [esp + 0x410], 2
call fcn.0040a530
mov byte [esp + 0x3bc], 0xa
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
push ebx
push ecx
push ebx
cmp dword [esp + 0x68], ebp
jae 0x404d34
lea eax, [esp + 0x54]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040a0d0
lea edx, [esp + 0x8c]
push edx
call fcn.0040a810
lea ecx, [esp + 0x7c]
mov byte [esp + 0x3bc], 0xb
call fcn.00415b41
lea ecx, [esp + 0x7c]
mov byte [esp + 0x3bc], 0xa
call fcn.0040a9c0
cmp dword [esp + 0x5c], ebp
jb 0x405255
mov eax, dword [esp + 0x48]
push eax
call fcn.004129b1
add esp, 4
jmp 0x405255
call fcn.00402170
test eax, eax
mov eax, dword [esp + 0x3f4]
push str._preload
mov edi, 8
lea ecx, [esp + 0x3e4]
je 0x405094
call fcn.00406b90
test eax, eax
jne 0x405015
lea ecx, [esp + 0x1c]
push ecx
call fcn.004023d0
add esp, 4
cmp eax, 1
jne 0x404de1
mov ebp, dword [esp + 0x1c]
cmp ebp, edi
jne 0x404eee
call fcn.00402510
mov eax, 0x506e28
lea ecx, [esp + 0x44]
call fcn.00405c90
mov byte [esp + 0x3bc], 0x10
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], ebx
call fcn.0040a700
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00405c20
test al, al
jne 0x404e81
call fcn.00401a80
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x5c], edi
jae 0x404e27
lea ecx, [esp + 0x48]
mov eax, dword [0x522544]
cmp dword [0x522558], edi
jae 0x404e39
mov eax, 0x522544
push 1
push ecx
push 0x506e28
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xa
lea esp, [esp]
push ebx
push str.CDA_Server_Class
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
jne 0x404e7c
push 0x1f4
call edi
dec esi
cmp esi, ebx
jg 0x404e60
call fcn.00403c20
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
push 0x5223b8
or eax, 0xffffffff
lea esi, [esp + 0x4c]
call fcn.00406610
push 1
sub esp, 0x1c
lea edx, [esp + 0x64]
mov esi, esp
mov dword [esp + 0x38], esp
push edx
lea edi, [esp + 0x40]
call fcn.00405cd0
mov ecx, edi
call fcn.00401f50
add esp, 0x20
lea esi, [esp + 0x44]
call fcn.00405d00
push ebx
push str.CDA_Server_Class
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x405250
mov ecx, dword [0x525d80]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x405250
push 0x206
lea eax, [esp + 0x82]
xor edx, edx
push ebx
push eax
mov word [esp + 0x88], dx
call fcn.00446dc0
add esp, 0xc
mov eax, str.SoftwareHP_
lea ecx, [esp + 0x44]
call fcn.00405c90
push ebx
push 0x52232c
or eax, 0xffffffff
lea esi, [esp + 0x4c]
mov byte [esp + 0x3c4], 0xc
call fcn.00406610
push 1
push 0x208
push 1
sub esp, 0x1c
mov eax, str.InstallMode
mov ecx, esp
lea edi, [esp + 0xa4]
mov dword [esp + 0x40], esp
call fcn.00405c90
sub esp, 0x1c
mov byte [esp + 0x400], 0xd
lea ecx, [esp + 0x88]
mov esi, esp
mov dword [esp + 0x64], esp
push ecx
call fcn.00405cd0
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, edi
mov byte [esp + 0x404], 0xc
call fcn.00401ab0
add esp, 0x48
cmp al, bl
push 0x5222a0
mov eax, edi
jne 0x404f9e
mov eax, str.install
call fcn.00405d90
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 0x1c
mov eax, 0x506e28
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.00405c90
sub esp, 0x1c
mov byte [esp + 0x3f4], 0xe
mov eax, 0x506e28
mov ecx, esp
mov dword [esp + 0x58], esp
call fcn.00405c90
sub esp, 0x1c
mov byte [esp + 0x410], 0xf
mov esi, esp
mov dword [esp + 0x78], esp
push 0x5222a0
call fcn.00405cd0
mov ecx, ebp
mov byte [esp + 0x410], 0xc
call fcn.00403dc0
add esp, 0x54
call fcn.00402510
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x404ebc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
lea edx, [esp + 0x3c8]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x68]
call fcn.00406610
push 1
mov eax, 0x506d58
mov ecx, esi
call fcn.004066d0
push ebx
lea eax, [esp + 0x3e4]
push eax
or eax, 0xffffffff
call fcn.00406610
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x88]
lea esi, [esp + 0x40]
mov word [ecx + 4], dx
call fcn.004067b0
mov ecx, esi
call fcn.00401f50
add esp, 0x20
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ebp, edi
jmp 0x405255
call fcn.00406b90
test eax, eax
je 0x405250
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0xffffffffffffffff
mov word [ecx + 4], ax
push ebx
mov eax, 0x522284
call fcn.004067b0
lea ecx, [esp + 0x7c]
push ecx
lea esi, [esp + 0x48]
mov byte [esp + 0x3dc], 0x11
call fcn.00407a30
add esp, 4
mov esi, 8
mov byte [esp + 0x3d8], 0x12
cmp dword [eax + 0x18], esi
jb 0x4050f3
mov eax, dword [eax + 4]
jmp 0x4050f6
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
call fcn.00405c90
mov byte [esp + 0x3f4], 0x13
call fcn.0040a2f0
mov ecx, eax
mov byte [esp + 0x3f4], 0x14
call fcn.0040a360
mov byte [esp + 0x3bc], 2
cmp dword [esp + 0x40], esi
jb 0x40513b
mov edx, dword [esp + 0x2c]
push edx
call fcn.004129b1
add esp, 4
sub esp, 0x1c
mov eax, str.Easy_Printer_Manager_requires_.NET_Framework_4.0_client_profile._Would_you_like_to_download_and_install_it_now_
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.00405c90
sub esp, 0x1c
mov byte [esp + 0x3f4], 0x15
mov eax, str.EPMDOTNET_ERROR
mov ecx, esp
mov dword [esp + 0x58], esp
call fcn.00405c90
sub esp, 0x1c
mov byte [esp + 0x410], 0x16
mov eax, 0x506488
mov ecx, esp
mov dword [esp + 0x78], esp
call fcn.00405c90
mov byte [esp + 0x410], 0x17
call fcn.0040a2f0
lea edx, [esp + 0x98]
mov ecx, eax
mov byte [esp + 0x410], 2
call fcn.0040a530
mov byte [esp + 0x3bc], 0x18
mov eax, dword [esp + 0x1c]
push ebx
push eax
mov eax, dword [esp + 0x50]
push 1
cmp dword [esp + 0x68], esi
jae 0x4051c5
lea eax, [esp + 0x54]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040a0d0
lea ecx, [esp + 0x8c]
push ecx
call fcn.0040a810
lea ecx, [esp + 0x7c]
mov byte [esp + 0x3bc], 0x19
call fcn.00415b41
cmp byte [esp + 0x148], bl
je 0x40522c
push 0x1b
mov eax, str.dotNetFx40_Client_setup.exe
lea ecx, [esp + 0x64]
call fcn.004066d0
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], esi
jae 0x405217
lea eax, [esp + 0x64]
push 1
push ebx
push 0x506e28
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x3bc], 0x18
call fcn.0040a9c0
cmp dword [esp + 0x5c], esi
jb 0x405250
mov edx, dword [esp + 0x48]
push edx
call fcn.004129b1
add esp, 4
mov ebp, 8
cmp dword [esp + 0x78], ebp
jb 0x405268
mov eax, dword [esp + 0x64]
push eax
call fcn.004129b1
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
cmp dword [esp + 0x3dc], ebp
jb 0x405295
mov edx, dword [esp + 0x3c8]
push edx
call fcn.004129b1
add esp, 4
xor eax, eax
mov dword [esp + 0x3dc], esi
mov dword [esp + 0x3d8], ebx
mov word [esp + 0x3c8], ax
cmp dword [esp + 0x3f8], ebp
jb 0x4052c6
mov ecx, dword [esp + 0x3e4]
push ecx
call fcn.004129b1
add esp, 4
mov ecx, dword [esp + 0x3b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x398]
xor ecx, esp
call fcn.004451b5
add esp, 0x3ac
ret