Function at 0x40d520
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 0x41e714
push eax
mov eax, 0x2050
mov dword fs:[0], esp
call fcn.004152f0
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.0040b0f0
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.0040ed80
mov eax, dword [esp + 0x38]
add esp, 8
mov ecx, eax
and ecx, 0x3ff
push eax
mov word [0x429004], cx
mov ecx, 0x4284f0
call fcn.00409880
mov ecx, 0x427028
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 0x40d7a8
mov eax, dword [0x427134]
xor edi, edi
cmp eax, edi
je 0x40d621
mov ecx, 0x42914c
call fcn.00404e10
test al, 4
jne 0x40d7a8
push str.VS98_Setup_Wizard
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push edi
lea ecx, [esp + 0x28]
call fcn.0040b2c0
lea ecx, [esp + 0x1c]
call fcn.0040b390
push str.ACME_REBOOT
push str.SoftwareMicrosoftVisualStudio6.0Setup_
push edi
lea ecx, [esp + 0x28]
call fcn.0040b2c0
mov ecx, 0x427348
call fcn.004056b0
cmp dword [0x428f9c], edi
je 0x40d66d
push edi
call fcn.004151b0
add esp, 4
push esi
push ebx
push ebp
call fcn.0040cbb0
add esp, 0xc
test eax, eax
jne 0x40d7a8
cmp dword [0x427130], edi
je 0x40d71d
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, 0x427028
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.00413640
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 0x40d7a8
mov ecx, 0x429118
call fcn.00405f40
cmp dword [0x429118], edi
je 0x40d777
cmp dword [0x429120], 3
jne 0x40d777
cmp dword [0x429124], 0x33
jne 0x40d777
lea eax, [esp + 0x8ac]
push 0x800
push eax
push 0x469
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [0x422c78]
lea edx, [esp + 0x8ac]
push ecx
push 0x4285d4
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40d7a8
call fcn.0040c980
test eax, eax
je 0x40d7a8
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.00412270
add esp, 4
test eax, eax
jne 0x40d7c3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2068], 0xffffffff
call fcn.0040b100
xor eax, eax
jmp 0x40ed28
call fcn.0040d400
mov dword [esp + 0x3c], eax
mov eax, dword [0x429118]
cmp eax, edi
jne 0x40d7de
call fcn.0040d1d0
mov dword [esp + 0x2c], eax
mov ecx, 0x42914c
call fcn.00404e10
mov ecx, eax
mov dword [esp + 0x18], eax
and ecx, 4
mov dword [esp + 0x20], ecx
jne 0x40d801
mov dword [0x428fa8], 0x3e8000
mov ecx, dword [0x4284e8]
cmp ecx, edi
je 0x40d81a
test ah, 8
jne 0x40d81a
add dword [0x428fa8], 0x1f4000
cmp dword [0x429118], edi
je 0x40d82b
cmp dword [0x429120], 5
je 0x40d84b
mov al, byte [0x427962]
test al, al
je 0x40d84b
cmp dword [0x42911c], edi
jne 0x40d84b
push 0x427656
call fcn.00412dc0
add esp, 4
jmp 0x40d850
mov eax, 1
cmp eax, edi
mov dword [esp + 0x28], eax
jne 0x40d862
add dword [0x428fa8], 0x27ac40
push 0x426c80
push ebp
push edi
mov ecx, 0x4284f0
call fcn.0040a870
mov eax, dword [0x42912c]
cmp eax, edi
je 0x40d8eb
lea edx, [esp + 0x2a4]
push 0x200
push edx
push 0x13
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x422c78]
lea ecx, [esp + 0x2a4]
push eax
push 0x4285d4
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [0x4287d8], 1
mov dword [esp + 0x24], edi
call fcn.0040b0f0
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 1
call fcn.0040b3b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b100
jmp 0x40ec9a
cmp dword [0x429130], edi
jne 0x40d962
lea edx, [esp + 0x2a4]
push 0x200
push edx
push 0x22
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x422c78]
lea ecx, [esp + 0x2a4]
push eax
push 0x4285d4
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [0x4287d8], 1
mov dword [esp + 0x24], edi
call fcn.0040b0f0
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 2
call fcn.0040b3b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b100
jmp 0x40ec9a
mov eax, dword [0x42911c]
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, edi
jne 0x40d9d7
cmp dword [0x429118], edi
jne 0x40d9d7
cmp dword [esp + 0x20], edi
jne 0x40d9d7
test byte [esp + 0x18], 0x10
jne 0x40d9d7
cmp dword [0x429144], edi
je 0x40d9d7
mov eax, dword [0x42852c]
lea edx, [esp + 0x2a4]
push 0x200
push edx
push 0x462
push eax
call ebx
mov eax, dword [0x422c78]
lea ecx, [esp + 0x2a4]
or eax, 0x104
push eax
push 0x4285d4
push ecx
push edi
call esi
cmp eax, 7
jne 0x40d9d7
push edi
call fcn.004151b0
add esp, 4
mov eax, dword [0x429128]
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x40d9ee
add dword [0x428fa8], 0x186a0
mov ecx, 0x429118
call fcn.004062e0
mov eax, dword [0x429140]
cmp eax, edi
je 0x40db79
mov eax, dword [esp + 0x18]
test ah, 4
jne 0x40db79
mov ecx, 0x42914c
call fcn.00404e10
mov edi, eax
test edi, 0x200
je 0x40da5c
mov eax, dword [0x42852c]
lea edx, [esp + 0x2a4]
push 0x400
push edx
push 0x463
push eax
call ebx
mov eax, dword [0x422c78]
lea ecx, [esp + 0x2a4]
push eax
push 0x4285d4
push ecx
push 0
call esi
jmp 0x40ec9a
lea edx, [esp + 0x2a4]
push 0x400
push edx
push 0x45f
push ebp
call ebx
mov ecx, dword [0x428fa8]
mov eax, 0x431bde83
mul ecx
shr edx, 0x12
lea eax, [esp + 0x2a4]
push edx
lea ecx, [esp + 0x10b0]
push eax
push ecx
call fcn.00413640
mov edx, dword [0x422c78]
add esp, 0xc
or edx, 4
lea eax, [esp + 0x10ac]
push edx
push 0x4285d4
push eax
push 0
call esi
cmp eax, 7
jne 0x40dada
or edi, 0x400
mov ecx, 0x42914c
push edi
mov dword [0x428fa4], 0
call fcn.00404eb0
jmp 0x40db79
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40db79
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40db79
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40db79
lea ecx, [esp + 0x2a4]
push 0x400
push ecx
push 0x464
push ebp
call ebx
mov edx, dword [0x422c78]
lea eax, [esp + 0x2a4]
or edx, 4
push edx
push 0x4285d4
push eax
push 0
call esi
cmp eax, 6
jne 0x40db48
mov ecx, 0x42914c
call fcn.00404fc0
mov ecx, 0x4284f0
call fcn.0040aa10
jmp 0x40ec9a
lea ecx, [esp + 0x18]
call fcn.0040b0f0
mov eax, dword [0x428fa8]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x206c], 3
call fcn.0040b4c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2068], 0
call fcn.0040b100
push 0x7d
push ebp
call dword [sym.imp.USER32.dll_LoadIconA]
mov eax, dword [0x42712c]
test eax, eax
je 0x40dbb8
lea ecx, [esp + 0x18]
call fcn.0040b0f0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x206c], 4
call fcn.0040b3b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2068], 0
call fcn.0040b100
mov ecx, 0x42914c
call fcn.00404c60
mov ecx, 0x42914c
mov dword [esp + 0x34], eax
call fcn.00404e10
mov ecx, 0x42914c
mov dword [esp + 0x18], eax
call fcn.00404d70
mov dword [esp + 0x40], eax
call fcn.0040cfc0
mov bp, ax
and ebp, 0xffff
jne 0x40dc01
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov bp, ax
and ebp, 0xffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40dc92
mov ecx, dword [esp + 0x30]
xor ecx, ebp
test ecx, 0x3ff
je 0x40dc92
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 0x4286d8
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov dword [0x4287d8], 1
mov dword [esp + 0x24], 0
call fcn.0040b0f0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 5
call fcn.0040b3b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b100
jmp 0x40ec9a
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40de65
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.0040ed80
mov edx, dword [esp + 0x38]
add esp, 8
test eax, eax
jne 0x40ddb7
xor edx, ebp
test edx, 0x3ff
je 0x40de65
mov ecx, dword [esp + 0x2070]
lea eax, [esp + 0x8ac]
push 0x800
push eax
push 0x452
push ecx
call ebx
push 0x427d8c
lea edx, [esp + 0x8b0]
push 0x427d8c
lea eax, [esp + 0x1868]
push edx
push eax
call fcn.00413640
add esp, 0x10
lea ecx, [esp + 0x1860]
push 0x34
push 0x4286d8
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x40de65
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [0x4287d8], 1
call fcn.0040b0f0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 6
call fcn.0040b3b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b100
jmp 0x40ec9a
xor edx, dword [esp + 0x38]
test edx, 0x3ff
je 0x40de65
mov ecx, dword [esp + 0x2070]
lea eax, [esp + 0x8ac]
push 0x800
push eax
push 0x453
push ecx
call ebx
push 0x427d8c
lea edx, [esp + 0x8b0]
push 0x427d8c
lea eax, [esp + 0x1868]
push edx
push eax
call fcn.00413640
add esp, 0x10
lea ecx, [esp + 0x1860]
push 0x34
push 0x4286d8
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x40de65
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [0x4287d8], 1
call fcn.0040b0f0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x206c], 7
call fcn.0040b3b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2068], 0
call fcn.0040b100
jmp 0x40ec9a
mov ebx, dword [esp + 0x18]
mov dword [0x428f98], 0
test bl, 1
jne 0x40dfc2
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 8
je 0x40de9f
mov ecx, eax
call fcn.00410e60
jmp 0x40dea1
xor eax, eax
push 0x412530
push 0x426c80
push 0x65
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429154], eax
call fcn.004089b0
mov edx, dword [0x429154]
push 0x65
mov ecx, 0x4284f0
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a950
mov ecx, dword [0x429154]
push 0x44
mov dword [ecx + 0x34], eax
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 9
je 0x40df08
mov ecx, eax
call fcn.00402fd0
jmp 0x40df0a
xor eax, eax
push 0x403020
push 0x426c80
push 0x68
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42915c], eax
call fcn.004089b0
mov ecx, dword [0x42915c]
push 0x68
mov edx, dword [ecx + 0x2c]
mov ecx, 0x4284f0
push edx
call fcn.0040a950
mov ecx, dword [0x42915c]
push 0xe8
mov dword [ecx + 0x34], eax
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xa
je 0x40df74
mov ecx, eax
call fcn.0040f9d0
jmp 0x40df76
xor eax, eax
push 0x4100f0
push 0x426c80
push 0x69
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429160], eax
call fcn.004089b0
mov eax, dword [0x429160]
push 0x69
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x4284f0
call fcn.0040a950
mov ecx, dword [0x429160]
mov ebp, dword [esp + 0x34]
mov dword [ecx + 0x34], eax
jmp 0x40e043
mov ebp, dword [esp + 0x34]
cmp ebp, 4
je 0x40e043
test bl, 0x10
je 0x40e043
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xb
je 0x40dff3
mov ecx, eax
call fcn.00410e60
jmp 0x40dff5
xor eax, eax
push 0x412830
push 0x426c80
push 0x74
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429158], eax
call fcn.004089b0
mov edx, dword [0x429158]
push 0x74
mov ecx, 0x4284f0
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a950
mov ecx, dword [0x429158]
mov dword [ecx + 0x34], eax
mov dword [0x428f98], 1
mov eax, dword [0x429118]
test eax, eax
je 0x40e14c
cmp dword [0x429120], 3
jne 0x40e14c
cmp dword [0x429124], 0x33
jne 0x40e14c
push 0x29c8
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xc
je 0x40e090
mov ecx, eax
call fcn.0040b520
jmp 0x40e092
xor eax, eax
push 0x40bc30
push 0x426c80
push 0x7f
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42918c], eax
call fcn.004089b0
mov ecx, dword [0x42918c]
push 0x7f
mov edx, dword [ecx + 0x2c]
mov ecx, 0x4284f0
push edx
call fcn.0040a950
mov ecx, dword [0x42918c]
test bl, 0x10
mov dword [ecx + 0x34], eax
jne 0x40ea97
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xd
je 0x40e102
mov ecx, eax
call fcn.00410e60
jmp 0x40e104
xor eax, eax
push 0x40ae30
push 0x426c80
push 0x73
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429178], eax
call fcn.004089b0
mov eax, dword [0x429178]
push 0x73
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x4284f0
call fcn.0040a950
mov ecx, dword [0x429178]
mov dword [ecx + 0x34], eax
jmp 0x40ea97
mov edi, dword [esp + 0x20]
test edi, edi
je 0x40e1bf
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xe
je 0x40e177
mov ecx, eax
call fcn.00410e60
jmp 0x40e179
xor eax, eax
push 0x407fd0
push 0x426c80
push 0x70
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429174], eax
call fcn.004089b0
mov edx, dword [0x429174]
push 0x70
mov ecx, 0x4284f0
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a950
mov ecx, dword [0x429174]
mov dword [ecx + 0x34], eax
jmp 0x40e1cb
push 2
mov ecx, 0x42914c
call fcn.00404d00
mov esi, dword [esp + 0x40]
cmp esi, 4
je 0x40e1dc
test edi, edi
je 0x40e25d
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0xf
je 0x40e1ff
mov ecx, eax
call fcn.00410e60
jmp 0x40e201
xor eax, eax
push 0x404890
push 0x426c80
push 0x6d
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429168], eax
call fcn.004089b0
mov ecx, dword [0x429168]
push 0x6d
mov edx, dword [ecx + 0x2c]
mov ecx, 0x4284f0
push edx
call fcn.0040a950
mov ecx, dword [0x429168]
cmp esi, 4
mov dword [ecx + 0x34], eax
jne 0x40e25d
mov eax, dword [0x429168]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, 0x4284f0
call fcn.0040a510
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x40e2df
mov ecx, 0x42914c
call fcn.00404d70
cmp eax, 3
je 0x40e2df
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x10
je 0x40e297
mov ecx, eax
call fcn.00410e60
jmp 0x40e299
xor eax, eax
push 0x404350
push 0x426c80
push 0x6c
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429164], eax
call fcn.004089b0
mov edx, dword [0x429164]
push 0x6c
mov ecx, 0x4284f0
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a950
mov ecx, dword [0x429164]
mov dword [ecx + 0x34], eax
jmp 0x40e2fa
mov ecx, 0x42914c
call fcn.00404c60
cmp eax, 4
je 0x40e2fa
push 2
mov ecx, 0x42914c
call fcn.00404bf0
cmp ebp, 4
je 0x40e307
test esi, esi
jne 0x40e38c
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x11
je 0x40e32a
mov ecx, eax
call fcn.00410e60
jmp 0x40e32c
xor eax, eax
push 0x404890
push 0x426c80
push 0x6d
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429168], eax
call fcn.004089b0
mov ecx, dword [0x429168]
push 0x6d
mov edx, dword [ecx + 0x2c]
mov ecx, 0x4284f0
push edx
call fcn.0040a950
mov ecx, dword [0x429168]
cmp ebp, 4
mov dword [ecx + 0x34], eax
jne 0x40e388
mov eax, dword [0x429168]
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, 0x4284f0
call fcn.0040a510
test esi, esi
je 0x40e403
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40e403
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x12
je 0x40e3b7
mov ecx, eax
call fcn.00410e60
jmp 0x40e3b9
xor eax, eax
push 0x410ad0
push 0x426c80
push 0x92
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429194], eax
call fcn.004089b0
mov edx, dword [0x429194]
push 0x92
mov ecx, 0x4284f0
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a950
mov ecx, dword [0x429194]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40e483
mov al, byte [0x4283e4]
test al, al
je 0x40e483
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x13
je 0x40e437
mov ecx, eax
call fcn.00410e60
jmp 0x40e439
xor eax, eax
push 0x410e80
push 0x426c80
push 0x95
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429198], eax
call fcn.004089b0
mov ecx, dword [0x429198]
push 0x95
mov edx, dword [ecx + 0x2c]
mov ecx, 0x4284f0
push edx
call fcn.0040a950
mov ecx, dword [0x429198]
mov dword [ecx + 0x34], eax
test bl, 2
jne 0x40e532
lea eax, [esp + 0x10ac]
mov ecx, 0x4284f0
push eax
call fcn.0040ed50
mov ecx, eax
mov byte [esp + 0x2068], 0x14
call fcn.004116c0
lea ecx, [esp + 0x10ac]
mov esi, eax
mov byte [esp + 0x2068], 0
call fcn.00411380
test esi, esi
je 0x40e532
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x15
je 0x40e4ea
mov ecx, eax
call fcn.00410e60
jmp 0x40e4ec
xor eax, eax
push 0x40f140
push 0x426c80
push 0x6e
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42916c], eax
call fcn.004089b0
mov ecx, dword [0x42916c]
push 0x6e
mov edx, dword [ecx + 0x2c]
mov ecx, 0x4284f0
push edx
call fcn.0040a950
mov ecx, dword [0x42916c]
mov dword [ecx + 0x34], eax
jmp 0x40e544
or ebx, 2
mov ecx, 0x42914c
push ebx
mov dword [esp + 0x1c], ebx
call fcn.00404eb0
mov eax, ebx
and eax, 4
mov dword [esp + 0x20], eax
jne 0x40e7a9
mov al, byte [0x427138]
test al, al
jne 0x40e604
push 0x29c8
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x16
je 0x40e586
mov ecx, eax
call fcn.0040b520
jmp 0x40e588
xor eax, eax
mov dword [0x42918c], eax
mov ecx, dword [eax + 0x40]
test ecx, ecx
mov byte [esp + 0x2068], 0
je 0x40e604
push 0x40
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x17
je 0x40e5bf
mov ecx, eax
call fcn.00402cb0
jmp 0x40e5c1
xor eax, eax
push 0x402cd0
push 0x426c80
push 0x75
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429180], eax
call fcn.004089b0
mov eax, dword [0x429180]
push 0x75
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x4284f0
call fcn.0040a950
mov ecx, dword [0x429180]
mov dword [ecx + 0x34], eax
lea ecx, [esp + 0x2c]
call fcn.0040b0f0
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.0040b110
test eax, eax
je 0x40e727
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 0x40e6a2
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, 0x422db4
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 0x40e727
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x2a4]
push edx
push esi
call edi
test eax, eax
je 0x40e727
mov bl, 0x2e
cmp byte [esp + 0x2d0], bl
jne 0x40e721
lea eax, [esp + 0x2a4]
push eax
push esi
call edi
test eax, eax
jne 0x40e707
jmp 0x40e723
xor ebp, ebp
mov ebx, dword [esp + 0x18]
test ebp, ebp
je 0x40e794
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x19
je 0x40e74e
mov ecx, eax
call fcn.00410e60
jmp 0x40e750
xor eax, eax
push 0x4073f0
push 0x426c80
push 0x79
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0x18
mov dword [0x429184], eax
call fcn.004089b0
mov ecx, dword [0x429184]
push 0x79
mov edx, dword [ecx + 0x2c]
mov ecx, 0x4284f0
push edx
call fcn.0040a950
mov ecx, dword [0x429184]
mov dword [ecx + 0x34], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2068], 0
call fcn.0040b100
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40e815
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1a
je 0x40e7d0
mov ecx, eax
call fcn.00410e60
jmp 0x40e7d2
xor eax, eax
push 0x406330
push 0x426c80
push 0x6f
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429170], eax
call fcn.004089b0
mov eax, dword [0x429170]
push 0x6f
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x4284f0
call fcn.0040a950
mov ecx, dword [0x429170]
mov dword [ecx + 0x34], eax
test bl, 8
je 0x40e823
mov eax, dword [0x428f98]
test eax, eax
je 0x40e895
mov al, byte [0x427c7b]
test al, al
je 0x40e895
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1b
je 0x40e84f
mov ecx, eax
call fcn.00410e60
jmp 0x40e851
xor eax, eax
push 0x407a00
push 0x426c80
push 0x71
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x42917c], eax
call fcn.004089b0
mov edx, dword [0x42917c]
push 0x71
mov ecx, 0x4284f0
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a950
mov ecx, dword [0x42917c]
mov dword [ecx + 0x34], eax
push 0x1b04
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1c
je 0x40e8bd
mov ecx, eax
call section..text
mov esi, eax
jmp 0x40e8bf
xor esi, esi
mov dword [0x429188], esi
mov eax, dword [esi + 0x3c]
test eax, eax
mov byte [esp + 0x2068], 0
je 0x40e90d
push 0x4013d0
push 0x426c80
push 0x77
push 0x4284f0
mov ecx, esi
call fcn.004089b0
mov ecx, dword [0x429188]
push 0x77
mov edx, dword [ecx + 0x2c]
mov ecx, 0x4284f0
push edx
call fcn.0040a950
mov ecx, dword [0x429188]
mov dword [ecx + 0x34], eax
jmp 0x40e92b
test esi, esi
je 0x40e921
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov dword [0x429188], 0
mov ecx, dword [0x42918c]
test ecx, ecx
jne 0x40e96d
push 0x29c8
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1d
je 0x40e95b
mov ecx, eax
call fcn.0040b520
jmp 0x40e95d
xor eax, eax
mov ecx, eax
mov byte [esp + 0x2068], 0
mov dword [0x42918c], ecx
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x40e9aa
push 0x40bc30
push 0x426c80
push 0x7f
push 0x4284f0
call fcn.004089b0
mov eax, dword [0x42918c]
push 0x7f
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, 0x4284f0
call fcn.0040a950
mov ecx, dword [0x42918c]
mov dword [ecx + 0x34], eax
jmp 0x40e9c8
mov esi, ecx
test esi, esi
je 0x40e9be
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov dword [0x42918c], 0
test bl, 0x10
jne 0x40ea36
push 0x3c
call fcn.00415170
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x2068], 0x1e
je 0x40e9f0
mov ecx, eax
call fcn.00410e60
jmp 0x40e9f2
xor eax, eax
push 0x40ae30
push 0x426c80
push 0x73
push 0x4284f0
mov ecx, eax
mov byte [esp + 0x2078], 0
mov dword [0x429178], eax
call fcn.004089b0
mov edx, dword [0x429178]
push 0x73
mov ecx, 0x4284f0
mov eax, dword [edx + 0x2c]
push eax
call fcn.0040a950
mov ecx, dword [0x429178]
mov dword [ecx + 0x34], eax
mov ecx, 0x42914c
call fcn.00404e10
mov ebx, eax
test bl, 0x40
je 0x40ea5e
mov eax, dword [0x429188]
test eax, eax
je 0x40ea5e
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, 0x4284f0
call fcn.0040a510
test bl, 0x80
je 0x40ea7a
mov eax, dword [0x42918c]
test eax, eax
je 0x40ea7a
mov edx, dword [eax + 0x34]
mov ecx, 0x4284f0
push edx
call fcn.0040a510
mov eax, dword [0x428f98]
test eax, eax
jne 0x40ea88
call fcn.0040d2d0
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x14], eax
mov ecx, 0x4284f0
call fcn.0040a930
mov esi, dword [0x429154]
test esi, esi
je 0x40eabb
mov ecx, esi
call fcn.00410e70
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429158]
test esi, esi
je 0x40ead5
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x42915c]
test esi, esi
je 0x40eaef
mov ecx, esi
call fcn.00402ff0
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429160]
test esi, esi
je 0x40eb09
mov ecx, esi
call fcn.00410e70
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429164]
test esi, esi
je 0x40eb23
mov ecx, esi
call fcn.00410e70
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429168]
test esi, esi
je 0x40eb3d
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x42916c]
test esi, esi
je 0x40eb57
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429170]
test esi, esi
je 0x40eb71
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429174]
test esi, esi
je 0x40eb8b
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429178]
test esi, esi
je 0x40eba5
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x42917c]
test esi, esi
je 0x40ebbf
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429180]
test esi, esi
je 0x40ebd9
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429184]
test esi, esi
je 0x40ebf3
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429188]
test esi, esi
je 0x40ec0d
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x42918c]
test esi, esi
je 0x40ec27
mov ecx, esi
call fcn.00408960
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429190]
test esi, esi
je 0x40ec41
mov ecx, esi
call fcn.00412320
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429194]
test esi, esi
je 0x40ec5b
mov ecx, esi
call fcn.00410e70
push esi
call fcn.00415160
add esp, 4
mov esi, dword [0x429198]
test esi, esi
je 0x40ec75
mov ecx, esi
call fcn.00410e70
push esi
call fcn.00415160
add esp, 4
mov esi, dword [esp + 0x44]
test esi, esi
je 0x40ec8b
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 0x40ec9a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, 0x42914c
call fcn.00404e10
mov ebx, eax
test bh, 0x30
je 0x40ecb9
and bh, 0xcf
mov ecx, 0x42914c
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.00414040
add esp, 4
lea ecx, [esp + 0x7a8]
push str.vs60wiz.exe
push ecx
call fcn.00413d30
add esp, 8
test eax, eax
je 0x40ed10
mov eax, dword [0x4287d8]
test eax, eax
jne 0x40ed0b
test bl, 0x10
je 0x40ed10
call fcn.0040c780
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2068], 0xffffffff
call fcn.0040b100
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