Function at 0x4034ae
Capabilities:
Get common file path
Get disk information
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c4c
call fcn.00409fd0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
mov edi, 0x410508
lea eax, [ebp - 0xd38]
push edi
push eax
call esi
lea eax, [ebp - 0x123c]
push edi
push eax
call esi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push edi
call esi
push edi
call fcn.00409415
cmp eax, edi
pop ecx
jbe 0x4034f5
and byte [eax - 1], 0
xor ebx, ebx
push ebx
push edi
call fcn.0040859a
pop ecx
pop ecx
push 0x4100cc
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0x410504
mov dword [ebp - 0x24], ebx
call edi
push 0x410500
mov dword [ebp - 0x18], eax
call edi
push 0x10c
mov dword [ebp - 0x1c], eax
call fcn.00409547
mov edx, dword [0x413c84]
pop ecx
mov ecx, dword [0x413828]
push dword [ebp + 8]
mov dword [ecx + edx*4], eax
mov eax, dword [0x413828]
mov ecx, dword [0x413c84]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x104], ebx
mov eax, dword [0x413828]
mov ecx, dword [0x413c84]
mov eax, dword [eax + ecx*4]
mov word [eax + 0x108], bx
mov eax, dword [0x413828]
mov ecx, dword [0x413c84]
mov eax, dword [eax + ecx*4]
mov word [eax + 0x10a], 0x7fff
mov eax, dword [0x413828]
mov ecx, dword [0x413c84]
mov edi, dword [eax + ecx*4]
push edi
call esi
push 1
push edi
call fcn.0040859a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
pop ecx
pop ecx
push edi
call ebx
lea eax, [eax + edi - 1]
cmp eax, edi
jbe 0x4035bd
cmp byte [eax], 0x5c
je 0x4035c2
and byte [eax], 0
dec eax
jmp 0x4035ae
cmp byte [eax], 0x5c
jne 0x4035c6
and byte [eax + 1], 0
push edi
call ebx
cmp eax, 3
jg 0x4035d1
and byte [edi], 0
and dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
lea eax, [ebp - 0x834]
push 0x100
push eax
je 0x4035fc
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x4035fe
call ebx
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x835], 0x5c
je 0x403627
lea eax, [ebp - 0x834]
push 0x4100cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x834]
push eax
push edi
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x403646
and dword [ebp - 8], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x4035e2
lea eax, [ebp - 0x184c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x1540]
push 0x104
push eax
call ebx
lea eax, [ebp - 0x1540]
push eax
lea eax, [ebp - 0x1748]
push eax
call esi
lea eax, [ebp - 0x1748]
push str.WIN32S
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [0x4137f0], 1
jne 0x4036e9
push 0x104
push dword [0x413854]
call ebx
push dword [0x413854]
lea eax, [ebp - 0x1644]
push eax
call esi
lea eax, [ebp - 0x1644]
push 0x4100cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x1644]
push eax
push edi
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x4036f8
and dword [ebp - 8], eax
jmp 0x4036f8
lea eax, [ebp - 0x1540]
push eax
push dword [0x413854]
call esi
xor ebx, ebx
cmp dword [ebp - 8], ebx
je 0x403709
cmp byte [edi], bl
je 0x403709
inc dword [0x413c84]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x403770
mov esi, 0x100
lea eax, [ebp - 0x834]
push esi
push eax
push 3
push dword [0x413b90]
call fcn.00408994
add esp, 0x10
lea eax, [ebp - 0xb34]
push esi
push eax
push 2
push dword [0x413b90]
call fcn.00408994
add esp, 0x10
lea eax, [ebp - 0xb34]
push ebx
push eax
lea eax, [ebp - 0x834]
push eax
push dword [0x4137dc]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403946
push 1
mov ebx, 0x800
pop edi
lea eax, [ebp - 0x834]
push 0
mov dword [ebp - 8], edi
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
cmp byte [ebp - 0x830], 0x20
jne 0x40379f
mov dword [0x413838], edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
inc word [0x413c90]
and byte [ebp - 0x830], 0
lea eax, [ebp - 0x834]
push str.
push eax
call edi
test eax, eax
jne 0x4038e6
push 0
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
and byte [ebp - 0x82e], 0
add esp, 0x10
lea eax, [ebp - 0x834]
push str.Title:
push eax
call edi
test eax, eax
je 0x403800
cmp byte [ebp - 0x834], 0
jne 0x4037c9
cmp byte [ebp - 0x834], 0
je 0x4038e6
and dword [ebp - 8], 0
lea eax, [ebp - 0x82d]
push eax
push dword [0x413ba0]
call esi
push dword [0x413ba0]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 0xd
jle 0x403856
mov eax, dword [0x413ba0]
push str._INSTALLATION
lea eax, [edi + eax - 0xd]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x403856
mov eax, dword [0x413ba0]
and byte [edi + eax - 0xd], 0
push dword [0x413ba0]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 8
jle 0x40388c
mov eax, dword [0x413ba0]
push str._INSTALL
lea eax, [edi + eax - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40388c
mov eax, dword [0x413ba0]
and byte [edi + eax - 8], 0
cmp dword [0x413bbc], 0
jne 0x4038e6
lea eax, [ebp - 0x1138]
push 0x100
push eax
push 0x19
push dword [0x413b90]
call fcn.00408994
add esp, 0x10
lea eax, [ebp - 0x1138]
push dword [0x413ba0]
push eax
lea eax, [ebp - 0xe38]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0xe38]
push eax
push dword [0x4137dc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp - 8], 0
je 0x40394e
mov esi, 0x100
lea eax, [ebp - 0x834]
push esi
push eax
push 4
push dword [0x413b90]
call fcn.00408994
add esp, 0x10
lea eax, [ebp - 0xb34]
push esi
push eax
push 2
push dword [0x413b90]
call fcn.00408994
add esp, 0x10
lea eax, [ebp - 0xb34]
push 0
push eax
lea eax, [ebp - 0x834]
push eax
push dword [0x4137dc]
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll__lclose]
push 1
pop eax
jmp 0x405b4a
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x834]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
cmp byte [ebp - 0x834], 0
je 0x405b3f
lea eax, [ebp - 0x834]
push str.Non_System_File:
push eax
mov dword [ebp - 0xc], 1
call fcn.0040d7e0
pop ecx
test eax, eax
pop ecx
jne 0x4039ad
xor edi, edi
lea eax, [ebp - 0x834]
push edi
mov dword [ebp - 0x10], 1
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
jmp 0x4039b2
xor edi, edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x834]
push str.Shared_DLL_counter_ignored:
push eax
call fcn.0040d7e0
pop ecx
test eax, eax
pop ecx
jne 0x4039e6
push edi
lea eax, [ebp - 0x834]
push dword [ebp + 8]
mov dword [ebp - 8], 1
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
jmp 0x4039e9
mov dword [ebp - 8], edi
push 0xb
lea eax, [ebp - 0x834]
push str.File_Copy:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
je 0x40538a
push 0xc
lea eax, [ebp - 0x834]
push str.Shell_Link:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
je 0x40538a
push 0x10
lea eax, [ebp - 0x834]
push str.File_Overwrite:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
je 0x40538a
push 0xb
lea eax, [ebp - 0x834]
push str.RegDB_Key:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x403e39
lea eax, [ebp - 0x829]
push eax
lea eax, [ebp - 0x1038]
push eax
call esi
push edi
lea eax, [ebp - 0x834]
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xb
push str.RegDB_Val:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405ac3
xor edi, edi
lea eax, [ebp - 0x834]
push edi
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
and byte [ebp - 0x143c], 0
and dword [ebp - 4], edi
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xc
push str.RegDB_Name:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x403b04
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x143c]
push eax
call esi
push edi
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
push 0xc
lea eax, [ebp - 0x834]
push str.RegDB_Type:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x403b43
lea eax, [ebp - 0x828]
push eax
call fcn.00409fc0
pop ecx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
push 0xc
lea eax, [ebp - 0x834]
push str.RegDB_Root:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x403b81
lea eax, [ebp - 0x828]
push eax
call fcn.00409fc0
pop ecx
mov edi, eax
push 0
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
cmp edi, 1
jne 0x403b93
cmp dword [0x41388c], 0
jne 0x405ac3
push 0xb
lea eax, [ebp - 0x834]
push str.RegDB_Old:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x143c]
push 0
push eax
lea eax, [ebp - 0x1038]
push eax
jne 0x403d77
mov ecx, dword [0x413bfc]
mov eax, dword [0x413b84]
push ecx
push 0x1218
push dword [eax]
lea eax, [eax + ecx*4]
push eax
call fcn.0040965e
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x403d04
mov eax, dword [0x413b84]
mov ecx, dword [0x413bfc]
mov eax, dword [eax + ecx*4]
and dword [eax + 0x1210], ebx
mov eax, dword [0x413b84]
mov ecx, dword [0x413bfc]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x120c], ecx
mov eax, dword [0x413b84]
mov ecx, dword [0x413bfc]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x1208], edi
mov eax, dword [0x413b84]
mov ecx, dword [0x413bfc]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x1214], cx
mov ecx, dword [0x413bfc]
lea eax, [ebp - 0x1038]
push eax
mov eax, dword [0x413b84]
mov eax, dword [eax + ecx*4]
add eax, 8
push eax
call esi
mov ecx, dword [0x413bfc]
lea eax, [ebp - 0x143c]
push eax
mov eax, dword [0x413b84]
mov eax, dword [eax + ecx*4]
add eax, 0x108
push eax
call esi
mov eax, dword [0x413bfc]
mov ecx, dword [0x413b84]
mov edi, dword [ecx + eax*4]
add edi, 0x208
lea eax, [ebp - 0x829]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea edi, [edi + eax + 1]
push dword [ebp + 8]
lea eax, [ebp - 0x834]
push 0x800
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xb
push str.RegDB_Old:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
je 0x403c91
and byte [edi], 0
mov eax, dword [0x413bfc]
mov ecx, dword [0x413b84]
mov eax, dword [ecx + eax*4]
lea ecx, [eax + 0x208]
add eax, 0xa08
push ecx
push eax
call esi
inc dword [0x413bfc]
jmp 0x405ac3
lea edi, [ebp - 0x1c4c]
lea eax, [ebp - 0x829]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea edi, [edi + eax + 1]
push dword [ebp + 8]
lea eax, [ebp - 0x834]
push 0x800
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xb
push str.RegDB_Old:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
je 0x403d0a
and byte [edi], 0
lea eax, [ebp - 0x1c4c]
push eax
lea eax, [ebx + 0xa08]
push eax
call esi
mov ax, word [0x413c90]
mov word [ebx + 0x1214], ax
jmp 0x405ac3
mov ecx, dword [0x413c98]
mov eax, dword [0x413804]
push ecx
push 0x218
push dword [eax]
lea eax, [eax + ecx*4]
push eax
call fcn.0040965e
add esp, 0x1c
test eax, eax
jne 0x403e26
mov eax, dword [0x413804]
mov ecx, dword [0x413c98]
mov eax, dword [eax + ecx*4]
and dword [eax + 0x210], 0
mov eax, dword [0x413804]
mov ecx, dword [0x413c98]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x20c], edi
mov eax, dword [0x413804]
mov ecx, dword [0x413c98]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x214], cx
mov ecx, dword [0x413c98]
lea eax, [ebp - 0x1038]
push eax
mov eax, dword [0x413804]
mov eax, dword [eax + ecx*4]
add eax, 8
push eax
call esi
mov ecx, dword [0x413804]
lea eax, [ebp - 0x143c]
push eax
mov eax, dword [0x413c98]
mov eax, dword [ecx + eax*4]
add eax, 0x10c
push eax
call esi
inc dword [0x413c98]
jmp 0x405ac3
mov cx, word [0x413c90]
mov word [eax + 0x214], cx
jmp 0x405ac3
push 0xb
lea eax, [ebp - 0x834]
push str.File_Edit:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404062
lea eax, [ebp - 0x829]
push eax
lea eax, [ebp - 0xe38]
push eax
call esi
push edi
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
and byte [ebp - 0x1138], 0
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xd
push str.Backup_Copy:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x403eae
lea eax, [ebp - 0x827]
push eax
lea eax, [ebp - 0x1138]
push eax
call esi
jmp 0x403eb1
mov dword [ebp - 0xc], edi
push 2
lea eax, [ebp - 0xe38]
pop edi
push edi
push 0x4103f0
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x403ed6
cmp dword [ebp - 0x18], edi
je 0x405ac3
push edi
lea eax, [ebp - 0xe38]
push 0x4103ec
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x403ef8
cmp dword [ebp - 0x1c], edi
je 0x405ac3
cmp byte [ebp - 0x1138], 0
je 0x405ac3
lea eax, [ebp - 0xe38]
push 0
push eax
call fcn.0040872e
pop ecx
test eax, eax
pop ecx
jne 0x405ac3
lea eax, [ebp - 0xe38]
push eax
lea eax, [ebp - 0xb34]
push eax
call esi
xor ebx, ebx
xor edi, edi
cmp dword [0x413ba8], ebx
jle 0x403f5b
mov eax, dword [0x4137e4]
push dword [eax + edi*4]
lea eax, [ebp - 0xe38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x403f5b
inc edi
cmp edi, dword [0x413ba8]
jl 0x403f39
cmp edi, dword [0x413ba8]
jl 0x40402c
push 0x20a
call fcn.00409547
mov edx, dword [0x4137e4]
pop ecx
mov ecx, dword [0x413ba8]
mov dword [edx + ecx*4], eax
cmp dword [0x413838], ebx
je 0x403fa2
mov ecx, dword [0x4137e4]
lea eax, [ebp - 0xe38]
push eax
mov eax, dword [0x413ba8]
push dword [ecx + eax*4]
call esi
jmp 0x403fbd
mov eax, dword [0x413ba8]
mov ecx, dword [0x4137e4]
push dword [ecx + eax*4]
lea eax, [ebp - 0xe38]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
cmp dword [0x413838], ebx
je 0x403fe4
mov ecx, dword [0x4137e4]
lea eax, [ebp - 0x1138]
push eax
mov eax, dword [0x413ba8]
mov eax, dword [ecx + eax*4]
add eax, 0x104
push eax
call esi
jmp 0x404005
mov eax, dword [0x413ba8]
mov ecx, dword [0x4137e4]
mov eax, dword [ecx + eax*4]
add eax, 0x104
push eax
lea eax, [ebp - 0x1138]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov eax, dword [0x413ba8]
mov ecx, dword [0x4137e4]
mov eax, dword [ecx + eax*4]
mov cx, word [0x413c90]
mov word [eax + 0x208], cx
inc dword [0x413ba8]
jmp 0x405ac3
mov ecx, dword [0x4137e4]
mov dx, word [0x413c90]
mov eax, edi
shl eax, 2
mov ecx, dword [ecx + eax]
mov word [ecx + 0x208], dx
lea ecx, [ebp - 0x1138]
push ecx
mov ecx, dword [0x4137e4]
mov eax, dword [ecx + eax]
add eax, 0x104
jmp 0x40495e
push 0x10
lea eax, [ebp - 0x834]
push str.Create_Service:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x40412e
xor edi, edi
cmp dword [0x413b80], edi
jle 0x4040ac
mov eax, dword [0x413c94]
push dword [eax + edi*4]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4040ac
inc edi
cmp edi, dword [0x413b80]
jl 0x40408a
cmp edi, dword [0x413b80]
jl 0x404121
push 0x10c
call fcn.00409547
mov edx, dword [0x413b80]
pop ecx
mov ecx, dword [0x413c94]
mov dword [ecx + edx*4], eax
mov eax, dword [0x413c94]
mov ecx, dword [0x413b80]
mov eax, dword [eax + ecx*4]
and dword [eax + 0x104], 0
mov eax, dword [0x413c94]
mov ecx, dword [0x413b80]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x108], cx
mov ecx, dword [0x413c94]
lea eax, [ebp - 0x824]
push eax
mov eax, dword [0x413b80]
push dword [ecx + eax*4]
call esi
inc dword [0x413b80]
jmp 0x405ac3
mov eax, dword [0x413c94]
mov eax, dword [eax + edi*4]
jmp 0x404f20
push 0xc
lea eax, [ebp - 0x834]
push str.Add_Device:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x4041dd
xor edi, edi
cmp dword [0x413bac], edi
jle 0x404192
lea eax, [ebp - 0x828]
push eax
mov eax, dword [0x413814]
mov eax, dword [eax + edi*4]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404189
mov eax, dword [0x413814]
mov cx, word [0x413c90]
mov eax, dword [eax + edi*4]
mov word [eax + 0x21a], cx
inc edi
cmp edi, dword [0x413bac]
jl 0x404156
xor edi, edi
cmp dword [0x413874], edi
jle 0x405ac3
lea eax, [ebp - 0x828]
push eax
mov eax, dword [0x413c0c]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4041cf
mov eax, dword [0x413c0c]
mov cx, word [0x413c90]
mov eax, dword [eax + edi*4]
mov word [eax + 0x212], cx
inc edi
cmp edi, dword [0x413874]
jl 0x4041a0
jmp 0x405ac3
push 0xf
lea eax, [ebp - 0x834]
push str.Self_Register:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x4042ec
lea eax, [ebp - 0x825]
push eax
lea eax, [ebp - 0xb34]
push eax
call esi
lea eax, [ebp - 0xb34]
push 1
push eax
call fcn.0040859a
xor edi, edi
pop ecx
cmp dword [0x413bac], edi
pop ecx
jle 0x404281
mov eax, dword [0x413814]
mov eax, dword [eax + edi*4]
add eax, 8
push eax
lea eax, [ebp - 0x1038]
push eax
call esi
lea eax, [ebp - 0x1038]
push 1
push eax
call fcn.0040859a
pop ecx
lea eax, [ebp - 0xb34]
pop ecx
push eax
lea eax, [ebp - 0x1038]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404278
mov eax, dword [0x413814]
mov cx, word [0x413c90]
mov eax, dword [eax + edi*4]
mov word [eax + 0x218], cx
inc edi
cmp edi, dword [0x413bac]
jl 0x404225
xor edi, edi
cmp dword [0x413874], edi
jle 0x405ac3
mov eax, dword [0x413c0c]
push dword [eax + edi*4]
lea eax, [ebp - 0x1038]
push eax
call esi
lea eax, [ebp - 0x1038]
push 1
push eax
call fcn.0040859a
pop ecx
lea eax, [ebp - 0xb34]
pop ecx
push eax
lea eax, [ebp - 0x1038]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4042de
mov eax, dword [0x413c0c]
mov cx, word [0x413c90]
mov eax, dword [eax + edi*4]
mov word [eax + 0x210], cx
inc edi
cmp edi, dword [0x413874]
jl 0x40428f
jmp 0x405ac3
push 9
lea eax, [ebp - 0x834]
push str.INI_New:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x4044ca
push edi
lea eax, [ebp - 0x834]
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xa
push str.INI_File:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405ac3
push 2
lea eax, [ebp - 0x82a]
pop edi
push edi
push 0x4103f0
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404364
cmp dword [ebp - 0x18], edi
je 0x40447c
push edi
lea eax, [ebp - 0x82a]
push 0x4103ec
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404386
cmp dword [ebp - 0x1c], edi
je 0x40447c
lea eax, [ebp - 0x82a]
push 0
push eax
call fcn.0040872e
pop ecx
test eax, eax
pop ecx
jne 0x40447c
xor edi, edi
cmp edi, dword [0x413880]
jge 0x4043d6
mov eax, dword [0x4137e8]
push dword [eax + edi*4]
lea eax, [ebp - 0x82a]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4043ca
inc edi
cmp edi, dword [0x413880]
jl 0x4043a8
cmp edi, dword [0x413880]
jl 0x404466
push 0x10c
call fcn.00409547
mov edx, dword [0x413880]
pop ecx
mov ecx, dword [0x4137e8]
mov dword [ecx + edx*4], eax
mov eax, dword [0x413880]
mov ecx, dword [0x4137e8]
mov eax, dword [ecx + eax*4]
and dword [eax + 0x104], 0
cmp dword [0x413838], 0
je 0x404427
mov ecx, dword [0x4137e8]
lea eax, [ebp - 0x82a]
push eax
mov eax, dword [0x413880]
push dword [ecx + eax*4]
call esi
jmp 0x404442
mov eax, dword [0x413880]
mov ecx, dword [0x4137e8]
push dword [ecx + eax*4]
lea eax, [ebp - 0x82a]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov eax, dword [0x413880]
mov ecx, dword [0x4137e8]
mov eax, dword [ecx + eax*4]
mov cx, word [0x413c90]
mov word [eax + 0x108], cx
inc dword [0x413880]
jmp 0x40447c
mov eax, dword [0x4137e8]
mov cx, word [0x413c90]
mov eax, dword [eax + edi*4]
mov word [eax + 0x108], cx
push 0
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 4
push str.INI
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405ac3
cmp byte [ebp - 0x830], 0x46
je 0x405ac3
cmp byte [ebp - 0x830], 0x4e
jne 0x40447c
jmp 0x405ac3
push 0xa
lea eax, [ebp - 0x834]
push str.INI_File:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404770
push 2
lea eax, [ebp - 0x82a]
pop edi
push edi
push 0x4103f0
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404509
cmp dword [ebp - 0x18], edi
je 0x404527
push edi
lea eax, [ebp - 0x82a]
push 0x4103ec
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x40452b
cmp dword [ebp - 0x1c], edi
jne 0x40452b
xor edi, edi
jmp 0x40452e
push 1
pop edi
cmp dword [0x413838], 0
je 0x404549
lea eax, [ebp - 0x82a]
push eax
lea eax, [ebp - 0x143c]
push eax
call esi
jmp 0x40455d
lea eax, [ebp - 0x143c]
push eax
lea eax, [ebp - 0x82a]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
push 0
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
test edi, edi
je 0x405ac3
and dword [ebp - 0xc], 0
push 0xa
lea eax, [ebp - 0x834]
push str.INI_Sect:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405ac3
lea eax, [ebp - 0x82a]
push eax
lea eax, [ebp - 0xb34]
push eax
call esi
push 0
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xa
push str.INI_Item:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405ac3
lea eax, [ebp - 0x82a]
push eax
lea eax, [ebp - 0x1038]
push eax
call esi
push 0
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 9
push str.INI_Val:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405ac3
push eax
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 9
push str.INI_Old:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x40465f
mov dword [ebp - 0xc], 1
lea edi, [ebp - 0x82b]
jmp 0x404664
mov edi, 0x4133e0
mov ecx, dword [0x41383c]
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0x143c]
push eax
mov eax, dword [0x4138ac]
push ecx
push 0x714
push dword [eax]
lea eax, [eax + ecx*4]
push eax
call fcn.0040965e
add esp, 0x1c
test eax, eax
jne 0x404765
mov eax, dword [0x4138ac]
mov ecx, dword [0x41383c]
mov eax, dword [eax + ecx*4]
and dword [eax + 0x70c], 0
mov eax, dword [0x4138ac]
mov ecx, dword [0x41383c]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x710], cx
mov ecx, dword [0x41383c]
lea eax, [ebp - 0x143c]
push eax
mov eax, dword [0x4138ac]
mov eax, dword [eax + ecx*4]
add eax, 8
push eax
call esi
mov ecx, dword [0x41383c]
lea eax, [ebp - 0xb34]
push eax
mov eax, dword [0x4138ac]
mov eax, dword [eax + ecx*4]
add eax, 0x10c
push eax
call esi
mov ecx, dword [0x41383c]
lea eax, [ebp - 0x1038]
push eax
mov eax, dword [0x4138ac]
mov eax, dword [eax + ecx*4]
add eax, 0x20c
push eax
call esi
mov eax, dword [0x4138ac]
mov ecx, dword [0x41383c]
push edi
mov eax, dword [eax + ecx*4]
add eax, 0x30c
push eax
call esi
mov eax, dword [0x41383c]
mov ecx, dword [0x4138ac]
mov eax, dword [ecx + eax*4]
lea ecx, [eax + 0x30c]
add eax, 0x50c
push ecx
push eax
call esi
inc dword [0x41383c]
jmp 0x405ac3
push edi
add eax, 0x50c
jmp 0x40495e
push 0xe
lea eax, [ebp - 0x834]
push str.Execute_Path:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
je 0x40524a
push 0x11
lea eax, [ebp - 0x834]
push str.Execute_Program:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
je 0x40524a
push 0xc
lea eax, [ebp - 0x834]
push str.Icon_Group:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x40496c
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0xb34]
push eax
call esi
push edi
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xb
push str.Icon_Name:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404964
lea eax, [ebp - 0x829]
push eax
lea eax, [ebp - 0x1038]
push eax
call esi
push edi
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xa
push str.Icon_Cmd:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404964
xor edi, edi
cmp edi, dword [0x413800]
jge 0x4048a3
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0xb34]
push eax
mov eax, dword [0x413850]
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x40488e
lea eax, [ebp - 0x1038]
push eax
mov eax, dword [0x413850]
mov eax, dword [eax + edi*4]
add eax, 0x100
push eax
call ebx
test eax, eax
je 0x404897
inc edi
cmp edi, dword [0x413800]
jl 0x40485e
cmp edi, dword [0x413800]
jl 0x40494a
push 0x308
call fcn.00409547
mov edx, dword [0x413800]
pop ecx
mov ecx, dword [0x413850]
mov dword [ecx + edx*4], eax
mov eax, dword [0x413850]
mov ecx, dword [0x413800]
mov eax, dword [eax + ecx*4]
and dword [eax + 0x300], 0
mov eax, dword [0x413850]
mov ecx, dword [0x413800]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x304], cx
mov ecx, dword [0x413800]
lea eax, [ebp - 0x1038]
push eax
mov eax, dword [0x413850]
mov eax, dword [eax + ecx*4]
add eax, 0x100
push eax
call esi
mov ecx, dword [0x413800]
lea eax, [ebp - 0xb34]
push eax
mov eax, dword [0x413850]
push dword [eax + ecx*4]
call esi
mov ecx, dword [0x413850]
lea eax, [ebp - 0x82a]
push eax
mov eax, dword [0x413800]
mov eax, dword [ecx + eax*4]
add eax, 0x200
push eax
call esi
inc dword [0x413800]
jmp 0x405ac3
lea eax, [ebp - 0x82a]
push eax
mov eax, dword [0x413850]
mov eax, dword [eax + edi*4]
add eax, 0x200
push eax
jmp 0x405057
mov dword [ebp - 0xc], edi
jmp 0x405ac3
push 0xc
lea eax, [ebp - 0x834]
push str.SubSystem:_B
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x4049b5
lea eax, [ebp - 0x829]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.00409547
pop ecx
mov dword [0x4138a0], eax
lea ecx, [ebp - 0x829]
push ecx
push eax
call esi
mov dword [0x413808], edi
jmp 0x405ac3
push 0xa
lea eax, [ebp - 0x834]
push str.Made_Dir:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404bfe
lea eax, [ebp - 0x834]
push 0x4100cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x82a]
push eax
lea eax, [ebp - 0xb34]
push eax
call esi
lea eax, [ebp - 0xb34]
push edi
push eax
call fcn.0040859a
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
pop ecx
pop ecx
lea eax, [ebp - 0xb34]
push eax
call edi
mov ebx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xb34]
push ebx
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404a38
lea eax, [ebp - 0xb34]
push eax
call edi
and byte [eax + ebx], 0
lea eax, [ebp - 0x82a]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
cmp ebx, 3
jle 0x405ac3
cmp byte [ebp - 0x82a], 0x5c
jne 0x404a62
cmp byte [ebp - 0x829], 0x5c
je 0x404ab9
cmp dword [0x410ffc], 1
jle 0x404a81
movsx eax, byte [ebp - 0x82a]
push 0x103
push eax
call fcn.00409e80
pop ecx
pop ecx
jmp 0x404a97
movsx eax, byte [ebp - 0x82a]
mov ecx, dword [str.________________________________H]
mov ax, word [ecx + eax*2]
and eax, 0x103
test eax, eax
je 0x405ac3
cmp byte [ebp - 0x829], 0x3a
jne 0x405ac3
cmp byte [ebp - 0x828], 0x5c
jne 0x405ac3
xor edi, edi
cmp edi, dword [0x413c84]
jge 0x404b18
mov eax, dword [0x413828]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp ebx, eax
jge 0x404ad9
mov eax, ebx
jmp 0x404ae7
mov eax, dword [0x413828]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [0x413828]
push dword [eax + edi*4]
lea eax, [ebp - 0x82a]
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
je 0x404b0c
inc edi
cmp edi, dword [0x413c84]
jl 0x404ac3
cmp edi, dword [0x413c84]
jl 0x404bbd
push 0x10c
call fcn.00409547
mov edx, dword [0x413c84]
pop ecx
mov ecx, dword [0x413828]
mov dword [ecx + edx*4], eax
mov eax, dword [0x413828]
mov ecx, dword [0x413c84]
mov ecx, dword [eax + ecx*4]
xor eax, eax
mov dword [ecx + 0x104], eax
mov ecx, dword [0x413828]
mov edx, dword [0x413c84]
mov ecx, dword [ecx + edx*4]
mov word [ecx + 0x108], ax
mov ecx, dword [0x413828]
mov edx, dword [0x413c84]
mov ecx, dword [ecx + edx*4]
mov dx, word [0x413c90]
mov word [ecx + 0x10a], dx
cmp dword [0x413838], eax
je 0x404b9d
mov ecx, dword [0x413c84]
lea eax, [ebp - 0x82a]
push eax
mov eax, dword [0x413828]
push dword [eax + ecx*4]
jmp 0x404d85
mov eax, dword [0x413828]
mov ecx, dword [0x413c84]
push dword [eax + ecx*4]
lea eax, [ebp - 0x82a]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
jmp 0x404d87
mov eax, dword [0x413828]
shl edi, 2
push dword [eax + edi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp ebx, eax
jge 0x404bd6
mov eax, ebx
jmp 0x404be4
mov eax, dword [0x413828]
push dword [eax + edi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x413828]
mov ecx, dword [ecx + edi]
and byte [ecx + eax], 0
mov eax, dword [0x413828]
mov eax, dword [eax + edi]
jmp 0x404db7
push 0xb
lea eax, [ebp - 0x834]
push str.File_Tree:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404dca
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x829]
push eax
call ebx
lea edi, [ebp + eax - 0x82d]
push str..
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x404c44
and byte [edi], al
lea eax, [ebp - 0x834]
push 0x4100cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x829]
push eax
call ebx
cmp eax, 3
jle 0x405ac3
cmp byte [ebp - 0x829], 0x5c
jne 0x404c7a
cmp byte [ebp - 0x828], 0x5c
je 0x404cd1
cmp dword [0x410ffc], 1
jle 0x404c99
movsx eax, byte [ebp - 0x829]
push 0x103
push eax
call fcn.00409e80
pop ecx
pop ecx
jmp 0x404caf
movsx eax, byte [ebp - 0x829]
mov ecx, dword [str.________________________________H]
mov ax, word [ecx + eax*2]
and eax, 0x103
test eax, eax
je 0x405ac3
cmp byte [ebp - 0x828], 0x3a
jne 0x405ac3
cmp byte [ebp - 0x827], 0x5c
jne 0x405ac3
xor edi, edi
cmp dword [0x413c84], edi
jle 0x404cfd
mov eax, dword [0x413828]
push dword [eax + edi*4]
lea eax, [ebp - 0x829]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x404cfd
inc edi
cmp edi, dword [0x413c84]
jl 0x404cdb
cmp edi, dword [0x413c84]
jl 0x404d92
push 0x10c
call fcn.00409547
mov edx, dword [0x413c84]
pop ecx
mov ecx, dword [0x413828]
mov dword [ecx + edx*4], eax
mov eax, dword [0x413828]
mov ecx, dword [0x413c84]
mov eax, dword [eax + ecx*4]
and dword [eax + 0x104], 0
mov eax, dword [0x413828]
mov ecx, dword [0x413c84]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x108], cx
mov eax, dword [0x413828]
mov ecx, dword [0x413c84]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x10a], cx
mov ecx, dword [0x413828]
lea eax, [ebp - 0x829]
push eax
mov eax, dword [0x413c84]
push dword [ecx + eax*4]
call esi
inc dword [0x413c84]
jmp 0x405ac3
mov ecx, dword [0x413828]
mov dx, word [0x413c90]
mov eax, edi
shl eax, 2
mov ecx, dword [ecx + eax]
mov word [ecx + 0x108], dx
mov ecx, dword [0x413828]
mov eax, dword [ecx + eax]
mov cx, word [0x413c90]
mov word [eax + 0x10a], cx
jmp 0x405ac3
push 0xc
lea eax, [ebp - 0x834]
push str.RegDB_Tree:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404f33
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x1038]
push eax
call esi
xor edi, edi
lea eax, [ebp - 0x834]
push edi
mov dword [ebp - 0xc], edi
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xc
push str.RegDB_Root:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404e4f
lea eax, [ebp - 0x828]
push eax
call fcn.00409fc0
pop ecx
mov edi, eax
push 0
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
add esp, 0x10
xor ebx, ebx
cmp ebx, dword [0x413c04]
jge 0x404e97
mov eax, dword [0x4138c0]
push dword [eax + ebx*4]
lea eax, [ebp - 0x1038]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404e82
mov eax, dword [0x4138c0]
mov eax, dword [eax + ebx*4]
cmp edi, dword [eax + 0x100]
je 0x404e8b
inc ebx
cmp ebx, dword [0x413c04]
jl 0x404e59
cmp ebx, dword [0x413c04]
jl 0x404f18
push 0x10c
call fcn.00409547
mov edx, dword [0x413c04]
pop ecx
mov ecx, dword [0x4138c0]
mov dword [ecx + edx*4], eax
mov eax, dword [0x4138c0]
mov ecx, dword [0x413c04]
mov eax, dword [eax + ecx*4]
and dword [eax + 0x104], 0
mov eax, dword [0x4138c0]
mov ecx, dword [0x413c04]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x100], edi
mov eax, dword [0x4138c0]
mov ecx, dword [0x413c04]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x108], cx
mov ecx, dword [0x4138c0]
lea eax, [ebp - 0x1038]
push eax
mov eax, dword [0x413c04]
push dword [ecx + eax*4]
call esi
inc dword [0x413c04]
jmp 0x405ac3
mov eax, dword [0x4138c0]
mov eax, dword [eax + ebx*4]
mov cx, word [0x413c90]
mov word [eax + 0x108], cx
jmp 0x405ac3
push 4
lea eax, [ebp - 0x834]
push str.
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404f8e
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x413894]
mov edx, dword [0x413878]
add ecx, edx
sub ecx, eax
xor eax, eax
dec ecx
inc word [0x413c90]
cmp byte [ebp - 0x830], 0x20
mov dword [0x41389c], ecx
sete al
mov dword [0x413838], eax
jmp 0x405ac3
push 0xf
lea eax, [ebp - 0x834]
push str.Uninstall_MIF:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404fb9
lea eax, [ebp - 0x825]
push eax
push 0x4138e0
jmp 0x405057
push 0xe
lea eax, [ebp - 0x834]
push str.Manufacturer:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x404fe1
lea eax, [ebp - 0x826]
push eax
push 0x413960
jmp 0x405057
push 9
lea eax, [ebp - 0x834]
push str.Product:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405009
lea eax, [ebp - 0x82b]
push eax
push 0x4139e0
jmp 0x405057
push 0x10
lea eax, [ebp - 0x834]
push str.Version_Number:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405031
lea eax, [ebp - 0x824]
push eax
push 0x413a60
jmp 0x405057
push 0xf
lea eax, [ebp - 0x834]
push str.Serial_Number:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x40505e
lea eax, [ebp - 0x825]
push eax
push 0x413ae0
call esi
jmp 0x405ac3
lea eax, [ebp - 0x834]
push str.User_Rights:_Admin
push eax
call fcn.0040d7e0
pop ecx
test eax, eax
pop ecx
jne 0x4050b4
cmp dword [ebp - 0x24], edi
jne 0x405ac3
cmp dword [0x4137f0], 1
jne 0x405ac3
push 1
xor ebx, ebx
pop edi
push 0xe0000000
push ebx
push ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebx
je 0x405ae2
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x405ac3
push 0xd
lea eax, [ebp - 0x834]
push str.Per_User_ID:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405ac3
push 0x100
call fcn.00409547
pop ecx
mov dword [0x41388c], eax
lea ecx, [ebp - 0x827]
push ecx
push eax
call esi
cmp dword [0x413818], 0
je 0x405ac3
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x14]
push eax
push 0x13
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0
push ebx
push 0x80000001
call edi
test eax, eax
jne 0x4051ab
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push str.Start_Menu
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4051a2
cmp byte [ebp - 0xb34], al
je 0x4051a2
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0xd38]
push eax
call esi
lea eax, [ebp - 0xd38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0xd38]
lea ecx, [ebp - 0xd38]
cmp eax, ecx
jbe 0x405184
cmp byte [eax], 0x5c
je 0x405184
dec eax
jmp 0x405172
lea ecx, [ebp - 0xd38]
cmp eax, ecx
jbe 0x40518f
dec eax
lea ecx, [ebp - 0xd38]
cmp eax, ecx
jbe 0x40519e
cmp byte [eax], 0x5c
jne 0x40518e
and byte [eax + 1], 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x4137f0], 1
jne 0x405ac3
lea eax, [ebp - 0x14]
push eax
push 0x13
push 0
push ebx
push 0x80000002
call edi
test eax, eax
jne 0x405ac3
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push str.Common_Start_Menu
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40523c
cmp byte [ebp - 0xb34], al
je 0x40523c
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0x123c]
push eax
call esi
lea eax, [ebp - 0x123c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x123c]
lea ecx, [ebp - 0x123c]
cmp eax, ecx
jbe 0x405238
cmp byte [eax], 0x5c
je 0x405238
dec eax
jmp 0x405226
and byte [eax + 1], 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x405ac3
xor eax, eax
cmp byte [ebp - 0x82b], 0x72
setne al
dec eax
xor ebx, ebx
and eax, 3
add eax, 0xe
cmp ebx, dword [0x413b98]
mov edi, eax
jge 0x405298
mov eax, dword [0x41385c]
push dword [eax + ebx*4]
lea eax, [ebp + edi - 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40528c
inc ebx
cmp ebx, dword [0x413b98]
jl 0x405269
cmp ebx, dword [0x413b98]
jl 0x40536f
push 0x20c
call fcn.00409547
mov edx, dword [0x413b98]
pop ecx
mov ecx, dword [0x41385c]
xor ebx, ebx
mov dword [ecx + edx*4], eax
mov eax, dword [0x41385c]
mov ecx, dword [0x413b98]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x204], ebx
mov eax, dword [0x41385c]
mov ecx, dword [0x413b98]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x208], cx
mov ecx, dword [0x413b98]
lea eax, [ebp + edi - 0x834]
push eax
mov eax, dword [0x41385c]
push dword [eax + ecx*4]
call esi
mov eax, dword [0x413b98]
mov ecx, dword [0x41385c]
push ebx
mov eax, dword [ecx + eax*4]
push dword [ebp + 8]
and byte [eax + 0x104], bl
lea eax, [ebp - 0x834]
push 0x800
push eax
call fcn.00405b4f
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xe
push str.Execute_Name:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405361
mov ecx, dword [0x41385c]
lea eax, [ebp - 0x826]
push eax
mov eax, dword [0x413b98]
mov eax, dword [ecx + eax*4]
add eax, 0x104
push eax
call esi
jmp 0x405364
mov dword [ebp - 0xc], ebx
inc dword [0x413b98]
jmp 0x405ac3
mov eax, dword [0x41385c]
mov cx, word [0x413c90]
mov eax, dword [eax + ebx*4]
mov word [eax + 0x208], cx
jmp 0x405ac3
lea eax, [ebp - 0x834]
push 0x7c
push eax
mov dword [ebp - 4], edi
call fcn.00409bc0
pop ecx
cmp eax, edi
pop ecx
je 0x4053af
cmp byte [eax - 1], 0x20
lea ecx, [eax - 1]
jne 0x4053ac
mov eax, ecx
and byte [eax], 0
cmp byte [ebp - 0x834], 0x53
jne 0x40543c
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x934]
push eax
call esi
cmp dword [0x41388c], edi
je 0x4054c9
lea eax, [ebp - 0xd38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xd38]
push eax
lea eax, [ebp - 0x934]
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x4054c9
lea eax, [ebp - 0x123c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x123c]
push eax
lea eax, [ebp - 0x934]
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
je 0x4054c9
and byte [ebp - 0x934], 0
jmp 0x4054c9
cmp byte [ebp - 0x82f], 0x43
jne 0x405457
lea eax, [ebp - 0x829]
push eax
lea eax, [ebp - 0x934]
push eax
call esi
jmp 0x4054c9
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x934]
push eax
call esi
cmp dword [0x413818], edi
mov dword [ebp - 4], 1
je 0x4054c9
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
push dword [str.hAXA]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4054c9
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x100
push eax
lea eax, [ebp - 0x1640]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x934]
push edi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4054c0
mov dword [ebp - 4], edi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
lea eax, [ebp - 0x834]
push dword [ebp + 8]
push ebx
push eax
call fcn.00405b4f
and byte [ebp - 0xc34], 0
add esp, 0x10
lea eax, [ebp - 0x834]
push 0xd
push str.Backup_Copy:
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x40551a
lea eax, [ebp - 0x827]
push eax
lea eax, [ebp - 0xc34]
push eax
call esi
mov dword [0x413b94], 1
jmp 0x40551d
mov dword [ebp - 0xc], edi
push 2
lea eax, [ebp - 0x934]
pop ebx
push ebx
push 0x4103f0
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405544
cmp dword [ebp - 0x18], ebx
je 0x405ac3
xor edi, edi
push ebx
lea eax, [ebp - 0x934]
push 0x4103ec
push eax
call fcn.0040d730
add esp, 0xc
test eax, eax
jne 0x405568
cmp dword [ebp - 0x1c], ebx
je 0x405ac3
xor edi, edi
cmp dword [ebp - 4], edi
je 0x40557a
cmp byte [ebp - 0xc34], 0
je 0x405ac3
cmp byte [ebp - 0x934], 0
je 0x405ac3
lea eax, [ebp - 0x934]
push 0
push eax
call fcn.0040872e
pop ecx
test eax, eax
pop ecx
jne 0x405ac3
lea eax, [ebp - 0x934]
push eax
lea eax, [ebp - 0xb34]
push eax
call esi
lea eax, [ebp - 0xb34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0xb35]
lea ecx, [ebp - 0xb34]
cmp eax, ecx
jbe 0x4055d8
cmp byte [eax], 0x5c
je 0x4055dd
and byte [eax], 0
dec eax
jmp 0x4055c3
cmp byte [eax], 0x5c
jne 0x4055e0
and byte [eax], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0xb34]
push eax
call edi
test eax, eax
je 0x405866
lea eax, [ebp - 0x1540]
push eax
lea eax, [ebp - 0xb34]
push eax
call edi
test eax, eax
je 0x405866
push dword [0x413854]
lea eax, [ebp - 0xb34]
push eax
call edi
test eax, eax
je 0x405866
lea eax, [ebp - 0x1748]
push eax
lea eax, [ebp - 0xb34]
push eax
call edi
test eax, eax
je 0x405866
mov ecx, dword [0x413bac]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x934]
push ebx
push eax
mov eax, dword [0x413814]
push ecx
push 0x228
push dword [eax]
lea eax, [eax + ecx*4]
push eax
call fcn.0040965e
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x405812
mov eax, dword [0x413bac]
mov ecx, dword [0x413814]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x210], ebx
cmp dword [0x413838], ebx
je 0x4056b2
mov ecx, dword [0x413814]
lea eax, [ebp - 0x934]
push eax
mov eax, dword [0x413bac]
mov eax, dword [ecx + eax*4]
add eax, 8
push eax
call esi
jmp 0x4056d1
mov eax, dword [0x413bac]
mov ecx, dword [0x413814]
mov eax, dword [ecx + eax*4]
add eax, 8
push eax
lea eax, [ebp - 0x934]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
cmp dword [0x413838], ebx
je 0x4056f8
mov ecx, dword [0x413814]
lea eax, [ebp - 0xc34]
push eax
mov eax, dword [0x413bac]
mov eax, dword [ecx + eax*4]
add eax, 0x10c
push eax
call esi
jmp 0x405719
mov eax, dword [0x413bac]
mov ecx, dword [0x413814]
mov eax, dword [ecx + eax*4]
add eax, 0x10c
push eax
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov eax, dword [0x413814]
mov ecx, dword [0x413bac]
cmp dword [ebp - 8], ebx
mov eax, dword [eax + ecx*4]
mov word [eax + 0x21a], bx
mov eax, dword [0x413814]
mov ecx, dword [0x413bac]
mov eax, dword [eax + ecx*4]
mov word [eax + 0x218], bx
mov eax, dword [0x413814]
mov ecx, dword [0x413bac]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x21c], cx
mov eax, dword [0x413bac]
mov ecx, dword [0x413814]
mov eax, dword [ecx + eax*4]
mov cx, word [0x413c90]
mov word [eax + 0x21e], cx
jne 0x4057b6
mov eax, dword [0x413814]
mov ecx, dword [0x413bac]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x220], cx
mov eax, dword [0x413bac]
mov ecx, dword [0x413814]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x224], 1
jmp 0x4057cb
mov eax, dword [0x413bac]
mov ecx, dword [0x413814]
mov eax, dword [ecx + eax*4]
mov word [eax + 0x220], bx
cmp dword [ebp - 4], ebx
jne 0x4057f3
cmp byte [ebp - 0xc34], 0
jne 0x4057f3
mov eax, dword [0x413bac]
mov ecx, dword [0x413814]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x214], 1
jmp 0x405807
mov eax, dword [0x413bac]
mov ecx, dword [0x413814]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x214], ebx
inc dword [0x413bac]
jmp 0x405ac3
mov ax, word [0x413c90]
cmp dword [ebp - 8], ebx
mov word [edi + 0x21c], ax
jne 0x405837
mov ax, word [0x413c90]
inc dword [edi + 0x224]
mov word [edi + 0x220], ax
cmp byte [ebp - 0xc34], 0
je 0x405ac3
lea eax, [ebp - 0xc34]
push eax
lea eax, [edi + 0x10c]
push eax
call esi
mov ax, word [0x413c90]
mov word [edi + 0x21e], ax
jmp 0x405ac3
xor ebx, ebx
xor edi, edi
cmp dword [0x413874], ebx
jle 0x405894
mov eax, dword [0x413c0c]
push dword [eax + edi*4]
lea eax, [ebp - 0x934]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x405894
inc edi
cmp edi, dword [0x413874]
jl 0x405872
cmp edi, dword [0x413874]
jl 0x405a4b
push 0x220
call fcn.00409547
mov edx, dword [0x413874]
pop ecx
mov ecx, dword [0x413c0c]
mov dword [ecx + edx*4], eax
mov eax, dword [0x413874]
mov ecx, dword [0x413c0c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x208], ecx
cmp dword [0x413838], ebx
je 0x4058f2
mov ecx, dword [0x413c0c]
lea eax, [ebp - 0x934]
push eax
mov eax, dword [0x413874]
push dword [ecx + eax*4]
call esi
jmp 0x40590d
mov eax, dword [0x413874]
mov ecx, dword [0x413c0c]
push dword [ecx + eax*4]
lea eax, [ebp - 0x934]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
cmp dword [0x413838], ebx
je 0x405934
mov ecx, dword [0x413c0c]
lea eax, [ebp - 0xc34]
push eax
mov eax, dword [0x413874]
mov eax, dword [ecx + eax*4]
add eax, 0x104
push eax
call esi
jmp 0x405955
mov eax, dword [0x413874]
mov ecx, dword [0x413c0c]
mov eax, dword [ecx + eax*4]
add eax, 0x104
push eax
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov eax, dword [0x413c0c]
mov ecx, dword [0x413874]
cmp dword [ebp - 8], ebx
mov eax, dword [eax + ecx*4]
mov word [eax + 0x212], bx
mov eax, dword [0x413c0c]
mov ecx, dword [0x413874]
mov eax, dword [eax + ecx*4]
mov word [eax + 0x210], bx
mov eax, dword [0x413c0c]
mov ecx, dword [0x413874]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x214], cx
mov eax, dword [0x413874]
mov ecx, dword [0x413c0c]
mov eax, dword [ecx + eax*4]
mov cx, word [0x413c90]
mov word [eax + 0x216], cx
jne 0x4059f2
mov eax, dword [0x413c0c]
mov ecx, dword [0x413874]
mov eax, dword [eax + ecx*4]
mov cx, word [0x413c90]
mov word [eax + 0x218], cx
mov eax, dword [0x413874]
mov ecx, dword [0x413c0c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x21c], 1
jmp 0x405a07
mov eax, dword [0x413874]
mov ecx, dword [0x413c0c]
mov eax, dword [ecx + eax*4]
mov word [eax + 0x218], bx
cmp dword [ebp - 4], ebx
jne 0x405a2f
cmp byte [ebp - 0xc34], 0
jne 0x405a2f
mov eax, dword [0x413874]
mov ecx, dword [0x413c0c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x20c], 1
jmp 0x405a43
mov eax, dword [0x413874]
mov ecx, dword [0x413c0c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x20c], ebx
inc dword [0x413874]
jmp 0x405ac3
mov eax, dword [0x413c0c]
mov cx, word [0x413c90]
shl edi, 2
cmp dword [ebp - 8], ebx
mov eax, dword [eax + edi]
mov word [eax + 0x214], cx
jne 0x405a8d
mov eax, dword [0x413c0c]
mov cx, word [0x413c90]
mov eax, dword [eax + edi]
mov word [eax + 0x218], cx
mov eax, dword [0x413c0c]
mov eax, dword [eax + edi]
inc dword [eax + 0x21c]
cmp byte [ebp - 0xc34], 0
je 0x405ac3
lea eax, [ebp - 0xc34]
push eax
mov eax, dword [0x413c0c]
mov eax, dword [eax + edi]
add eax, 0x104
push eax
call esi
mov eax, dword [0x413c0c]
mov cx, word [0x413c90]
mov eax, dword [eax + edi]
mov word [eax + 0x216], cx
cmp dword [ebp - 0xc], 0
je 0x405ad8
push 0
mov ebx, 0x800
push dword [ebp + 8]
jmp 0x403953
mov ebx, 0x800
jmp 0x403963
mov esi, 0x100
lea eax, [ebp - 0x1a4c]
push esi
push eax
push 0x19
push dword [0x413b90]
call fcn.00408994
add esp, 0x10
lea eax, [ebp - 0x194c]
push esi
push eax
push 0x43
push dword [0x413b90]
call fcn.00408994
add esp, 0x10
lea eax, [ebp - 0x1a4c]
push ebx
push eax
lea eax, [ebp - 0x194c]
push eax
push dword [0x4137dc]
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, edi
jmp 0x405b4a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll__lclose]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret