Function at 0x10047de0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x7804]
mov eax, 0x7804
call fcn.100c8100
push 0xffffffffffffffff
push 0x100eb6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10144930]
xor eax, ebp
mov dword [ebp + 0x7800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x780c]
mov dword [ebp - 0x1c], eax
mov ebx, ecx
mov edi, edx
mov dword [ebp - 0x34], edi
mov esi, dword [ebp + 0x7810]
mov dword [ebp - 0x14], 3
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x100495d8
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10047e60
sub eax, edx
sar eax, 1
je 0x100495d8
test edi, edi
je 0x100495d8
mov edi, dword [ebp - 0x1c]
add edi, 0xc1e0
cmp dword [edi], 0
je 0x100495d1
mov eax, dword [ebp - 0x1c]
add eax, 0x2050
call fcn.1000cc30
test al, al
je 0x100495d1
push 0x200
push 0
lea ecx, [ebp + 0x7600]
push ecx
call fcn.100c7d20
push 2
push 0x1011b740
push ebx
call fcn.100c6ccf
add esp, 0x18
push 0xff
test eax, eax
jne 0x10047ee6
mov byte [ebp - 0x1d], 1
add ebx, 4
push ebx
push 0x100
lea edx, [ebp + 0x7600]
push edx
jmp 0x10047ef7
mov byte [ebp - 0x1d], 0
push ebx
push 0x100
lea eax, [ebp + 0x7600]
push eax
call fcn.100c6041
add esp, 0x10
push 0x800
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x5a00]
push ecx
call fcn.100c7d20
push 0x800
push ebx
lea edx, [ebp + 0x6e00]
push edx
call fcn.100c7d20
push 0x1011b748
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 0x20
test eax, eax
jne 0x1004809a
mov byte [ebp - 0x25], 1
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 1
push 0x800
lea edx, [ebp + 0x6e00]
push edx
push str.Selected
mov eax, dword [edi]
push eax
mov edx, str.InstallingSetupFoundPrinter
call fcn.10044220
add esp, 0x20
test eax, eax
jne 0x1004813b
push 0x800
push ebx
lea ecx, [ebp + 0x6400]
push ecx
call fcn.100c7d20
lea edx, [ebp + 0x6e00]
push edx
push str.InstallingSetupFoundPrinter_s
lea edx, [ebp + 0x6400]
call fcn.10005c50
push 0x200
push ebx
lea eax, [ebp + 0x6200]
push eax
call fcn.100c7d20
push 1
push 0x200
lea ecx, [ebp + 0x6200]
push ecx
push str.Type
mov edx, dword [edi]
push edx
lea edx, [ebp + 0x6400]
call fcn.10044220
add esp, 0x34
test eax, eax
jne 0x10048008
push str.network
lea eax, [ebp + 0x6200]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
je 0x10048008
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x14], ebx
jmp 0x1004951d
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 1
push 0x800
lea edx, [ebp + 0x6e00]
push edx
push str.Address
mov eax, dword [edi]
push eax
lea edx, [ebp + 0x6400]
call fcn.10044220
add esp, 0x20
test eax, eax
je 0x10048bb0
push 1
push 0x800
lea ecx, [ebp + 0x6e00]
push ecx
push 0x1011b748
mov edx, dword [edi]
push edx
lea edx, [ebp + 0x6400]
call fcn.10044220
add esp, 0x14
test eax, eax
jne 0x1004813b
push 0x3ff
lea eax, [ebp + 0x6e00]
push eax
push 0x400
lea ecx, [ebp + 0x5a00]
push ecx
call fcn.100c6041
add esp, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x1004951d
push str.PORT
lea ecx, [ebp + 0x7600]
push ecx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048143
cmp esi, ebx
je 0x100480f0
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100480c0
sub eax, edx
sar eax, 1
je 0x100480f0
push str.Port
push esi
push edi
mov eax, 0x400
lea edx, [ebp + 0x6e00]
call fcn.10008b50
test eax, eax
je 0x10048bb0
push 1
push 0x800
lea ecx, [ebp + 0x6e00]
push ecx
push str.Port
mov edx, dword [edi]
push edx
mov edx, str.InstallingModel
call fcn.10044220
add esp, 0x14
test eax, eax
jne 0x100481b5
lea eax, [ebp + 0x6e00]
push 0x3ff
push eax
push 0x400
lea ecx, [ebp + 0x5a00]
push ecx
call fcn.100c6041
add esp, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x1004951d
push 0x1011b4ac
lea edx, [ebp + 0x7600]
push edx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x100482b7
mov esi, dword [ebp - 0x1c]
add esi, 0xcff4
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048170
sub eax, edx
sar eax, 1
jne 0x1004819c
push 0x1011b4ac
push str.InstallingModel
push edi
mov eax, 0x100
mov edx, esi
call fcn.10008b50
test eax, eax
je 0x1004819f
mov dword [ebp - 0x14], ebx
mov eax, esi
lea ecx, [ebp + 0x5a00]
call fcn.10008bf0
cmp dword [ebp - 0x14], ebx
je 0x1004951d
push 0x200
push ebx
lea edx, [ebp + 0x6c00]
push edx
call fcn.100c7d20
push 0x200
push ebx
lea eax, [ebp + 0x6200]
push eax
call fcn.100c7d20
push 0xff
lea ecx, [ebp + 0x7600]
push ecx
push 0x100
lea edx, [ebp + 0x6c00]
push edx
call fcn.100c6041
push 0x2e
lea eax, [ebp + 0x6c00]
push eax
call fcn.100c6d73
add esp, 0x30
mov esi, eax
cmp esi, ebx
je 0x1004935b
push 0xff
lea ecx, [esi + 2]
push ecx
push 0x100
lea edx, [ebp + 0x6200]
push edx
call fcn.100c6041
mov word [esi], bx
push 0x800
push ebx
lea eax, [ebp + 0x3800]
push eax
call fcn.100c7d20
lea ecx, [ebp + 0x6c00]
push ecx
push str.Components
push str.Installing
push 0x1010d548
lea edx, [ebp + 0x3800]
call fcn.10005c50
push 1
push 0x800
lea edx, [ebp + 0x6e00]
push edx
lea eax, [ebp + 0x6200]
push eax
mov ecx, dword [edi]
push ecx
lea edx, [ebp + 0x3800]
call fcn.10044220
add esp, 0x40
test eax, eax
jne 0x1004935b
push 0x3ff
lea edx, [ebp + 0x6e00]
push edx
push 0x400
lea eax, [ebp + 0x5a00]
push eax
call fcn.100c6041
add esp, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x1004951d
push 0x1010628c
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048395
mov esi, dword [ebp - 0x1c]
add esi, 0xd1f4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100482e1
sub eax, edx
sar eax, 1
jne 0x1004819c
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 1
push 0x800
lea edx, [ebp + 0x6e00]
push edx
push str.Selected
mov eax, dword [edi]
push eax
mov edx, str.InstallingModel
call fcn.10044220
add esp, 0x20
test eax, eax
je 0x1004835f
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 0x3ff
push 0x10106260
push 0x400
lea edx, [ebp + 0x6e00]
push edx
call fcn.100c6041
add esp, 0x1c
push 0x800
push ebx
lea eax, [ebp + 0x6400]
push eax
call fcn.100c7d20
lea ecx, [ebp + 0x6e00]
push ecx
push 0x10106264
lea edx, [ebp + 0x6400]
call fcn.10005c50
add esp, 0x14
push 0x1010628c
jmp 0x10048732
push str.VIDPID
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048474
mov esi, dword [ebp - 0x1c]
add esi, 0xd3f4
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100483c0
sub eax, edx
sar eax, 1
jne 0x1004819c
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 1
push 0x800
lea edx, [ebp + 0x6e00]
push edx
push str.Selected
mov eax, dword [edi]
push eax
mov edx, str.InstallingModel
call fcn.10044220
add esp, 0x20
test eax, eax
je 0x1004843e
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 0x3ff
push 0x10106260
push 0x400
lea edx, [ebp + 0x6e00]
push edx
call fcn.100c6041
add esp, 0x1c
push 0x800
push ebx
lea eax, [ebp + 0x6400]
push eax
call fcn.100c7d20
lea ecx, [ebp + 0x6e00]
push ecx
push 0x10106264
lea edx, [ebp + 0x6400]
call fcn.10005c50
add esp, 0x14
push str.VIDPID
jmp 0x10048732
push str.SCAN_CID
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048584
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 1
push 0x800
lea edx, [ebp + 0x6e00]
push edx
push str.Selected
mov eax, dword [edi]
push eax
mov edx, str.InstallingModel
call fcn.10044220
add esp, 0x20
test eax, eax
je 0x100484f9
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 0x3ff
push 0x10106260
push 0x400
lea edx, [ebp + 0x6e00]
push edx
call fcn.100c6041
add esp, 0x1c
push 0x800
push ebx
lea eax, [ebp + 0x6400]
push eax
call fcn.100c7d20
lea ecx, [ebp + 0x6e00]
push ecx
push 0x10106264
lea edx, [ebp + 0x6400]
call fcn.10005c50
push 0x800
push ebx
lea edx, [ebp + 0x6e00]
push edx
call fcn.100c7d20
push 1
push 0x800
lea eax, [ebp + 0x6e00]
push eax
push str.SCAN_CID
mov ecx, dword [edi]
push ecx
lea edx, [ebp + 0x6400]
call fcn.10044220
add esp, 0x34
test eax, eax
jne 0x1004855f
mov dword [ebp - 0x14], ebx
push 0x3ff
lea edx, [ebp + 0x6e00]
push edx
push 0x400
lea eax, [ebp + 0x5a00]
push eax
call fcn.100c6041
add esp, 0x10
jmp 0x100481ac
push str.MODEL_DIR
lea ecx, [ebp + 0x7600]
push ecx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x1004866b
mov esi, dword [ebp - 0x1c]
add esi, 0xd5f4
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100485b0
sub eax, edx
sar eax, 1
jne 0x1004819c
push 0x800
push ebx
lea edx, [ebp + 0x6e00]
push edx
call fcn.100c7d20
push 1
push 0x800
lea eax, [ebp + 0x6e00]
push eax
push str.Selected
mov ecx, dword [edi]
push ecx
mov edx, str.InstallingModel
call fcn.10044220
add esp, 0x20
test eax, eax
je 0x1004862e
push 0x800
push ebx
lea edx, [ebp + 0x6e00]
push edx
call fcn.100c7d20
push 0x3ff
push 0x10106260
push 0x400
lea eax, [ebp + 0x6e00]
push eax
call fcn.100c6041
add esp, 0x1c
push 0x800
push ebx
lea ecx, [ebp + 0x6400]
push ecx
call fcn.100c7d20
lea edx, [ebp + 0x6e00]
push edx
push 0x10106264
lea edx, [ebp + 0x6400]
call fcn.10005c50
add esp, 0x14
push 0x1011b7e8
lea eax, [ebp + 0x6400]
push eax
jmp 0x10048739
push str.MODEL_NAME
lea ecx, [ebp + 0x7600]
push ecx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048753
mov esi, dword [ebp - 0x1c]
add esi, 0xd7f4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048695
sub eax, edx
sar eax, 1
jne 0x1004819c
push 1
push 0x800
lea edx, [ebp + 0x6e00]
push edx
push str.Selected
mov eax, dword [edi]
push eax
mov edx, str.InstallingModel
call fcn.10044220
add esp, 0x14
test eax, eax
je 0x10048701
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 0x3ff
push 0x10106260
push 0x400
lea edx, [ebp + 0x6e00]
push edx
call fcn.100c6041
add esp, 0x1c
push 0x800
push ebx
lea eax, [ebp + 0x6400]
push eax
call fcn.100c7d20
lea ecx, [ebp + 0x6e00]
push ecx
push 0x10106264
lea edx, [ebp + 0x6400]
call fcn.10005c50
add esp, 0x14
push str.Name
lea edx, [ebp + 0x6400]
push edx
push edi
mov eax, 0x100
mov edx, esi
call fcn.10008b50
test eax, eax
jne 0x1004819f
jmp 0x1004819c
push str.COMP_INF
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048801
cmp esi, ebx
je 0x10048801
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048780
sub eax, edx
sar eax, 1
je 0x10048801
push 0x1011b81c
push esi
push edi
mov eax, 0x400
lea edx, [ebp + 0x6e00]
call fcn.10008b50
test eax, eax
jne 0x100481b5
push ebx
push 0x400
lea ecx, [ebp + 0x4a00]
push ecx
lea edx, [ebp + 0x6e00]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.10047910
lea eax, [ebp + 0x4a00]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea ecx, [ebp + 0x4a00]
push 0x3ff
push ecx
push 0x400
lea edx, [ebp + 0x5a00]
push edx
call fcn.100c6041
add esp, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x1004951d
push str.COMP_DIR
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x1004885a
cmp esi, ebx
je 0x1004885a
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048822
sub eax, edx
sar eax, 1
je 0x1004885a
push str.Comp_Dir
push esi
push edi
mov eax, 0x400
lea edx, [ebp + 0x6e00]
call fcn.10008b50
test eax, eax
jne 0x100481b5
lea ecx, [ebp + 0x6e00]
jmp 0x100487df
push str.SRC_COMP_INF
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048898
cmp esi, ebx
je 0x10048898
mov eax, esi
lea edx, [eax + 2]
jmp 0x10048880
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048880
sub eax, edx
sar eax, 1
je 0x10048898
push 0x1011b81c
jmp 0x10048838
push str.DEST_COMP_INF
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048b59
cmp esi, ebx
je 0x10048b59
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100488c1
sub eax, edx
sar eax, 1
je 0x10048b59
push 0x800
push ebx
lea ecx, [ebp + 0x4a00]
push ecx
call fcn.100c7d20
push 0x800
push ebx
lea edx, [ebp + 0x2800]
push edx
call fcn.100c7d20
push 0x800
push ebx
lea eax, [ebp + 0x4000]
push eax
call fcn.100c7d20
push 0x800
push ebx
lea ecx, [ebp + 0x2000]
push ecx
call fcn.100c7d20
add esp, 0x30
push 0x1011b81c
push esi
push edi
mov eax, 0x400
lea edx, [ebp + 0x4a00]
call fcn.10008b50
test eax, eax
jne 0x100481b5
mov dword [ebp - 0x30], ebx
push 4
push 4
lea edx, [ebp - 0x30]
push edx
push str.UpdateSetting
mov eax, dword [edi]
push eax
mov edx, esi
call fcn.10044220
add esp, 0x14
test eax, eax
jne 0x10048996
cmp dword [ebp - 0x30], ebx
je 0x10048996
push str.Update_Temp_Dir
push esi
push edi
mov eax, 0x400
lea edx, [ebp + 0x4000]
call fcn.10008b50
test eax, eax
je 0x10048996
push 0x800
push ebx
lea ecx, [ebp + 0x4000]
push ecx
call fcn.100c7d20
add esp, 0xc
lea eax, [ebp + 0x4000]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100489a0
sub eax, edx
sar eax, 1
jne 0x100489ed
push 1
push 0x800
lea edx, [ebp + 0x4000]
push edx
push str.CD_Source_Dir
mov eax, dword [edi]
push eax
mov edx, str.InstallingSetupProgram
call fcn.10044220
add esp, 0x14
test eax, eax
je 0x100489ed
push 0x800
push ebx
lea ecx, [ebp + 0x4000]
push ecx
call fcn.100c7d20
add esp, 0xc
push 1
push 0x800
lea edx, [ebp + 0x2800]
push edx
push str.Inst_Dest_Dir
mov eax, dword [edi]
push eax
mov edx, str.InstallingSetupProgram
call fcn.10044220
add esp, 0x14
test eax, eax
jne 0x100481b5
lea eax, [ebp + 0x4000]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048a21
sub eax, edx
sar eax, 1
je 0x100481b5
push ebx
push 0x400
lea ecx, [ebp + 0x6e00]
push ecx
lea edx, [ebp + 0x4a00]
push edx
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.10047910
push ebx
push 0x400
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp + 0x2800]
push ecx
mov ecx, esi
call fcn.10047910
push ebx
push 0x400
lea edx, [ebp + 0x3000]
push edx
lea eax, [ebp + 0x4000]
push eax
mov ecx, esi
call fcn.10047910
lea ecx, [ebp + 0x2000]
push ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
call esi
lea edx, [ebp + 0x3000]
push edx
call esi
lea eax, [ebp + 0x3000]
lea edx, [eax + 2]
jmp 0x10048ab0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048ab0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x3000]
push eax
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c6ccf
add esp, 0xc
test eax, eax
jne 0x10048b31
push 0x800
push ebx
lea edx, [ebp + 0x4a00]
push edx
call fcn.100c7d20
add esp, 0xc
lea eax, [ebp + 0x3000]
lea edx, [eax + 2]
jmp 0x10048b00
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048b00
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 + 0x6e00]
push eax
lea ecx, [ebp + 0x2000]
push ecx
push str._s_s
lea edx, [ebp + 0x4a00]
call fcn.10005c50
add esp, 0xc
lea edx, [ebp + 0x4a00]
push 0x3ff
push edx
push 0x400
lea eax, [ebp + 0x5a00]
push eax
call fcn.100c6041
add esp, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x1004951d
push str.DISPLAY_NAME
lea ecx, [ebp + 0x7600]
push ecx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048bd8
cmp esi, ebx
je 0x10048bd8
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048b80
sub eax, edx
sar eax, 1
je 0x10048bd8
push str.Display_Name
push esi
push edi
mov eax, 0x400
lea edx, [ebp + 0x6e00]
call fcn.10008b50
test eax, eax
jne 0x100481b5
lea edx, [ebp + 0x6e00]
push 0x3ff
push edx
push 0x400
lea eax, [ebp + 0x5a00]
push eax
call fcn.100c6041
add esp, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x1004951d
push str.DRIVER_NAME
lea ecx, [ebp + 0x7600]
push ecx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048c1b
cmp esi, ebx
je 0x10048c1b
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048c00
sub eax, edx
sar eax, 1
je 0x10048c1b
push str.Driver
jmp 0x10048b96
push str.PRINTER_NAME
lea ecx, [ebp + 0x7600]
push ecx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048c5b
cmp esi, ebx
je 0x10048c5b
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048c40
sub eax, edx
sar eax, 1
je 0x10048c5b
push str.Printer
jmp 0x10048b96
push str.VERSION
lea ecx, [ebp + 0x7600]
push ecx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048db9
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp - 0x1c]
add esi, 0xc9f4
mov eax, esi
lea edx, [eax + 2]
jmp 0x10048c90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048c90
sub eax, edx
sar eax, 1
jne 0x1004951d
push 0x800
push ebx
lea edx, [ebp + 0x6400]
push edx
call fcn.100c7d20
push 1
push 0x800
lea eax, [ebp + 0x6400]
push eax
push str.CD_Source_Dir
mov ecx, dword [edi]
push ecx
mov edx, str.InstallingSetupProgram
call fcn.10044220
add esp, 0x20
test eax, eax
jne 0x10048da4
lea edx, [ebp + 0x6400]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push 0x800
push ebx
lea eax, [ebp + 0x5200]
push eax
call fcn.100c7d20
push str.CD.ver
lea ecx, [ebp + 0x6400]
push ecx
push 0x101093f0
lea edx, [ebp + 0x5200]
call fcn.10005c50
add esp, 0x18
lea edx, [ebp + 0x5200]
call fcn.10045370
test al, al
je 0x10048d4d
lea edx, [ebp + 0x5200]
push edx
push 0x100
push esi
push 0x10108140
push str.version
push str.Version
jmp 0x10048d9a
push 0x800
push ebx
lea eax, [ebp + 0x5200]
push eax
call fcn.100c7d20
push str.Autorun.inf
lea ecx, [ebp + 0x6400]
push ecx
push 0x101093f0
lea edx, [ebp + 0x5200]
call fcn.10005c50
add esp, 0x18
lea edx, [ebp + 0x5200]
push edx
push 0x100
push esi
push 0x10108140
push str.VERSION
push str.INFOMATION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10048da7
mov dword [ebp - 0x14], ebx
mov eax, esi
lea ecx, [ebp + 0x5a00]
call fcn.10008bf0
jmp 0x1004951d
push str.DATE
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048f49
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x1c]
add eax, 0xcbf4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048de3
sub eax, edx
sar eax, 1
jne 0x10048f31
mov dword [ebp - 0x5c], 0x7d0
mov esi, 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
push 0x800
push ebx
lea ecx, [ebp + 0x6400]
push ecx
call fcn.100c7d20
push esi
push 0x800
lea edx, [ebp + 0x6400]
push edx
push str.CD_Source_Dir
mov eax, dword [edi]
push eax
mov edx, str.InstallingSetupProgram
call fcn.10044220
add esp, 0x20
test eax, eax
jne 0x10048f31
lea ecx, [ebp + 0x6400]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push 0x800
push ebx
lea edx, [ebp + 0x5200]
push edx
call fcn.100c7d20
push str.CD.ver
lea eax, [ebp + 0x6400]
push eax
push 0x101093f0
lea edx, [ebp + 0x5200]
call fcn.10005c50
add esp, 0x18
lea edx, [ebp + 0x5200]
call fcn.10045370
test al, al
je 0x10048f31
lea ecx, [ebp + 0x5200]
push ecx
push 0x7d0
push str.year
push str.Date
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call esi
mov ebx, eax
mov dword [ebp - 0x5c], ebx
lea edx, [ebp + 0x5200]
push edx
push 1
push str.month
push str.Date
call esi
mov edi, eax
mov dword [ebp - 0x18], edi
lea eax, [ebp + 0x5200]
push eax
push 1
push 0x1011b9cc
push str.Date
call esi
mov dword [ebp - 0x24], eax
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x58], bx
mov word [ebp - 0x56], di
mov word [ebp - 0x52], ax
push 0x100
mov eax, dword [ebp - 0x1c]
add eax, 0xcbf4
push eax
push ecx
lea ecx, [ebp - 0x58]
push ecx
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
je 0x10048f31
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xcbf4
lea ecx, [ebp + 0x5a00]
call fcn.10008bf0
jmp 0x1004951b
push str.INSTALLER_EXE
lea edx, [ebp + 0x7600]
push edx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10048fa6
mov esi, dword [ebp - 0x1c]
add esi, 0xcdf4
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048f70
sub eax, edx
sar eax, 1
jne 0x1004819c
push 0x100
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1004819f
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
jmp 0x1004819c
push str.SRC_DIR
lea eax, [ebp + 0x7600]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10049022
cmp esi, ebx
je 0x10049022
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10048fc7
sub eax, edx
sar eax, 1
je 0x10049022
mov dword [ebp - 0x38], ebx
push 4
push 4
lea ecx, [ebp - 0x38]
push ecx
push str.UpdateSetting
mov edx, dword [edi]
push edx
mov edx, esi
call fcn.10044220
add esp, 0x14
test eax, eax
jne 0x100481b5
cmp dword [ebp - 0x38], ebx
je 0x100481b5
push str.Update_Temp_Dir
push esi
push edi
mov eax, 0x400
lea edx, [ebp + 0x6e00]
call fcn.10008b50
jmp 0x10048113
push 8
push str.DEVICEID
lea edx, [ebp + 0x7600]
push edx
call fcn.100c6ccf
add esp, 0xc
test eax, eax
jne 0x100491d0
push 0x2000
push ebx
lea eax, [ebp]
push eax
call fcn.100c7d20
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 1
push 0x800
lea edx, [ebp + 0x6e00]
push edx
push str.Selected
mov eax, dword [edi]
push eax
mov edx, str.InstallingSetupFoundPrinter
call fcn.10044220
add esp, 0x2c
test eax, eax
jne 0x1004813b
push 0x800
push ebx
lea ecx, [ebp + 0x6400]
push ecx
call fcn.100c7d20
lea edx, [ebp + 0x6e00]
push edx
push str.InstallingSetupFoundPrinter_s
lea edx, [ebp + 0x6400]
call fcn.10005c50
push 1
push 0x2000
lea eax, [ebp]
push eax
push str.DeviceID
mov ecx, dword [edi]
push ecx
lea edx, [ebp + 0x6400]
call fcn.10044220
add esp, 0x28
test eax, eax
jne 0x1004813b
push str.DEVICEID
lea edx, [ebp + 0x7600]
push edx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x100490fe
lea eax, [ebp]
jmp 0x10048121
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], 0x3b
push 0x200
push ebx
lea edx, [ebp + 0x6c00]
push edx
call fcn.100c7d20
push 0xff
lea eax, [ebp + 0x7612]
push eax
push 0x100
lea ecx, [ebp + 0x6c00]
push ecx
call fcn.100c6041
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp]
push ecx
call fcn.100c6afd
add esp, 0x28
mov esi, eax
cmp esi, ebx
je 0x1004813b
lea edx, [eax + 2]
jmp 0x10049160
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10049160
sub eax, edx
sar eax, 1
je 0x1004813b
push 0x3a
push esi
call fcn.100c6d73
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x100491b7
mov word [ebx], 0
lea edx, [ebp + 0x6c00]
push edx
push esi
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x100491b7
lea eax, [ebx + 2]
lea ecx, [ebp + 0x5a00]
call fcn.10008bf0
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x1004951d
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
call fcn.100c6afd
add esp, 0xc
xor ebx, ebx
jmp 0x1004914b
push 0xb
push str.EXTDEVICEID
lea edx, [ebp + 0x7600]
push edx
call fcn.100c6ccf
add esp, 0xc
test eax, eax
jne 0x100481b5
push 0x2000
push ebx
lea eax, [ebp]
push eax
call fcn.100c7d20
push 0x800
push ebx
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 1
push 0x800
lea edx, [ebp + 0x6e00]
push edx
push str.Selected
mov eax, dword [edi]
push eax
mov edx, str.InstallingSetupFoundPrinter
call fcn.10044220
add esp, 0x2c
test eax, eax
jne 0x1004813b
push 0x800
push ebx
lea ecx, [ebp + 0x6400]
push ecx
call fcn.100c7d20
lea edx, [ebp + 0x6e00]
push edx
push str.InstallingSetupFoundPrinter_s
lea edx, [ebp + 0x6400]
call fcn.10005c50
push 1
push 0x2000
lea eax, [ebp]
push eax
push str.ExtDeviceID
mov ecx, dword [edi]
push ecx
lea edx, [ebp + 0x6400]
call fcn.10044220
add esp, 0x28
test eax, eax
jne 0x1004813b
push str.EXTDEVICEID
lea edx, [ebp + 0x7600]
push edx
call fcn.100c629b
add esp, 8
test eax, eax
je 0x100490f6
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], 0x3b
push 0x200
push ebx
lea edx, [ebp + 0x6c00]
push edx
call fcn.100c7d20
push 0xff
lea eax, [ebp + 0x7618]
push eax
push 0x100
lea ecx, [ebp + 0x6c00]
push ecx
call fcn.100c6041
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp]
push ecx
call fcn.100c6afd
add esp, 0x28
mov esi, eax
cmp esi, ebx
je 0x1004813b
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10049302
sub eax, edx
sar eax, 1
je 0x1004813b
push 0x3a
push esi
call fcn.100c6d73
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x10049345
mov word [ebx], 0
lea edx, [ebp + 0x6c00]
push edx
push esi
call fcn.100c629b
add esp, 8
test eax, eax
je 0x1004919f
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
call fcn.100c6afd
add esp, 0xc
xor ebx, ebx
jmp 0x100492f5
push 0x800
push 0
lea ecx, [ebp + 0x6e00]
push ecx
call fcn.100c7d20
push 0x800
push 0
lea edx, [ebp + 0x3800]
push edx
call fcn.100c7d20
push 0x200
push 0
lea eax, [ebp + 0x6200]
push eax
call fcn.100c7d20
push 0x800
push 0
lea ecx, [ebp + 0x6400]
push ecx
call fcn.100c7d20
lea edx, [ebp + 0x7600]
push edx
push str.INSTALL_VARIABLES
push 0x1010aac0
lea edx, [ebp + 0x6400]
call fcn.10005c50
add esp, 0x3c
push 0x400
lea eax, [ebp + 0x3800]
push eax
mov ebx, str.path
lea edx, [ebp + 0x6400]
mov esi, dword [ebp - 0x1c]
add esi, 0x2050
mov ecx, esi
call fcn.100467a0
test eax, eax
jne 0x1004956d
push 0x100
lea ecx, [ebp + 0x6200]
push ecx
mov ebx, str.value
lea edx, [ebp + 0x6400]
mov ecx, esi
call fcn.100467a0
test eax, eax
jne 0x1004956d
push 0x100
lea edx, [ebp + 0x4800]
push edx
mov ebx, str.reg_type
lea edx, [ebp + 0x6400]
mov ecx, esi
call fcn.100467a0
test eax, eax
jne 0x1004945a
push str.REG_DWORD
lea eax, [ebp + 0x4800]
push eax
call fcn.100c629b
add esp, 8
test eax, eax
mov eax, 4
je 0x1004945d
mov eax, dword [ebp - 0x24]
sub eax, 1
je 0x100494ca
sub eax, 3
jne 0x1004956d
push 4
push 4
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp + 0x6200]
push edx
mov eax, dword [edi]
push eax
lea edx, [ebp + 0x3800]
call fcn.10044220
add esp, 0x14
test eax, eax
jne 0x1004956d
cmp byte [ebp - 0x1d], al
je 0x100494b1
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x1011ba9c
lea edx, [ebp + 0x5a00]
call fcn.10005c50
add esp, 8
jmp 0x10049514
mov edx, dword [ebp - 0x2c]
push edx
push 0x1010d810
lea edx, [ebp + 0x5a00]
call fcn.10005c50
add esp, 8
jmp 0x10049514
push 1
push 0x800
lea eax, [ebp + 0x6e00]
push eax
lea ecx, [ebp + 0x6200]
push ecx
mov edx, dword [edi]
push edx
lea edx, [ebp + 0x3800]
call fcn.10044220
add esp, 0x14
test eax, eax
jne 0x1004956d
push 0x3ff
lea eax, [ebp + 0x6e00]
push eax
push 0x400
lea ecx, [ebp + 0x5a00]
push ecx
call fcn.100c6041
add esp, 0x10
mov dword [ebp - 0x14], 0
xor ebx, ebx
push 0x800
push ebx
lea edx, [ebp + 0x6e00]
push edx
call fcn.100c7d20
add esp, 0xc
push ebx
push 0x400
lea eax, [ebp + 0x6e00]
push eax
lea ecx, [ebp + 0x5a00]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10047910
mov eax, 0x1000
lea edx, [eax - 1]
push edx
lea ecx, [ebp + 0x6e00]
push ecx
push eax
mov edx, dword [ebp - 0x34]
push edx
call fcn.100c6041
add esp, 0x10
jmp 0x100495a0
lea eax, [ebp + 0x7600]
push eax
push str.Convert__s_fail__
mov ecx, 0x10152dd8
call fcn.1003f430
push 0x10108140
push 0x1000
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.100c6466
add esp, 0x14
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7800]
xor ecx, ebp
call fcn.100c59be
add ebp, 0x7804
mov esp, ebp
pop ebp
ret 8
mov eax, 6
jmp 0x100495aa
mov eax, 0x57
jmp 0x100495aa