Function at 0x4593c0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x6020]
mov eax, 0x6020
call fcn.004ab4d0
push 0xffffffffffffffff
push 0x4cf0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp + 0x601c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edx
mov edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x6028]
mov dword [ebp - 0x34], eax
mov esi, dword [ebp + 0x602c]
mov ebx, 3
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], eax
cmp edi, eax
je 0x45a6b6
mov eax, edi
lea ecx, [eax + 2]
mov dword [ebp - 0x20], ecx
jmp 0x459440
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459440
sub eax, dword [ebp - 0x20]
sar eax, 1
je 0x45a6b6
cmp dword [ebp - 0x34], 0
je 0x45a6b6
lea eax, [edx + 0x3cb8]
mov dword [ebp - 0x20], eax
cmp dword [eax], 0
je 0x45a69d
lea eax, [edx + 0xc24]
mov dword [ebp - 0x28], eax
call fcn.0044c890
test al, al
je 0x45a69d
push 0x200
push 0
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004ab450
push 2
push 0x4f0cf0
push edi
call fcn.004a98ea
add esp, 0x18
push 0xff
test eax, eax
jne 0x4594ca
mov byte [ebp - 0x1c], 1
add edi, 4
push edi
push 0x100
lea eax, [ebp + 0x5e1c]
push eax
jmp 0x4594db
mov byte [ebp - 0x1c], 0
push edi
push 0x100
lea ecx, [ebp + 0x5e1c]
push ecx
call fcn.004a9be0
add esp, 0x10
push 0x800
push 0
lea edx, [ebp + 0x4a1c]
push edx
call fcn.004ab450
push 0x800
push 0
lea eax, [ebp + 0x541c]
push eax
call fcn.004ab450
add esp, 0x18
push 0
push 0x400
mov ecx, dword [ebp - 0x1c]
push ecx
sub esp, 0x1c
mov dword [ebp - 0x14], esp
lea edx, [ebp + 0x5e1c]
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x24]
add edi, 0x44c4
mov byte [ebp - 4], 0
lea edx, [ebp + 0x4a1c]
mov ecx, edi
call fcn.00447ad0
test al, al
jne 0x4595ef
push 6
push str.PARAM.
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004a98ea
add esp, 0xc
test eax, eax
jne 0x459647
push 0x200
push eax
lea eax, [ebp + 0x5c1c]
push eax
call fcn.004ab450
push 0xff
lea ecx, [ebp + 0x5e28]
push ecx
push 0x100
lea edx, [ebp + 0x5c1c]
push edx
call fcn.004a9be0
add esp, 0x1c
push 2
push 0x400
lea esi, [ebp + 0x4a1c]
mov eax, dword [ebp - 0x1c]
push eax
sub esp, 0x1c
mov dword [ebp - 0x14], esp
lea edx, [ebp + 0x5c1c]
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
mov edx, esi
mov ecx, edi
call fcn.00447ad0
test al, al
jne 0x4595ef
push 0x800
push 0
lea ecx, [ebp + 0x4a1c]
push ecx
call fcn.004ab450
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x18], ebx
push 0x800
push 0
lea edx, [ebp + 0x541c]
push edx
call fcn.004ab450
add esp, 0xc
push 0
push 0x400
mov eax, dword [ebp - 0x24]
push eax
lea edi, [ebp + 0x541c]
lea edx, [ebp + 0x4a1c]
call fcn.00458ee0
mov ecx, edi
push ecx
mov eax, 0x1000
push eax
mov edx, dword [ebp - 0x34]
push edx
call fcn.004a9ecb
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
jmp 0x45a6e6
push 7
push str.OPTION.
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004a98ea
add esp, 0xc
test eax, eax
jne 0x4596c0
push 0x200
push eax
lea eax, [ebp + 0x5c1c]
push eax
call fcn.004ab450
push 0xff
lea ecx, [ebp + 0x5e2a]
push ecx
push 0x100
lea edx, [ebp + 0x5c1c]
push edx
call fcn.004a9be0
add esp, 0x1c
push 1
push 0x400
lea esi, [ebp + 0x4a1c]
mov eax, dword [ebp - 0x1c]
push eax
sub esp, 0x1c
mov dword [ebp - 0x14], esp
lea edx, [ebp + 0x5c1c]
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 3
jmp 0x4595c8
push 0x4dd670
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x459726
lea eax, [ebp]
push eax
call fcn.0045b260
mov byte [ebp - 4], 4
cmp dword [ebp + 0x14], 0
je 0x459711
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x4596f7
lea eax, [ebp + 4]
push 0x3ff
push eax
push 0x400
lea ecx, [ebp + 0x4a1c]
push ecx
call fcn.004a9be0
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], bl
lea esi, [ebp]
call fcn.00411bb0
jmp 0x4595f4
push str.PORT
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x45988f
lea eax, [ebp]
push eax
call fcn.00448c70
mov byte [ebp - 4], 5
cmp dword [ebp + 0x14], 0
je 0x459780
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x459761
lea eax, [ebp + 4]
push 0x3ff
push eax
push 0x400
lea ecx, [ebp + 0x4a1c]
push ecx
call fcn.004a9be0
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411bb0
test ebx, ebx
je 0x4595f4
push 0x200
push 0
lea ecx, [ebp + 0x521c]
push ecx
call fcn.004ab450
push 0x200
push 0
lea edx, [ebp + 0x5c1c]
push edx
call fcn.004ab450
push 0xff
lea eax, [ebp + 0x5e1c]
push eax
push 0x100
lea ecx, [ebp + 0x521c]
push ecx
call fcn.004a9be0
push 0x2e
lea edx, [ebp + 0x521c]
push edx
call fcn.004aaa86
add esp, 0x30
mov esi, eax
test esi, esi
je 0x45a471
push 0xff
lea eax, [esi + 2]
push eax
push 0x100
lea ecx, [ebp + 0x5c1c]
push ecx
call fcn.004a9be0
mov word [esi], 0
push 0x800
push 0
lea edx, [ebp + 0x421c]
push edx
call fcn.004ab450
lea eax, [ebp + 0x521c]
push eax
push str.Components
push str.SEInst_Installing
push 0x4e961c
lea edx, [ebp + 0x421c]
call fcn.00411a00
add esp, 0x2c
lea ecx, [ebp + 0x5c1c]
push ecx
lea edx, [ebp + 0x421c]
push edx
mov edi, dword [ebp - 0x20]
push edi
mov eax, 0x400
lea edx, [ebp + 0x541c]
call fcn.00441090
test eax, eax
jne 0x45a474
lea eax, [ebp + 0x541c]
push eax
push 0x400
lea ecx, [ebp + 0x4a1c]
push ecx
call fcn.004a9ecb
jmp 0x4595ec
push str.COMP_INF
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x4599ab
test esi, esi
je 0x4599ab
mov eax, esi
lea edx, [eax + 2]
jmp 0x4598c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4598c0
sub eax, edx
sar eax, 1
je 0x4599ab
push 0x800
push 0
lea eax, [ebp + 0x3a1c]
push eax
call fcn.004ab450
push 0x800
push 0
lea ecx, [ebp + 0x541c]
push ecx
call fcn.004ab450
add esp, 0x18
mov edx, esi
lea eax, [ebp]
call fcn.00411be0
mov byte [ebp - 4], 6
lea edx, [ebp]
push edx
mov ecx, 0x527b20
call fcn.0040abb0
add eax, 0xb618
push 0x3ff
push eax
push 0x400
lea eax, [ebp + 0x541c]
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411bb0
lea eax, [ebp + 0x541c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459950
sub eax, edx
sar eax, 1
je 0x459794
push 0
push 0x400
mov ecx, dword [ebp - 0x24]
push ecx
lea edi, [ebp + 0x3a1c]
lea edx, [ebp + 0x541c]
call fcn.00458ee0
mov edx, edi
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov eax, edi
push 0x3ff
push eax
push 0x400
lea ecx, [ebp + 0x4a1c]
push ecx
call fcn.004a9be0
add esp, 0x10
jmp 0x4595ef
push str.COMP_DIR
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x459a70
test esi, esi
je 0x459a70
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4599d4
sub eax, edx
sar eax, 1
je 0x459a70
push 0x800
push 0
lea eax, [ebp + 0x541c]
push eax
call fcn.004ab450
add esp, 0xc
mov edx, esi
lea eax, [ebp]
call fcn.00411be0
mov byte [ebp - 4], 7
lea ecx, [ebp]
push ecx
mov ecx, 0x527b20
call fcn.0040abb0
add eax, 0x404
push 0x3ff
push eax
push 0x400
lea edx, [ebp + 0x541c]
push edx
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411bb0
lea eax, [ebp + 0x541c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459a50
sub eax, edx
sar eax, 1
je 0x459794
lea eax, [ebp + 0x541c]
jmp 0x45998c
push str.SRC_COMP_INF
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x459b82
test esi, esi
je 0x459b82
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459aa0
sub eax, edx
sar eax, 1
je 0x459b82
push 0x800
push 0
lea eax, [ebp + 0x3a1c]
push eax
call fcn.004ab450
push 0x800
push 0
lea ecx, [ebp + 0x541c]
push ecx
call fcn.004ab450
add esp, 0x18
mov edx, esi
lea eax, [ebp]
call fcn.00411be0
mov byte [ebp - 4], 8
lea edx, [ebp]
push edx
mov ecx, 0x527b20
call fcn.0040abb0
add eax, 0xb618
push 0x3ff
push eax
push 0x400
lea eax, [ebp + 0x541c]
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411bb0
lea eax, [ebp + 0x541c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459b30
sub eax, edx
sar eax, 1
je 0x459794
push 0
push 0x400
mov ecx, dword [ebp - 0x24]
push ecx
lea edi, [ebp + 0x3a1c]
lea edx, [ebp + 0x541c]
call fcn.00458ee0
push 0x3ff
mov edx, edi
push edx
push 0x400
lea eax, [ebp + 0x4a1c]
push eax
call fcn.004a9be0
add esp, 0x10
jmp 0x4595ef
push str.DEST_COMP_INF
lea ecx, [ebp + 0x5e1c]
push ecx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x459d7e
test esi, esi
je 0x459d7e
mov eax, esi
lea edx, [eax + 2]
jmp 0x459bb0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459bb0
sub eax, edx
sar eax, 1
je 0x459d7e
push 0x800
push 0
lea edx, [ebp + 0x3a1c]
push edx
call fcn.004ab450
push 0x800
push 0
lea eax, [ebp + 0x1c]
push eax
call fcn.004ab450
push 0x800
push 0
lea ecx, [ebp + 0x81c]
push ecx
call fcn.004ab450
push 0x800
push 0
lea edx, [ebp + 0x541c]
push edx
call fcn.004ab450
add esp, 0x30
mov edx, esi
lea eax, [ebp]
call fcn.00411be0
mov byte [ebp - 4], 9
lea eax, [ebp]
push eax
mov ecx, 0x527b20
call fcn.0040abb0
add eax, 0xb618
push 0x3ff
push eax
push 0x400
lea ecx, [ebp + 0x541c]
push ecx
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411bb0
lea eax, [ebp + 0x541c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459c61
sub eax, edx
sar eax, 1
je 0x459794
push 0
push 0x400
mov esi, dword [ebp - 0x24]
push esi
lea edi, [ebp + 0x3a1c]
lea edx, [ebp + 0x541c]
call fcn.00458ee0
sub esp, 0x1c
mov dword [ebp - 0x14], esp
mov edx, str.SRC_DIR
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 0xa
lea eax, [esi + 0x44c4]
push eax
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411c20
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x18], 8
jb 0x459cca
mov eax, dword [eax + 4]
jmp 0x459ccd
add eax, 4
push 0x3ff
push eax
push 0x400
lea edx, [ebp + 0x81c]
push edx
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411bb0
push 0
push 0x400
lea esi, [ebp + 0x1c]
push 0
sub esp, 0x1c
mov dword [ebp - 0x14], esp
mov edx, str.DEST_INST_DIR
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0
mov edx, esi
mov ecx, dword [ebp - 0x24]
add ecx, 0x44c4
call fcn.00447ad0
mov eax, esi
push eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
call esi
lea ecx, [ebp + 0x81c]
push ecx
call esi
push 0x3ff
lea edx, [ebp + 0x3a1c]
push edx
push 0x400
lea eax, [ebp + 0x4a1c]
push eax
call fcn.004a9be0
push 0x400
lea ecx, [ebp + 0x1c]
push ecx
lea edx, [ebp + 0x81c]
push edx
lea eax, [ebp + 0x4a1c]
push eax
call fcn.004422a0
add esp, 0x20
jmp 0x4595ef
push str.DISPLAY_NAME
lea ecx, [ebp + 0x5e1c]
push ecx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x459e5c
test esi, esi
je 0x459e5c
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459da7
sub eax, edx
sar eax, 1
je 0x459e5c
push 0x800
push 0
lea edx, [ebp + 0x541c]
push edx
call fcn.004ab450
add esp, 0xc
mov edx, esi
lea eax, [ebp]
call fcn.00411be0
mov byte [ebp - 4], 0xd
lea eax, [ebp]
push eax
mov ecx, 0x527b20
call fcn.0040abb0
add eax, 0x1604
push 0x3ff
push eax
push 0x400
lea ecx, [ebp + 0x541c]
push ecx
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411bb0
lea eax, [ebp + 0x541c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459e22
sub eax, edx
sar eax, 1
je 0x459794
push 0x3ff
lea edx, [ebp + 0x541c]
push edx
push 0x400
lea eax, [ebp + 0x4a1c]
push eax
call fcn.004a9be0
add esp, 0x10
jmp 0x4595ef
push str.DRIVER_NAME
lea ecx, [ebp + 0x5e1c]
push ecx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x459f10
test esi, esi
je 0x459f10
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459e85
sub eax, edx
sar eax, 1
je 0x459f10
push 0x800
push 0
lea edx, [ebp + 0x541c]
push edx
call fcn.004ab450
add esp, 0xc
mov edx, esi
lea eax, [ebp]
call fcn.00411be0
mov byte [ebp - 4], 0xe
lea eax, [ebp]
push eax
mov ecx, 0x527b20
call fcn.0040abb0
add eax, 0xb418
push 0x3ff
push eax
push 0x400
lea ecx, [ebp + 0x541c]
push ecx
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411bb0
lea eax, [ebp + 0x541c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459f00
jmp 0x459e2d
push str.PRINTER_NAME
lea ecx, [ebp + 0x5e1c]
push ecx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x45a012
test esi, esi
je 0x45a012
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459f40
sub eax, edx
sar eax, 1
je 0x45a012
push 0x800
push 0
lea edx, [ebp + 0x541c]
push edx
call fcn.004ab450
add esp, 0xc
mov edx, esi
lea eax, [ebp]
call fcn.00411be0
mov bl, 0xf
mov byte [ebp - 4], bl
lea eax, [ebp]
push eax
mov ecx, 0x527b20
call fcn.0040abb0
lea edx, [ebp - 0x54]
mov ecx, eax
call fcn.004103a0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], 8
jb 0x459fa1
mov eax, dword [eax + 4]
jmp 0x459fa4
add eax, 4
push 0x3ff
push eax
push 0x400
lea ecx, [ebp + 0x541c]
push ecx
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], bl
lea esi, [ebp - 0x54]
call fcn.00411bb0
mov byte [ebp - 4], 0
lea esi, [ebp]
call fcn.00411bb0
lea eax, [ebp + 0x541c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459fe0
sub eax, edx
sar eax, 1
je 0x459794
lea edx, [ebp + 0x541c]
push edx
push 0x400
lea eax, [ebp + 0x4a1c]
push eax
call fcn.004a9ecb
jmp 0x4595ec
push str.VERSION
lea ecx, [ebp + 0x5e1c]
push ecx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x45a105
push 0x800
push eax
lea edx, [ebp + 0x321c]
push edx
call fcn.004ab450
sub esp, 0x10
mov dword [ebp - 0x14], esp
mov edx, 0x4e4b44
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x24]
add eax, 0x44c4
push eax
mov byte [ebp - 4], 0
lea esi, [ebp - 0x54]
call fcn.00411c20
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 8
jb 0x45a07a
mov eax, dword [eax + 4]
jmp 0x45a07d
add eax, 4
push 0x3ff
push eax
push 0x400
lea eax, [ebp + 0x321c]
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [ebp - 0x54]
call fcn.00411bb0
lea ecx, [ebp + 0x321c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push str.Autorun.inf
push 0x400
lea edx, [ebp + 0x321c]
push edx
call fcn.004aa6ad
add esp, 0xc
lea eax, [ebp + 0x321c]
push eax
push 0x400
lea ecx, [ebp + 0x541c]
push ecx
push 0x4dd578
push str.VERSION
push str.INFOMATION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x459ff5
mov dword [ebp - 0x18], 0xd
jmp 0x459794
push str.INSTALLER_EXE
lea ecx, [ebp + 0x5e1c]
push ecx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x45a162
push 0x400
lea edx, [ebp + 0x541c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x459794
lea eax, [ebp + 0x541c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea ecx, [ebp + 0x541c]
push ecx
push 0x400
lea edx, [ebp + 0x4a1c]
push edx
call fcn.004a9ecb
jmp 0x4595ec
push 8
push str.DEVICEID
lea eax, [ebp + 0x5e1c]
push eax
call fcn.004a98ea
add esp, 0xc
test eax, eax
jne 0x45a2e0
push 0x2000
push eax
lea ecx, [ebp + 0x101c]
push ecx
call fcn.004ab450
add esp, 0xc
mov ecx, 0x52c268
call fcn.0040e870
add eax, 0x406
push 0xfff
push eax
push 0x1000
lea edx, [ebp + 0x101c]
push edx
call fcn.004a9be0
add esp, 0x10
lea eax, [ebp + 0x101c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a1c7
sub eax, edx
sar eax, 1
je 0x4595d9
push str.DEVICEID
lea eax, [ebp + 0x5e1c]
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x45a211
lea ecx, [ebp + 0x101c]
push ecx
push 0x400
lea edx, [ebp + 0x4a1c]
push edx
call fcn.004a9ecb
jmp 0x4595ec
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0x3b
push 0x200
push 0
lea eax, [ebp + 0x521c]
push eax
call fcn.004ab450
push 0xff
lea ecx, [ebp + 0x5e2e]
push ecx
push 0x100
lea edx, [ebp + 0x521c]
push edx
call fcn.004a9be0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp + 0x101c]
push edx
call fcn.004a9696
add esp, 0x28
mov esi, eax
test esi, esi
je 0x4595ef
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a273
sub eax, edx
sar eax, 1
je 0x4595ef
push 0x3a
push esi
call fcn.004aaa86
add esp, 8
mov edi, eax
test edi, edi
je 0x45a2cc
mov word [edi], 0
lea eax, [ebp + 0x521c]
push eax
push esi
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x45a2cc
add edi, 2
push edi
push 0x400
lea ecx, [ebp + 0x4a1c]
push ecx
call fcn.004a9ecb
jmp 0x4595ec
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0
call fcn.004a9696
add esp, 0xc
jmp 0x45a266
push 0xb
push str.EXTDEVICEID
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004a98ea
add esp, 0xc
test eax, eax
jne 0x459794
push 0x2000
push eax
lea eax, [ebp + 0x101c]
push eax
call fcn.004ab450
add esp, 0xc
mov ecx, 0x52c268
call fcn.0040e870
add eax, 0x1406
push 0xfff
push eax
push 0x1000
lea ecx, [ebp + 0x101c]
push ecx
call fcn.004a9be0
add esp, 0x10
lea eax, [ebp + 0x101c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a345
sub eax, edx
sar eax, 1
je 0x45a45e
push str.EXTDEVICEID
lea edx, [ebp + 0x5e1c]
push edx
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x45a38f
lea eax, [ebp + 0x101c]
push eax
push 0x400
lea ecx, [ebp + 0x4a1c]
push ecx
call fcn.004a9ecb
jmp 0x4595ec
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x3b
push 0x200
push 0
lea edx, [ebp + 0x521c]
push edx
call fcn.004ab450
push 0xff
lea eax, [ebp + 0x5e34]
push eax
push 0x100
lea ecx, [ebp + 0x521c]
push ecx
call fcn.004a9be0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x101c]
push ecx
call fcn.004a9696
add esp, 0x28
mov esi, eax
test esi, esi
je 0x4595ef
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a3f1
sub eax, edx
sar eax, 1
je 0x4595ef
push 0x3a
push esi
call fcn.004aaa86
add esp, 8
mov edi, eax
test edi, edi
je 0x45a44a
mov word [edi], 0
lea edx, [ebp + 0x521c]
push edx
push esi
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x45a44a
add edi, 2
push edi
push 0x400
lea eax, [ebp + 0x4a1c]
push eax
call fcn.004a9ecb
jmp 0x4595ec
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
call fcn.004a9696
add esp, 0xc
jmp 0x45a3e4
push 0x800
push 0
lea eax, [ebp + 0x4a1c]
push eax
jmp 0x4595e7
mov edi, dword [ebp - 0x20]
push 0x800
push 0
lea edx, [ebp + 0x541c]
push edx
call fcn.004ab450
push 0x800
push 0
lea eax, [ebp + 0x421c]
push eax
call fcn.004ab450
push 0x200
push 0
lea ecx, [ebp + 0x5c1c]
push ecx
call fcn.004ab450
push 0x800
push 0
lea edx, [ebp + 0x321c]
push edx
call fcn.004ab450
lea eax, [ebp + 0x5e1c]
push eax
push str.INSTALL_VARIABLES
push 0x4db7ec
lea edx, [ebp + 0x321c]
call fcn.00411a00
add esp, 0x3c
push 0x400
lea ecx, [ebp + 0x421c]
push ecx
push str.path
lea edx, [ebp + 0x321c]
push edx
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.00443c90
test eax, eax
jne 0x45a685
push 0x100
lea eax, [ebp + 0x5c1c]
push eax
push str.value
lea ecx, [ebp + 0x321c]
push ecx
mov ecx, esi
call fcn.00443c90
test eax, eax
jne 0x45a685
push 0x100
lea edx, [ebp + 0x301c]
push edx
push str.reg_type
lea eax, [ebp + 0x321c]
push eax
mov ecx, esi
call fcn.00443c90
test eax, eax
jne 0x45a570
push str.REG_DWORD
lea ecx, [ebp + 0x301c]
push ecx
call fcn.004a9af1
add esp, 8
test eax, eax
mov eax, 4
je 0x45a573
mov eax, dword [ebp - 0x2c]
sub eax, 1
je 0x45a5fd
sub eax, 3
jne 0x45a64b
push eax
push 4
push 4
lea edx, [ebp - 0x30]
push edx
mov eax, dword [edi]
push eax
lea ecx, [ebp + 0x5c1c]
lea edx, [ebp + 0x421c]
call fcn.00456030
add esp, 0x14
test eax, eax
jne 0x45a5e6
cmp byte [ebp - 0x1c], al
je 0x45a5ca
mov ecx, dword [ebp - 0x30]
push ecx
push 0x4ed45c
lea edx, [ebp + 0x4a1c]
call fcn.00411a00
add esp, 8
jmp 0x4595ef
mov edx, dword [ebp - 0x30]
push edx
push 0x4dd570
lea edx, [ebp + 0x4a1c]
call fcn.00411a00
add esp, 8
jmp 0x4595ef
lea eax, [ebp + 0x5c1c]
push eax
lea ecx, [ebp + 0x421c]
push ecx
lea edx, [ebp + 0x5e1c]
push edx
jmp 0x45a639
lea eax, [ebp + 0x5c1c]
push eax
lea ecx, [ebp + 0x421c]
push ecx
push edi
mov eax, 0x400
lea edx, [ebp + 0x541c]
call fcn.00441090
test eax, eax
je 0x459ff5
lea ecx, [ebp + 0x5c1c]
push ecx
lea edx, [ebp + 0x421c]
push edx
lea eax, [ebp + 0x5e1c]
push eax
push str.__s__string_was_not_found_in_Registry__s__s____
mov ecx, 0x527b30
call fcn.00449000
add esp, 0x10
lea eax, [ebp + 0x5e1c]
push eax
push str.Convert__s_fail__
mov ecx, 0x527b30
call fcn.00449000
push 0x4dd578
push 0x1000
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004a9ecb
add esp, 0x14
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x45a6e6
mov ecx, dword [ebp - 0x38]
push ecx
push str.__s__string_was_not_found_in__INSTALL_VARIABLES__element___
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
jmp 0x45a64b
push str.Registry_or_Data_XML_was_invaid___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov eax, 6
jmp 0x45a6e8
mov eax, 0x57
jmp 0x45a6e8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x601c]
xor ecx, ebp
call fcn.004a998e
add ebp, 0x6020
mov esp, ebp
pop ebp
ret 8