Function at 0x40d170
Capabilities:
Check mutex on windows
Create process on windows
Enumerate files on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x41e1e4
push eax
mov eax, 0x2050
mov dword fs:[0], esp
call fcn.00414de0
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x9d]
mov byte [esp + 0x9c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
stosb byte es:[edi], al
call fcn.0040b0a0
mov ebp, dword [esp + 0x2070]
lea eax, [esp + 0x9c]
push 0x104
push eax
push ebp
mov dword [esp + 0x2074], ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.0040e9b0
mov eax, dword [esp + 0x38]
add esp, 8
mov ecx, eax
and ecx, 0x3ff
push eax
mov word [0x428f14], cx
mov ecx, 0x428400
call fcn.00409830
mov ecx, 0x426f38
mov esi, dword [esp + 0x2078]
push esi
call fcn.00401aa0
push str.VS98SetupWiz
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40d3ef
mov eax, dword [0x427044]
xor edi, edi
cmp eax, edi
je 0x40d271
mov ecx, 0x42905c
call fcn.00404e10
test al, 4
jne 0x40d3ef
push str.VS98_Setup_Wizard
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push edi
lea ecx, [esp + 0x28]
call fcn.0040b270
lea ecx, [esp + 0x1c]
call fcn.0040b340
push str.ACME_REBOOT
push str.SoftwareMicrosoftVisualStudio6.0Setup_
push edi
lea ecx, [esp + 0x28]
call fcn.0040b270
mov ecx, 0x427258
call fcn.004056b0
cmp dword [0x428eac], edi
je 0x40d2bd
push edi
call fcn.00414ca0
add esp, 4
push esi
push ebx
push ebp
call fcn.0040c930
add esp, 0xc
test eax, eax
jne 0x40d3ef
cmp dword [0x427040], edi
je 0x40d36d
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x58]
push ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x5c], 0x44
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov ecx, 0x426f38
call fcn.004020d0
lea edx, [esp + 0x6a4]
push 0x104
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x6a4]
push esi
push eax
lea ecx, [esp + 0x1a8]
push str._s__s
push ecx
call fcn.00413130
add esp, 0x10
lea edx, [esp + 0x48]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x1a0]
push edx
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea edx, [esp + 0x6c4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x40d3ef
mov ecx, 0x429028
call fcn.00405f00
cmp dword [0x429028], edi
je 0x40d3c7
cmp dword [0x429030], 3
jne 0x40d3c7
cmp dword [0x429034], 0x33
jne 0x40d3c7
lea eax, [esp + 0x8ac]
push 0x800
push eax
push 0x469
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [0x422c70]
lea edx, [esp + 0x8ac]
push ecx
push 0x4284e4
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40d3ef
lea eax, [esp + 0x9c]
push 0x104
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x9c]
push ecx
call fcn.00411d50
add esp, 4
test eax, eax
jne 0x40d40a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2068], 0xffffffff
call fcn.0040b0b0
xor eax, eax
jmp 0x40e961
call fcn.0040d050
mov dword [esp + 0x3c], eax
mov eax, dword [0x429028]
cmp eax, edi
jne 0x40d425
call fcn.0040cf50
mov dword [esp + 0x2c], eax
mov ecx, 0x42905c
call fcn.00404e10
mov ecx, eax
mov dword [esp + 0x18], eax
and ecx, 4
mov dword [esp + 0x20], ecx
jne 0x40d448
mov dword [0x428eb8], 0xfa000
mov ecx, dword [0x4283f8]
cmp ecx, edi
je 0x40d461
test ah, 8
jne 0x40d461
add dword [0x428eb8], 0x1f4000
cmp dword [0x429028], edi
je 0x40d472
cmp dword [0x429030], 5
je 0x40d492
mov al, byte [0x427872]
test al, al
je 0x40d492
cmp dword [0x42902c], edi
jne 0x40d492
push 0x427566
call fcn.004128b0
add esp, 4
jmp 0x40d497
mov eax, 1
cmp eax, edi
mov dword [esp + 0x28], eax
jne 0x40d4a9
add dword [0x428eb8], 0x27ac40
push 0x426b90
push ebp
push edi
mov ecx, 0x428400
call fcn.0040a820
mov eax, dword [0x42903c]
cmp eax, edi
je 0x40d532
lea edx, [esp + 0x2a4]
push 0x200
push edx
push 0x13
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x422c70]
lea ecx, [esp + 0x2a4]
push eax
push 0x4284e4
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [0x4286e8], 1
mov dword [esp + 0x24], edi
call fcn.0040b0a0
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 1
call fcn.0040b360
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0b0
jmp 0x40e8d3
cmp dword [0x429040], edi
jne 0x40d5a9
lea edx, [esp + 0x2a4]
push 0x200
push edx
push 0x22
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x422c70]
lea ecx, [esp + 0x2a4]
push eax
push 0x4284e4
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [0x4286e8], 1
mov dword [esp + 0x24], edi
call fcn.0040b0a0
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 2
call fcn.0040b360
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0b0
jmp 0x40e8d3
mov eax, dword [0x42902c]
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, edi
jne 0x40d61e
cmp dword [0x429028], edi
jne 0x40d61e
cmp dword [esp + 0x20], edi
jne 0x40d61e
test byte [esp + 0x18], 0x10
jne 0x40d61e
cmp dword [0x429054], edi
je 0x40d61e
mov eax, dword [0x42843c]
lea edx, [esp + 0x2a4]
push 0x200
push edx
push 0x462
push eax
call ebx
mov eax, dword [0x422c70]
lea ecx, [esp + 0x2a4]
or eax, 0x104
push eax
push 0x4284e4
push ecx
push edi
call esi
cmp eax, 7
jne 0x40d61e
push edi
call fcn.00414ca0
add esp, 4
mov eax, dword [0x429038]
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x40d635
add dword [0x428eb8], 0x186a0
mov ecx, 0x429028
call fcn.004062a0
mov eax, dword [0x429050]
cmp eax, edi
je 0x40d7c0
mov eax, dword [esp + 0x18]
test ah, 4
jne 0x40d7c0
mov ecx, 0x42905c
call fcn.00404e10
mov edi, eax
test edi, 0x200
je 0x40d6a3
mov eax, dword [0x42843c]
lea edx, [esp + 0x2a4]
push 0x400
push edx
push 0x463
push eax
call ebx
mov eax, dword [0x422c70]
lea ecx, [esp + 0x2a4]
push eax
push 0x4284e4
push ecx
push 0
call esi
jmp 0x40e8d3
lea edx, [esp + 0x2a4]
push 0x400
push edx
push 0x45f
push ebp
call ebx
mov ecx, dword [0x428eb8]
mov eax, 0x431bde83
mul ecx
shr edx, 0x12
lea eax, [esp + 0x2a4]
push edx
lea ecx, [esp + 0x10b0]
push eax
push ecx
call fcn.00413130
mov edx, dword [0x422c70]
add esp, 0xc
or edx, 4
lea eax, [esp + 0x10ac]
push edx
push 0x4284e4
push eax
push 0
call esi
cmp eax, 7
jne 0x40d721
or edi, 0x400
mov ecx, 0x42905c
push edi
mov dword [0x428eb4], 0
call fcn.00404eb0
jmp 0x40d7c0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40d7c0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40d7c0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40d7c0
lea ecx, [esp + 0x2a4]
push 0x400
push ecx
push 0x464
push ebp
call ebx
mov edx, dword [0x422c70]
lea eax, [esp + 0x2a4]
or edx, 4
push edx
push 0x4284e4
push eax
push 0
call esi
cmp eax, 6
jne 0x40d78f
mov ecx, 0x42905c
call fcn.00404fc0
mov ecx, 0x428400
call fcn.0040a9c0
jmp 0x40e8d3
lea ecx, [esp + 0x18]
call fcn.0040b0a0
mov eax, dword [0x428eb8]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x206c], 3
call fcn.0040b470
lea ecx, [esp + 0x18]
mov byte [esp + 0x2068], 0
call fcn.0040b0b0
push 0x7d
push ebp
call dword [sym.imp.USER32.dll_LoadIconA]
mov eax, dword [0x42703c]
test eax, eax
je 0x40d7ff
lea ecx, [esp + 0x18]
call fcn.0040b0a0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x206c], 4
call fcn.0040b360
lea ecx, [esp + 0x18]
mov byte [esp + 0x2068], 0
call fcn.0040b0b0
mov ecx, 0x42905c
call fcn.00404c60
mov ecx, 0x42905c
mov dword [esp + 0x34], eax
call fcn.00404e10
mov ecx, 0x42905c
mov dword [esp + 0x18], eax
call fcn.00404d70
mov dword [esp + 0x40], eax
call fcn.0040cd40
mov bp, ax
and ebp, 0xffff
jne 0x40d848
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov bp, ax
and ebp, 0xffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40d8d9
mov ecx, dword [esp + 0x30]
xor ecx, ebp
test ecx, 0x3ff
je 0x40d8d9
mov eax, dword [esp + 0x2070]
lea edx, [esp + 0x8ac]
push 0x800
push edx
push 0x44d
push eax
call ebx
push 0x30
lea ecx, [esp + 0x8b0]
push 0x4285e8
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [0x4286e8], 1
mov dword [esp + 0x24], 0
call fcn.0040b0a0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 5
call fcn.0040b360
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0b0
jmp 0x40e8d3
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40daac
lea edx, [esp + 0x9c]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str._shdocvw.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x38], eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x38]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xa0]
push ecx
call fcn.0040e9b0
mov edx, dword [esp + 0x38]
add esp, 8
test eax, eax
jne 0x40d9fe
xor edx, ebp
test edx, 0x3ff
je 0x40daac
mov ecx, dword [esp + 0x2070]
lea eax, [esp + 0x8ac]
push 0x800
push eax
push 0x452
push ecx
call ebx
push 0x427c9c
lea edx, [esp + 0x8b0]
push 0x427c9c
lea eax, [esp + 0x1868]
push edx
push eax
call fcn.00413130
add esp, 0x10
lea ecx, [esp + 0x1860]
push 0x34
push 0x4285e8
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x40daac
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [0x4286e8], 1
call fcn.0040b0a0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 6
call fcn.0040b360
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0b0
jmp 0x40e8d3
xor edx, dword [esp + 0x38]
test edx, 0x3ff
je 0x40daac
mov ecx, dword [esp + 0x2070]
lea eax, [esp + 0x8ac]
push 0x800
push eax
push 0x453
push ecx
call ebx
push 0x427c9c
lea edx, [esp + 0x8b0]
push 0x427c9c
lea eax, [esp + 0x1868]
push edx
push eax
call fcn.00413130
add esp, 0x10
lea ecx, [esp + 0x1860]
push 0x34
push 0x4285e8
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x40daac
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [0x4286e8], 1
call fcn.0040b0a0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 7
call fcn.0040b360
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b0b0
jmp 0x40e8d3
mov ebx, dword [esp + 0x18]
mov dword [0x428ea8], 0
test bl, 1
jne 0x40dc09
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 8
je 0x40dae6
mov ecx, eax
call fcn.00411ed0
jmp 0x40dae8
xor eax, eax
push 0x412020
push 0x426b90
push 0x65
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429064], eax
call fcn.00408960
mov edx, dword [0x429064]
push 0x65
mov ecx, 0x428400
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a900
mov ecx, dword [0x429064]
push 0x44
mov dword [ecx + 0x34], eax
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 9
je 0x40db4f
mov ecx, eax
call fcn.00402fd0
jmp 0x40db51
xor eax, eax
push 0x403020
push 0x426b90
push 0x68
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42906c], eax
call fcn.00408960
mov ecx, dword [0x42906c]
push 0x68
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428400
push edx
call fcn.0040a900
mov ecx, dword [0x42906c]
push 0xe8
mov dword [ecx + 0x34], eax
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xa
je 0x40dbbb
mov ecx, eax
call fcn.0040f600
jmp 0x40dbbd
xor eax, eax
push 0x40fd20
push 0x426b90
push 0x69
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429070], eax
call fcn.00408960
mov eax, dword [0x429070]
push 0x69
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428400
call fcn.0040a900
mov ecx, dword [0x429070]
mov ebp, dword [esp + 0x34]
mov dword [ecx + 0x34], eax
jmp 0x40dc8a
mov ebp, dword [esp + 0x34]
cmp ebp, 4
je 0x40dc8a
test bl, 0x10
je 0x40dc8a
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xb
je 0x40dc3a
mov ecx, eax
call fcn.00411ed0
jmp 0x40dc3c
xor eax, eax
push 0x412320
push 0x426b90
push 0x74
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429068], eax
call fcn.00408960
mov edx, dword [0x429068]
push 0x74
mov ecx, 0x428400
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a900
mov ecx, dword [0x429068]
mov dword [ecx + 0x34], eax
mov dword [0x428ea8], 1
mov eax, dword [0x429028]
test eax, eax
je 0x40dd93
cmp dword [0x429030], 3
jne 0x40dd93
cmp dword [0x429034], 0x33
jne 0x40dd93
push 0x29c8
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xc
je 0x40dcd7
mov ecx, eax
call fcn.0040b4d0
jmp 0x40dcd9
xor eax, eax
push 0x40bbe0
push 0x426b90
push 0x7f
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42909c], eax
call fcn.00408960
mov ecx, dword [0x42909c]
push 0x7f
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428400
push edx
call fcn.0040a900
mov ecx, dword [0x42909c]
test bl, 0x10
mov dword [ecx + 0x34], eax
jne 0x40e6d0
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xd
je 0x40dd49
mov ecx, eax
call fcn.00411ed0
jmp 0x40dd4b
xor eax, eax
push 0x40ade0
push 0x426b90
push 0x73
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429088], eax
call fcn.00408960
mov eax, dword [0x429088]
push 0x73
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428400
call fcn.0040a900
mov ecx, dword [0x429088]
mov dword [ecx + 0x34], eax
jmp 0x40e6d0
mov edi, dword [esp + 0x20]
test edi, edi
je 0x40de06
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xe
je 0x40ddbe
mov ecx, eax
call fcn.00411ed0
jmp 0x40ddc0
xor eax, eax
push 0x407f90
push 0x426b90
push 0x70
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429084], eax
call fcn.00408960
mov edx, dword [0x429084]
push 0x70
mov ecx, 0x428400
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a900
mov ecx, dword [0x429084]
mov dword [ecx + 0x34], eax
jmp 0x40de12
push 2
mov ecx, 0x42905c
call fcn.00404d00
mov esi, dword [esp + 0x40]
cmp esi, 4
je 0x40de23
test edi, edi
je 0x40dea4
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xf
je 0x40de46
mov ecx, eax
call fcn.00411ed0
jmp 0x40de48
xor eax, eax
push 0x404890
push 0x426b90
push 0x6d
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429078], eax
call fcn.00408960
mov ecx, dword [0x429078]
push 0x6d
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428400
push edx
call fcn.0040a900
mov ecx, dword [0x429078]
cmp esi, 4
mov dword [ecx + 0x34], eax
jne 0x40dea4
mov eax, dword [0x429078]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, 0x428400
call fcn.0040a4c0
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x40df26
mov ecx, 0x42905c
call fcn.00404d70
cmp eax, 3
je 0x40df26
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x10
je 0x40dede
mov ecx, eax
call fcn.00411ed0
jmp 0x40dee0
xor eax, eax
push 0x404350
push 0x426b90
push 0x6c
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429074], eax
call fcn.00408960
mov edx, dword [0x429074]
push 0x6c
mov ecx, 0x428400
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a900
mov ecx, dword [0x429074]
mov dword [ecx + 0x34], eax
jmp 0x40df41
mov ecx, 0x42905c
call fcn.00404c60
cmp eax, 4
je 0x40df41
push 2
mov ecx, 0x42905c
call fcn.00404bf0
cmp ebp, 4
je 0x40df4e
test esi, esi
jne 0x40dfd3
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x11
je 0x40df71
mov ecx, eax
call fcn.00411ed0
jmp 0x40df73
xor eax, eax
push 0x404890
push 0x426b90
push 0x6d
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429078], eax
call fcn.00408960
mov ecx, dword [0x429078]
push 0x6d
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428400
push edx
call fcn.0040a900
mov ecx, dword [0x429078]
cmp ebp, 4
mov dword [ecx + 0x34], eax
jne 0x40dfcf
mov eax, dword [0x429078]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, 0x428400
call fcn.0040a4c0
test esi, esi
je 0x40e04a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40e04a
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x12
je 0x40dffe
mov ecx, eax
call fcn.00411ed0
jmp 0x40e000
xor eax, eax
push 0x410700
push 0x426b90
push 0x92
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290a4], eax
call fcn.00408960
mov edx, dword [0x4290a4]
push 0x92
mov ecx, 0x428400
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a900
mov ecx, dword [0x4290a4]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40e0ca
mov al, byte [0x4282f4]
test al, al
je 0x40e0ca
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x13
je 0x40e07e
mov ecx, eax
call fcn.00411ed0
jmp 0x40e080
xor eax, eax
push 0x410aa0
push 0x426b90
push 0x95
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x4290a8], eax
call fcn.00408960
mov ecx, dword [0x4290a8]
push 0x95
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428400
push edx
call fcn.0040a900
mov ecx, dword [0x4290a8]
mov dword [ecx + 0x34], eax
test bl, 2
jne 0x40e179
lea eax, [esp + 0x10ac]
mov ecx, 0x428400
push eax
call fcn.0040e980
mov ecx, eax
mov byte [esp + 0x2068], 0x14
call fcn.004112e0
lea ecx, [esp + 0x10ac]
mov esi, eax
mov byte [esp + 0x2068], 0
call fcn.00410fa0
test esi, esi
je 0x40e179
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x15
je 0x40e131
mov ecx, eax
call fcn.00411ed0
jmp 0x40e133
xor eax, eax
push 0x40ed70
push 0x426b90
push 0x6e
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42907c], eax
call fcn.00408960
mov ecx, dword [0x42907c]
push 0x6e
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428400
push edx
call fcn.0040a900
mov ecx, dword [0x42907c]
mov dword [ecx + 0x34], eax
jmp 0x40e18b
or ebx, 2
mov ecx, 0x42905c
push ebx
mov dword [esp + 0x1c], ebx
call fcn.00404eb0
mov eax, ebx
and eax, 4
mov dword [esp + 0x20], eax
jne 0x40e3f0
mov al, byte [0x427048]
test al, al
jne 0x40e24b
push 0x29c8
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x16
je 0x40e1cd
mov ecx, eax
call fcn.0040b4d0
jmp 0x40e1cf
xor eax, eax
mov dword [0x42909c], eax
mov ecx, dword [eax + 0x40]
test ecx, ecx
mov byte [esp + 0x2068], 0
je 0x40e24b
push 0x40
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x17
je 0x40e206
mov ecx, eax
call fcn.00402cb0
jmp 0x40e208
xor eax, eax
push 0x402cd0
push 0x426b90
push 0x75
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429090], eax
call fcn.00408960
mov eax, dword [0x429090]
push 0x75
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428400
call fcn.0040a900
mov ecx, dword [0x429090]
mov dword [ecx + 0x34], eax
lea ecx, [esp + 0x2c]
call fcn.0040b0a0
lea edx, [esp + 0x1a0]
mov ebp, 1
push 0x104
push edx
push ebp
push str.VsCommonDir
push str.softwaremicrosoftVisualstudio6.0_setup
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x2080], 0x18
call fcn.0040b0c0
test eax, eax
je 0x40e36e
lea edi, [esp + 0x1a0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x1a0]
push eax
lea eax, [esp + 0x1a4]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x5c
je 0x40e2e9
mov edi, 0x4220bc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x422d30
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x2a4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1a4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40e36e
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x2a4]
push edx
push esi
call edi
test eax, eax
je 0x40e36e
mov bl, 0x2e
cmp byte [esp + 0x2d0], bl
jne 0x40e368
lea eax, [esp + 0x2a4]
push eax
push esi
call edi
test eax, eax
jne 0x40e34e
jmp 0x40e36a
xor ebp, ebp
mov ebx, dword [esp + 0x18]
test ebp, ebp
je 0x40e3db
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x19
je 0x40e395
mov ecx, eax
call fcn.00411ed0
jmp 0x40e397
xor eax, eax
push 0x4073b0
push 0x426b90
push 0x79
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0x18
mov dword [0x429094], eax
call fcn.00408960
mov ecx, dword [0x429094]
push 0x79
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428400
push edx
call fcn.0040a900
mov ecx, dword [0x429094]
mov dword [ecx + 0x34], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2068], 0
call fcn.0040b0b0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40e45c
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1a
je 0x40e417
mov ecx, eax
call fcn.00411ed0
jmp 0x40e419
xor eax, eax
push 0x4062f0
push 0x426b90
push 0x6f
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429080], eax
call fcn.00408960
mov eax, dword [0x429080]
push 0x6f
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428400
call fcn.0040a900
mov ecx, dword [0x429080]
mov dword [ecx + 0x34], eax
test bl, 8
je 0x40e46a
mov eax, dword [0x428ea8]
test eax, eax
je 0x40e4dc
mov al, byte [0x427b8b]
test al, al
je 0x40e4dc
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1b
je 0x40e496
mov ecx, eax
call fcn.00411ed0
jmp 0x40e498
xor eax, eax
push 0x4079c0
push 0x426b90
push 0x71
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42908c], eax
call fcn.00408960
mov edx, dword [0x42908c]
push 0x71
mov ecx, 0x428400
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a900
mov ecx, dword [0x42908c]
mov dword [ecx + 0x34], eax
push 0x1b04
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1c
je 0x40e504
mov ecx, eax
call section..text
mov esi, eax
jmp 0x40e506
xor esi, esi
mov dword [0x429098], esi
mov eax, dword [esi + 0x3c]
test eax, eax
mov byte [esp + 0x2068], 0
je 0x40e554
push 0x4013d0
push 0x426b90
push 0x77
push 0x428400
mov ecx, esi
call fcn.00408960
mov ecx, dword [0x429098]
push 0x77
mov edx, dword [ecx + 0x2c]
mov ecx, 0x428400
push edx
call fcn.0040a900
mov ecx, dword [0x429098]
mov dword [ecx + 0x34], eax
jmp 0x40e572
test esi, esi
je 0x40e568
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov dword [0x429098], 0
mov ecx, dword [0x42909c]
test ecx, ecx
jne 0x40e5b4
push 0x29c8
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1d
je 0x40e5a2
mov ecx, eax
call fcn.0040b4d0
jmp 0x40e5a4
xor eax, eax
mov ecx, eax
mov byte [esp + 0x2068], 0
mov dword [0x42909c], ecx
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x40e5f1
push 0x40bbe0
push 0x426b90
push 0x7f
push 0x428400
call fcn.00408960
mov eax, dword [0x42909c]
push 0x7f
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x428400
call fcn.0040a900
mov ecx, dword [0x42909c]
mov dword [ecx + 0x34], eax
jmp 0x40e60f
mov esi, ecx
test esi, esi
je 0x40e605
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov dword [0x42909c], 0
test bl, 0x10
jne 0x40e67d
push 0x3c
call fcn.00414c60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1e
je 0x40e637
mov ecx, eax
call fcn.00411ed0
jmp 0x40e639
xor eax, eax
push 0x40ade0
push 0x426b90
push 0x73
push 0x428400
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429088], eax
call fcn.00408960
mov edx, dword [0x429088]
push 0x73
mov ecx, 0x428400
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a900
mov ecx, dword [0x429088]
mov dword [ecx + 0x34], eax
mov ecx, 0x42905c
call fcn.00404e10
mov ebx, eax
test bl, 0x40
je 0x40e6a5
mov eax, dword [0x429098]
test eax, eax
je 0x40e6a5
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, 0x428400
call fcn.0040a4c0
test bl, 0x80
je 0x40e6c1
mov eax, dword [0x42909c]
test eax, eax
je 0x40e6c1
mov edx, dword [eax + 0x34]
mov ecx, 0x428400
push edx
call fcn.0040a4c0
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x14], eax
mov ecx, 0x428400
call fcn.0040a8e0
mov esi, dword [0x429064]
test esi, esi
je 0x40e6f4
mov ecx, esi
call fcn.00410a90
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429068]
test esi, esi
je 0x40e70e
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x42906c]
test esi, esi
je 0x40e728
mov ecx, esi
call fcn.00402ff0
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429070]
test esi, esi
je 0x40e742
mov ecx, esi
call fcn.00410a90
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429074]
test esi, esi
je 0x40e75c
mov ecx, esi
call fcn.00410a90
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429078]
test esi, esi
je 0x40e776
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x42907c]
test esi, esi
je 0x40e790
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429080]
test esi, esi
je 0x40e7aa
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429084]
test esi, esi
je 0x40e7c4
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429088]
test esi, esi
je 0x40e7de
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x42908c]
test esi, esi
je 0x40e7f8
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429090]
test esi, esi
je 0x40e812
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429094]
test esi, esi
je 0x40e82c
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x429098]
test esi, esi
je 0x40e846
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x42909c]
test esi, esi
je 0x40e860
mov ecx, esi
call fcn.00405500
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x4290a0]
test esi, esi
je 0x40e87a
mov ecx, esi
call fcn.00411e00
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x4290a4]
test esi, esi
je 0x40e894
mov ecx, esi
call fcn.00410a90
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [0x4290a8]
test esi, esi
je 0x40e8ae
mov ecx, esi
call fcn.00410a90
push esi
call fcn.00414c50
add esp, 4
mov esi, dword [esp + 0x44]
test esi, esi
je 0x40e8c4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40e8d3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, 0x42905c
call fcn.00404e10
mov ebx, eax
test bh, 0x30
je 0x40e8f2
and bh, 0xcf
mov ecx, 0x42905c
push ebx
call fcn.00404eb0
mov edx, dword [esp + 0x2070]
lea ecx, [esp + 0x7a8]
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x7a8]
push eax
call fcn.00413b30
add esp, 4
lea ecx, [esp + 0x7a8]
push str.vs60wiz.exe
push ecx
call fcn.00413820
add esp, 8
test eax, eax
je 0x40e949
mov eax, dword [0x4286e8]
test eax, eax
jne 0x40e944
test bl, 0x10
je 0x40e949
call fcn.0040c730
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2068], 0xffffffff
call fcn.0040b0b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2060]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x205c
ret 0x10