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

Disassembly:
push 0xffffffffffffffff
push 0x48a587
mov eax, dword fs:[0]
push eax
mov eax, 0x2414
call fcn.0046d4a0
mov eax, dword [0x4bc7b8]
xor eax, esp
mov dword [esp + 0x2410], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc7b8]
xor eax, esp
push eax
lea eax, [esp + 0x2428]
mov dword fs:[0], eax
mov esi, ecx
push str.____FinishStep____
mov dword [esp + 0x3c], esi
mov ebx, edx
call fcn.00426a70
mov edi, eax
call fcn.00426f90
xor ebp, ebp
add esp, 4
cmp dword [esi + 0xa28], ebp
jne 0x414b2a
push ebx
push str.Set__s_as_default_printer.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 8
push ebx
call sub.WINSPOOL.DRV_Ordinal_204
mov edx, dword [esi + 0x10]
push 0x469
xor ecx, ecx
call fcn.004403e0
mov edx, dword [esi + 0x10]
add esp, 4
push 0x467
xor ecx, ecx
call fcn.004403e0
add esp, 4
cmp dword [esi + 0xa20], ebp
jne 0x41434a
cmp dword [esi + 0xa24], 3
jne 0x41434a
lea eax, [esp + 0x5c]
push eax
call fcn.00440c30
mov dword [esp + 0x2430], ebp
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov ecx, 8
lea esi, [esp + 0x18]
lea edi, [esp + 0x314]
push ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0xd6
mov dword [esp + 0x1c], 0x159
mov dword [esp + 0x24], 0x15a
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xf4]
push 0x100
push ecx
mov dword [esp + 0x2fc], eax
call fcn.00467e2b
add esp, 0xc
call fcn.00454a66
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x44]
push 0x8c
push edx
call dword [sym.imp.USER32.dll_LoadBitmapW]
cmp eax, ebp
je 0x41432d
mov dword [esp + 0x35c], eax
lea ecx, [esp + 0x5c]
call fcn.00450769
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2430], 0xffffffff
call fcn.00440d70
mov ecx, ebx
call fcn.0040d7f0
lea eax, [esp + 0x3b4]
push eax
call fcn.00441090
xor eax, eax
mov dword [esp + 0x2430], 1
push ebx
lea ecx, [esp + 0x44c]
push 0x100
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call fcn.00467e2b
add esp, 0xc
push ebx
lea edx, [esp + 0x69c]
push 0x100
push edx
call fcn.00467e2b
add esp, 0xc
lea esi, [esp + 0x221c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x54], 0xd6
mov dword [esp + 0x50], 0x107
mov dword [esp + 0x40], 0x104
mov dword [esp + 0x44], 0x105
mov dword [esp + 0x3c], 0x103
call fcn.0042a240
push str.infopage.prn
mov eax, esi
push 0x104
push eax
call fcn.0046837e
add esp, 0xc
push 0x49b3b4
mov ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004684be
add esp, 0xc
cmp eax, ebp
jne 0x414559
mov eax, dword [esp + 0x14]
push eax
call fcn.00468a7a
add esp, 4
mov eax, 1
cmp eax, ebp
mov dword [esp + 0x4c], 0x106
je 0x414443
mov dword [esp + 0x58], 0x246
mov ecx, 8
lea esi, [esp + 0x3c]
lea edi, [esp + 0x66c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3b4]
mov dword [esp + 0x898], ebp
mov dword [esp + 0x43c], 1
call fcn.00450769
cmp dword [esp + 0x89c], ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
je 0x414569
push 0x206
lea ecx, [esp + 0x1e12]
push ebp
push ecx
mov word [esp + 0x1e18], bp
call fcn.0046adc0
add esp, 0xc
push 0x206
lea edx, [esp + 0x201a]
push ebp
push edx
mov word [esp + 0x2020], bp
call fcn.0046adc0
add esp, 0xc
push 0x104
lea eax, [esp + 0x1e10]
push eax
call esi
push str.rundll32.exe
lea ecx, [esp + 0x1e10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
push str.printui.dll_PrintUIEntry__k__n___s_
lea edx, [esp + 0x201c]
push 0x104
push edx
call fcn.00468098
add esp, 0x10
push str.Printing_test_page..
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
lea eax, [esp + 0x2014]
push eax
lea ecx, [esp + 0x1e10]
push ecx
push str.__Command_Line:__s__s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
push ebp
lea edx, [esp + 0x2018]
push edx
push str.rundll32.exe
lea eax, [esp + 0x1e18]
push eax
push 1
call fcn.0046904c
add esp, 0x14
jmp 0x41457d
cmp eax, 2
jne 0x41442a
xor eax, eax
jmp 0x41442f
push str.User_chose_NOT_to_print_test_page.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
cmp dword [esp + 0x8a0], ebp
je 0x41465d
push 0x206
lea ecx, [esp + 0x1e12]
push ebp
push ecx
mov word [esp + 0x1e18], bp
call fcn.0046adc0
add esp, 0xc
push 0x206
lea edx, [esp + 0x201a]
push ebp
push edx
mov word [esp + 0x2020], bp
call fcn.0046adc0
add esp, 0xc
push 0x104
lea eax, [esp + 0x1e10]
push eax
call esi
push str.rundll32.exe
lea ecx, [esp + 0x1e10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
push str.printui.dll_PrintUIEntry__k__n___s_
lea edx, [esp + 0x201c]
push 0x104
push edx
call fcn.00468098
add esp, 0x10
push str.Printing_Intro_page..
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
lea eax, [esp + 0x2014]
push eax
lea ecx, [esp + 0x1e10]
push ecx
push str.__Command_Line:__s__s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 0xc
push ebp
lea edx, [esp + 0x2018]
push edx
push str.rundll32.exe
lea eax, [esp + 0x1e18]
push eax
push 1
call fcn.0046904c
add esp, 0x14
jmp 0x414671
push str.User_chose_NOT_to_print_Intro_page.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0xc], ebp
je 0x4146eb
push 0x206
lea edx, [esp + 0x1e12]
push ebp
push edx
mov word [esp + 0x1e18], bp
call fcn.0046adc0
add esp, 0xc
lea esi, [esp + 0x1e0c]
call fcn.0042a300
push 0x499dcc
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.HP_UT_LEDM_binhppusg.exe
mov ecx, esi
push 0x104
push ecx
call fcn.0046837e
add esp, 0xc
mov edx, esi
push edx
push str.Launch_Usage_Tracking:__s
call fcn.00426a70
mov edi, eax
call fcn.00426f90
push 0x498194
push ebp
mov ecx, esi
call fcn.00429d70
add esp, 0x10
cmp dword [esp + 0x8a4], ebp
je 0x414723
push str.Launching_registration_URL.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
push 1
push 0x498194
push ebp
push str.http:__www.hp.com_go_register
push str.Open
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x414737
push str.User_chose_NOT_to_register_printer.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
lea eax, [esp + 0xf1c]
push eax
xor edi, edi
call fcn.004416b0
mov esi, ebx
mov byte [esp + 0x2430], 2
call fcn.00416d00
mov ecx, eax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x414760
sub ecx, esi
sar ecx, 1
je 0x41479b
cmp eax, ebp
mov edi, 1
mov dword [esp + 0x1dd8], 0x228
je 0x41479b
push eax
lea ecx, [esp + 0x13d8]
push 0x100
push ecx
call fcn.00467e2b
add esp, 0xc
cmp ebx, ebp
je 0x4147ef
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4147a4
sub eax, edx
sar eax, 1
je 0x4147ef
push 0x493bd0
push ebx
call fcn.004677e7
add esp, 8
test eax, eax
je 0x4147ef
push str.www.hp.com_go_upd
lea edx, [esp + 0x15d8]
push 0x100
push edx
add edi, 1
mov dword [esp + 0x1de8], 0x226
call fcn.00467e2b
add esp, 0xc
cmp edi, ebp
jbe 0x414842
mov eax, dword [esp + 0x38]
add eax, 0x614
push eax
lea ecx, [esp + 0xfb4]
push 0x100
push ecx
call fcn.00467e2b
add esp, 0xc
lea ecx, [esp + 0xf1c]
mov dword [esp + 0x1dec], 0xda
mov dword [esp + 0x1df0], ebp
mov dword [esp + 0x1df4], ebp
mov dword [esp + 0x1dfc], 0x166
call fcn.00450769
cmp ebx, ebp
je 0x4148a3
mov eax, ebx
lea edx, [eax + 2]
jmp 0x414850
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x414850
sub eax, edx
sar eax, 1
je 0x414878
push 0x493bd8
push ebx
call fcn.004677e7
add esp, 8
test eax, eax
je 0x414878
call fcn.00417e20
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x414880
sub eax, edx
sar eax, 1
je 0x4148a3
push 0x493bd0
push ebx
call fcn.004677e7
add esp, 8
test eax, eax
jne 0x4148b2
mov esi, ebx
call fcn.00417b40
test eax, eax
je 0x414aea
lea edx, [esp + 0x5c]
push edx
call fcn.00440c30
mov byte [esp + 0x2430], 3
xor eax, eax
push 0x1fe
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x201a]
push ebp
push eax
mov dword [esp + 0x48], ebp
mov word [esp + 0x2020], bp
call fcn.0046adc0
add esp, 0xc
push 0x1fe
lea ecx, [esp + 0x1e12]
push ebp
push ecx
mov word [esp + 0x1e18], bp
call fcn.0046adc0
add esp, 0xc
call fcn.004330f0
push str.String_Not_Found
lea edx, [esp + 0x2018]
push 0x100
push edx
mov esi, eax
mov word [esp + 0x2020], bp
call fcn.00467e2b
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
cmp eax, ebp
jne 0x41497c
mov ecx, esi
call fcn.00433150
mov eax, dword [esi]
cmp eax, ebp
je 0x4149b1
push 0x100
lea ecx, [esp + 0x2018]
push ecx
push 0x20f
push eax
call edi
test eax, eax
jne 0x4149b1
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00426a70
mov ecx, eax
call fcn.00427100
add esp, 4
call fcn.004330f0
push str.String_Not_Found
lea edx, [esp + 0x1e10]
push 0x100
push edx
mov esi, eax
mov word [esp + 0x1e18], bp
call fcn.00467e2b
mov eax, dword [esi]
add esp, 0xc
cmp eax, ebp
jne 0x4149ed
mov ecx, esi
call fcn.00433150
mov eax, dword [esi]
cmp eax, ebp
je 0x414a22
push 0x100
lea ecx, [esp + 0x1e10]
push ecx
push 0x244
push eax
call edi
test eax, eax
jne 0x414a22
push str.LoadString_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.00426a70
mov ecx, eax
call fcn.00427100
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, 8
lea esi, [esp + 0x18]
lea edi, [esp + 0x314]
mov dword [esp + 0x30], 0x1f2
mov dword [esp + 0x2c], 0x1f1
mov dword [esp + 0x18], 0x320
mov dword [esp + 0x20], 0x322
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2f0], edx
mov ecx, 7
lea esi, [esp + 0x3c]
lea edi, [esp + 0x334]
rep movsd dword es:[edi], dword [esi]
call fcn.00454a66
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push 0x424
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
cmp eax, ebp
je 0x414a93
mov dword [esp + 0x35c], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xd8], 1
call fcn.00450769
cmp eax, 0x65
jne 0x414ad9
push str.Launching_EPrint_URL.
call fcn.00426a70
mov edi, eax
call fcn.00426f90
add esp, 4
push 1
push 0x498194
push ebp
push str.http:__www.hp.com_go_eprint
push str.Open
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2430], 2
call fcn.00440d70
call fcn.004187c0
mov byte [esp + 0x2430], 1
lea esi, [esp + 0xf1c]
mov dword [esp + 0xf1c], 0x4aa964
call fcn.0043ec90
lea ecx, [esp + 0x3b4]
mov dword [esp + 0x2430], 0xffffffff
call fcn.004411c0
jmp 0x414c08
mov edx, dword [esi + 0x10]
push 0x469
xor ecx, ecx
call fcn.004403e0
mov edx, dword [esi + 0x10]
add esp, 4
push 0x467
xor ecx, ecx
call fcn.004403e0
add esp, 4
mov ecx, ebx
call fcn.0040d7f0
push ebp
lea ecx, [esp + 0x9a8]
push ecx
call fcn.00442c10
push ebx
lea edx, [esp + 0xa3c]
push 0x100
mov dword [esp + 0x2438], 4
push edx
mov dword [esp + 0xca4], 1
call fcn.00467e2b
mov eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], eax
mov ecx, 8
lea esi, [esp + 0x24]
lea edi, [esp + 0xc68]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], 0x103
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x34], 0xda
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea ecx, [esp + 0x9a4]
mov dword [esp + 0xc38], eax
mov dword [esp + 0xa20], ebp
call fcn.00450769
lea ecx, [esp + 0x9a4]
mov dword [esp + 0x2430], 0xffffffff
call fcn.00442d90
xor eax, eax
mov ecx, dword [esp + 0x2428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2410]
xor ecx, esp
call fcn.004677d8
add esp, 0x2420
ret