Function at 0x442240
Capabilities:
Create process on windows
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x584be0
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
mov eax, dword [0x5eb6e0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
lea esi, [esp + 0x3c]
call fcn.004246e0
xor esi, esi
mov dword [esp + 0xb0], esi
mov ebx, dword [0x5f3980]
call fcn.00453e50
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4422a3
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xb0], 1
cmp ebx, 0xa
ja case.0x4422c4.7
jmp dword [ebx*4 + 0x442800]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PRM_WAC
call fcn.00403320
lea ecx, [esp + 0x1c]
push ecx
push edi
call fcn.00441ff0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 2
call fcn.004037d0
lea ecx, [esp + 0x18]
jmp 0x442478
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PRM_WACPanel
call fcn.00403320
lea edx, [esp + 0x48]
push edx
push edi
call fcn.00441ff0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 3
call fcn.004037d0
lea ecx, [esp + 0x44]
jmp 0x442478
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PRM_USB
call fcn.00403320
lea eax, [esp + 0x44]
push eax
push edi
call fcn.00441ff0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 4
call fcn.004037d0
lea ecx, [esp + 0x40]
jmp 0x442478
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PRM_Panel
call fcn.00403320
lea ecx, [esp + 0x5c]
push ecx
push edi
call fcn.00441ff0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 5
call fcn.004037d0
lea ecx, [esp + 0x58]
jmp 0x442478
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PRM_DirectAuto
call fcn.00403320
lea edx, [esp + 0x3c]
push edx
push edi
call fcn.00441ff0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 6
call fcn.004037d0
lea ecx, [esp + 0x38]
jmp 0x442478
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PRM_DirectManu
call fcn.00403320
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00441ff0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 7
call fcn.004037d0
lea ecx, [esp + 0x20]
jmp 0x442478
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PRM_Ether
call fcn.00403320
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.00441ff0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 8
call fcn.004037d0
lea ecx, [esp + 0x1c]
jmp 0x442478
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PRM_AddPC
call fcn.00403320
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00441ff0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 9
call fcn.004037d0
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 1
call fcn.00403860
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
push eax
push ebx
push str.RunErbium_Path__s__Param__s__r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push 0xf003f
push esi
push str.SOFTWAREEpsonNetEpsonNet_Easy_Network_Setup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], vtable.Registry.0
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0xf003f
mov byte [esp + 0xb0], 0xa
cmp eax, esi
je 0x44252f
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.PrintQueue
push edx
call esi
cmp dword [esp + 0x2c], 0
je 0x44250e
mov eax, dword [esp + 0x28]
push str.IPAddress
push eax
call esi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x442525
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
xor esi, esi
call fcn.00453e50
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x442549
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xb0], 0xb
mov ecx, dword [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push str.__s___s
push edx
call fcn.00404130
add esp, 0x10
mov dword [esp + 0x34], esi
cmp edi, esi
jne 0x442585
xor eax, eax
jmp 0x442588
mov eax, dword [edi + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
mov dword [esp + 0x2c], eax
call fcn.00403760
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xbc], 0xc
add ebx, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push ebx
mov dword [esp + 0x2c], ebx
call fcn.00403760
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0xbc], 0xb
call fcn.00436af0
test eax, eax
je 0x442741
push 0x44
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00553a60
mov eax, 1
mov ecx, eax
mov word [esp + 0x98], cx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x68], 0x44
mov dword [esp + 0x94], eax
mov dword [esp + 0x40], 0xffffff9c
sub eax, dword [ecx - 4]
mov ecx, dword [ecx - 8]
add esp, 0xc
or ecx, eax
jge 0x44262e
push 0
lea ecx, [esp + 0x1c]
call fcn.00403620
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x442716
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
push eax
mov dword [esp + 0x18], edx
call ebx
cmp eax, 0x102
jne 0x44269f
mov ecx, dword [esp + 0x10]
push ecx
mov esi, edi
call fcn.00442b70
mov esi, eax
test esi, esi
jne 0x4426f6
mov edx, dword [esp + 0x48]
push 0x1f4
push edx
call ebx
cmp eax, 0x102
je 0x44267a
push str.Wait_dwRet_WAIT_TIMEOUT_r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 4
push str.Wait_Again_r_n
mov eax, 0x5f38b8
call fcn.004053d0
mov ecx, dword [esp + 0x4c]
add esp, 4
push 0xffffffffffffffff
push ecx
call ebx
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x48]
push edx
call esi
mov ebx, dword [esp + 0x1c]
jmp 0x442728
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00457553
mov ecx, eax
call fcn.0045abb2
call fcn.00412010
jmp 0x4426b1
push str.Create_Process_Error_r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 4
mov eax, dword [edi + 0x20]
push 5
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00457553
mov ecx, eax
call fcn.0045abb2
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 0x20]
xor esi, esi
push esi
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442780
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], vtable.Registry.0
cmp eax, esi
je 0x44279b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], esi
mov byte [esp + 0xb0], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4427c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4427e8
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret