Function at 0x414370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3fa6
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4ff12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1ec], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xe0]
push 0x84
push 0
push eax
call fcn.004a21c0
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
add esp, 0xc
push ecx
mov ecx, esi
call dword [eax + 4]
push str.option_showAll_deletePrinter
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0
call fcn.00436ac6
test eax, eax
jne 0x414406
mov ecx, esi
call fcn.0046649c
xor edx, edx
mov ecx, edi
test al, al
push 1
sete dl
mov dword [edi + 0x4c], edx
call fcn.0040e640
jmp 0x4151df
push str.option_showAll_deleteDriver
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414439
mov ecx, esi
call fcn.0046649c
xor ecx, ecx
test al, al
push 1
sete cl
mov dword [edi + 0x68], ecx
mov ecx, edi
call fcn.0040ebf0
jmp 0x4151df
push str.option_port_usb
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414466
push 0x4e8020
push eax
push ecx
mov ecx, edi
mov dword [edi + 0x84], eax
call fcn.0040afc0
jmp 0x4151df
push str.option_port_net
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414497
push 0x4e8020
push eax
push ecx
mov ecx, edi
mov dword [edi + 0x84], 1
call fcn.0040afc0
jmp 0x4151df
push str.option_port_bluetooth
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x4144c2
push eax
mov ecx, edi
mov dword [edi + 0x84], 2
call fcn.00412730
jmp 0x4151df
push str.option_port_lpt
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x4144f3
push 0x4e8020
push eax
push ecx
mov ecx, edi
call fcn.0040afc0
mov dword [edi + 0x84], 3
jmp 0x4151df
push str.option_port_com
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414524
push 0x4e8020
push eax
push ecx
mov ecx, edi
call fcn.0040afc0
mov dword [edi + 0x84], 4
jmp 0x4151df
push str.option_port_custom
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414555
push 0x4e8020
push eax
push ecx
mov ecx, edi
call fcn.0040afc0
mov dword [edi + 0x84], 5
jmp 0x4151df
push str.option_usecustom_pin
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414582
mov ecx, esi
call fcn.0046649c
xor ecx, ecx
test al, al
sete cl
mov dword [edi + 0xf8], ecx
jmp 0x4151df
push str.btn_test_usb
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414a72
mov esi, dword [edi + 0x8c]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
call fcn.004034c0
add eax, 0xc
lea ecx, [ebp - 0x20]
push eax
call fcn.0041a160
mov byte [ebp - 4], 1
test esi, esi
jns 0x41464c
push 0
lea eax, [ebp - 0x28c]
push str.tip.dlgtitle
push eax
call fcn.00406b10
mov ecx, eax
call fcn.0045e146
mov edi, eax
push 0
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 2
push str.tip.notselectusbport
push eax
call fcn.00406b10
mov ecx, eax
call fcn.0045e146
mov esi, eax
push 0x40
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00408300
push eax
mov ecx, esi
call fcn.00408300
mov ecx, dword [ebp - 0x1ec]
push eax
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x1e8]
call fcn.004367b7
lea ecx, [ebp - 0x28c]
call fcn.004367b7
lea ecx, [ebp - 0x20]
call fcn.0041a2e0
jmp 0x4151df
mov ecx, dword [ebp - 0x1c]
mov eax, 0x38e38e39
sub ecx, dword [ebp - 0x20]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x414a65
mov ecx, dword [ebp - 0x20]
lea eax, [esi + esi*8]
lea eax, [ecx + eax*8]
push eax
lea ecx, [ebp - 0x128]
call fcn.0040c810
mov byte [ebp - 4], 4
lea esi, [edi + 0x174]
mov eax, dword [esi]
push 0
mov dword [esi + 4], eax
lea eax, [ebp - 0x28c]
push str.tip.currentportis
push eax
call fcn.00406b10
mov ecx, eax
call fcn.0045e146
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00408300
push eax
lea ecx, [ebp - 0x204]
call fcn.00405b50
lea eax, [ebp - 0x204]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.0042f520
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1f0]
cmp edx, 8
jb 0x414716
mov ecx, dword [ebp - 0x204]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41470c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415207
push edx
push ecx
call fcn.0048ab28
add esp, 8
xor eax, eax
mov dword [ebp - 0x1f4], 0
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x1f0], 7
mov word [ebp - 0x204], ax
mov byte [ebp - 4], 4
call fcn.004367b7
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.0042f520
mov eax, dword [esi + 4]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x414767
mov byte [eax], 0xa
inc dword [esi + 4]
mov eax, dword [esi + 4]
jmp 0x414779
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [edi + 0x178]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x41478d
mov byte [eax], 0xa
inc dword [esi + 4]
mov eax, dword [esi + 4]
jmp 0x41479f
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [edi + 0x178]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x4147b3
mov byte [eax], 0xa
inc dword [esi + 4]
mov eax, dword [esi + 4]
jmp 0x4147c5
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [edi + 0x178]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x4147d9
mov byte [eax], 0xa
inc dword [esi + 4]
mov eax, dword [esi + 4]
jmp 0x4147eb
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [edi + 0x178]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x4147ff
mov byte [eax], 0xa
inc dword [esi + 4]
mov eax, dword [esi + 4]
jmp 0x414811
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [edi + 0x178]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x414825
mov byte [eax], 0xa
inc dword [esi + 4]
mov eax, dword [esi + 4]
jmp 0x414837
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [edi + 0x178]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x41484b
mov byte [eax], 0xa
inc dword [esi + 4]
mov eax, dword [esi + 4]
jmp 0x41485d
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [edi + 0x178]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x414871
mov byte [eax], 0xa
inc dword [esi + 4]
mov eax, dword [esi + 4]
jmp 0x414883
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [edi + 0x178]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x414897
mov byte [eax], 0xa
inc dword [esi + 4]
mov eax, dword [esi + 4]
jmp 0x4148a9
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [edi + 0x178]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x4148ba
mov byte [eax], 0xa
inc dword [esi + 4]
jmp 0x4148c6
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [esi + 4]
mov byte [ebp - 0x14], 0x1d
cmp dword [esi + 8], eax
je 0x4148da
mov byte [eax], 0x1d
inc dword [esi + 4]
jmp 0x4148e6
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [esi + 4]
mov byte [ebp - 0x14], 0x56
cmp dword [esi + 8], eax
je 0x4148fa
mov byte [eax], 0x56
inc dword [esi + 4]
jmp 0x414906
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [esi + 4]
mov byte [ebp - 0x14], 1
cmp dword [esi + 8], eax
je 0x41491a
mov byte [eax], 1
inc dword [esi + 4]
jmp 0x414926
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov eax, dword [esi + 4]
mov byte [ebp - 0x14], 0xa
cmp dword [esi + 8], eax
je 0x41493d
mov byte [eax], 0xa
inc dword [esi + 4]
mov edi, dword [esi + 4]
jmp 0x41494f
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0042f720
mov edi, dword [edi + 0x178]
mov eax, dword [esi]
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x1ec], eax
sub edi, eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00405ba0
cmp dword [ebp - 0x1f4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
ja 0x4149c5
mov edx, dword [ebp - 0x1f0]
cmp edx, 8
jb 0x414a5a
mov ecx, dword [ebp - 0x204]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414a50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41520c
jmp 0x414a50
cmp dword [ebp - 0x1f0], 8
lea eax, [ebp - 0x204]
push 0
cmovae eax, dword [ebp - 0x204]
push 0x40000080
push 3
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x414982
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x4254b0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
push edi
push dword [ebp - 0x1ec]
mov dword [0x504288], 0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
push 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [ebp - 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x414a48
push eax
call edi
push esi
call edi
jmp 0x414982
push edx
push ecx
call fcn.0048ab28
add esp, 8
lea ecx, [ebp - 0x128]
call fcn.0040c880
lea ecx, [ebp - 0x20]
call fcn.0041a2e0
jmp 0x4151df
push str.btn_port_add
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414af9
push 0x7a4
call fcn.0048ab36
mov esi, eax
mov dword [ebp - 0x1ec], esi
push 0x7a4
push 0
push esi
mov byte [ebp - 4], 7
call fcn.004a21c0
add esp, 0x10
mov ecx, esi
call fcn.004076a0
push 0
push SysReAllocString
push 0x23c
push 0x320
push 0
push 0
push 0x96c80000
push 0
mov esi, eax
mov byte [ebp - 4], 0
push dword [edi + 0x38]
mov ecx, esi
call fcn.004584f6
mov ecx, esi
call fcn.00458377
mov ecx, esi
call fcn.004589c1
mov ecx, edi
call fcn.0040d7e0
jmp 0x4151df
push str.btn_port_delete
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414eec
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push eax
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 8
push str.tip.isdeleteport
push eax
call fcn.00406b10
mov ecx, eax
call fcn.0045e146
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00408300
push eax
lea ecx, [ebp - 0x204]
call fcn.00405b50
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x94]
cmp dword [edi + 0xa8], 8
jb 0x414b6c
mov ecx, dword [edi + 0x94]
push ecx
lea edx, [ebp - 0x204]
lea ecx, [ebp - 0x2c]
call fcn.0041b050
add esp, 4
lea ecx, [ebp - 0x44]
push eax
call fcn.004082c0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x414bc1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414bb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41520c
push edx
push ecx
call fcn.0048ab28
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x414c19
mov ecx, dword [ebp - 0x204]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414c0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41520c
push edx
push ecx
call fcn.0048ab28
add esp, 8
xor eax, eax
mov dword [ebp - 0x1f4], 0
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x1f0], 7
mov word [ebp - 0x204], ax
mov byte [ebp - 4], 8
call fcn.004367b7
push 0
lea eax, [ebp - 0x28c]
push str.tip.dlgtitle
push eax
call fcn.00406b10
mov ecx, eax
call fcn.0045e146
mov byte [ebp - 4], 0xb
lea esi, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov ecx, eax
push 0x41
cmovae esi, dword [ebp - 0x44]
call fcn.00408300
push eax
push esi
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 8
mov esi, eax
call fcn.004367b7
cmp esi, 1
jne 0x414edf
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea eax, [edi + 0x94]
mov byte [ebp - 4], 0xc
mov esi, dword [edi + 0x38]
lea ecx, [ebp - 0x204]
push eax
call fcn.00405ba0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x204]
cmp dword [ebp - 0x1f0], 8
cmovae eax, dword [ebp - 0x204]
push eax
push esi
push 0
call dword [sym.imp.WINSPOOL.DRV_DeletePortW]
test eax, eax
jne 0x414e7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00425e00
mov esi, eax
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x414d37
mov ecx, eax
call fcn.00407040
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x414d71
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414d67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41520c
push edx
push ecx
call fcn.0048ab28
add esp, 8
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1f0]
cmp edx, 8
jb 0x414db5
mov ecx, dword [ebp - 0x204]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414dab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41520c
push edx
push ecx
call fcn.0048ab28
add esp, 8
push 0
lea eax, [ebp - 0x1e8]
push str.tip.deletefailreason
push eax
call fcn.00406b10
mov ecx, eax
call fcn.0045e146
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00408300
push eax
lea ecx, [ebp - 0x204]
call fcn.00405b50
push 0
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 0xf
push str.tip.dlgtitle
push eax
call fcn.00406b10
mov ecx, eax
call fcn.0045e146
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea edx, [ebp - 0x204]
cmovae ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041b050
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x11
cmp dword [esi + 0x14], 8
jb 0x414e39
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1ec]
push 0x40
call fcn.00408300
push eax
push esi
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x2c]
call fcn.00407040
lea ecx, [ebp - 0x28c]
call fcn.004367b7
lea ecx, [ebp - 0x204]
call fcn.00407040
lea ecx, [ebp - 0x1e8]
call fcn.004367b7
jmp 0x414ed7
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1f0]
cmp edx, 8
jb 0x414ec0
mov ecx, dword [ebp - 0x204]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414eb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41520c
push edx
push ecx
call fcn.0048ab28
add esp, 8
push 0x4e8020
lea ecx, [edi + 0x94]
call fcn.00405b20
mov ecx, edi
call fcn.0040d7e0
lea ecx, [ebp - 0x5c]
call fcn.00407040
lea ecx, [ebp - 0x44]
call fcn.00407040
jmp 0x4151df
push str.btn_port_configure
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414f7c
mov esi, dword [edi + 0x38]
lea eax, [edi + 0x94]
push eax
lea ecx, [ebp - 0x204]
call fcn.00405ba0
cmp dword [ebp - 0x1f0], 8
lea eax, [ebp - 0x204]
cmovae eax, dword [ebp - 0x204]
push eax
push esi
push 0
call dword [sym.imp.WINSPOOL.DRV_ConfigurePortW]
mov edx, dword [ebp - 0x1f0]
cmp edx, 8
jb 0x4151df
mov ecx, dword [ebp - 0x204]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414f6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41520c
push edx
push ecx
call fcn.0048ab28
add esp, 8
jmp 0x4151df
push str.option_selected_defaultPrinter
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x414fa9
mov ecx, esi
call fcn.0046649c
xor ecx, ecx
test al, al
sete cl
mov dword [edi + 0xac], ecx
jmp 0x4151df
push str.btn_setup_preferences
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x415028
mov esi, dword [edi + 0x38]
lea eax, [edi + 0xb0]
push eax
lea ecx, [ebp - 0x204]
call fcn.00405ba0
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x204]
mov dword [ebp - 0x1ec], esp
mov ecx, esp
push eax
call fcn.00405ba0
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
xor eax, eax
push 0x25
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x4ebec0
mov word [ecx], ax
call fcn.00406ee0
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00425590
add esp, 0x30
jmp 0x414f33
push str.btn_setup_properties
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x4150a7
mov esi, dword [edi + 0x38]
lea eax, [edi + 0xb0]
push eax
lea ecx, [ebp - 0x204]
call fcn.00405ba0
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], esp
mov ecx, esp
push eax
call fcn.00405ba0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
xor eax, eax
push 0x25
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str._printui.dll__PrintUIEntry__p__n__s_
mov word [ecx], ax
call fcn.00406ee0
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.00425590
add esp, 0x30
jmp 0x414f33
push str.btn_setup_testpage
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x4150dc
sub esp, 0x18
lea eax, [edi + 0xb0]
mov ecx, esp
push eax
call fcn.00405ba0
mov ecx, dword [edi + 0x38]
call fcn.004254c0
add esp, 0x18
jmp 0x4151df
push str.btn_checked_printer_name
lea ecx, [ebp - 0xe0]
call fcn.00436ac6
test eax, eax
jne 0x4151df
push 0x84
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.004a21c0
add esp, 0xc
lea ecx, [ebp - 0x1e8]
call fcn.004366d9
push 0x84
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 0x16
push 0
push eax
call fcn.004a21c0
add esp, 0xc
lea ecx, [ebp - 0x164]
call fcn.004366d9
add edi, 0xb0
mov byte [ebp - 4], 0x17
cmp dword [edi + 0x14], 8
jb 0x41514b
mov edi, dword [edi]
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x1e8]
call fcn.00436a27
lea ecx, [ebp - 0x1e8]
call fcn.00408300
mov ecx, eax
call fcn.00425880
sub esp, 0x84
lea esi, [ebp - 0x1e8]
mov ecx, 0x21
mov edi, esp
test eax, eax
lea eax, [ebp - 0x164]
rep movsd dword es:[edi], dword [esi]
jne 0x41519f
push 0x4eb36c
push eax
call fcn.00436c73
add esp, 0x8c
push 0
jmp 0x4151b2
push 0x4eb388
push eax
call fcn.00436c73
add esp, 0x8c
push 1
lea ecx, [ebp - 0x164]
call fcn.00408300
mov ecx, dword [ebp - 0x1ec]
push eax
call fcn.0040b0c0
lea ecx, [ebp - 0x164]
call fcn.004367b7
lea ecx, [ebp - 0x1e8]
call fcn.004367b7
lea ecx, [ebp - 0xe0]
call fcn.004367b7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048aaf4
mov esp, ebp
pop ebp
ret 4
call fcn.004a6c47
call fcn.004a6c47
int3