Function at 0x403340
Capabilities:
Check if file exists
Get common file path
Get file attributes
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42340c
push eax
mov dword fs:[0], esp
sub esp, 0x32c
mov ecx, 0x432418
push esi
push edi
push 0x1f
call fcn.00401160
lea eax, [esp + 0x12c]
push 0x104
push eax
push str.UPDD_Folder
push 0
call fcn.00410fa4
mov al, byte [0x432bc9]
test al, al
je 0x4033e2
mov edi, str.c:UPDDMKINF
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x12c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4033e2
push 0
push str.MKINF
push str.The_directory_c:upddmkinf_already_exists
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 4
call fcn.00419f80
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x10]
push edx
call fcn.00413e2e
lea eax, [esp + 0x10]
mov dword [esp + 0x33c], 0
push eax
call fcn.00404aa0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x33c], 0xffffffff
call fcn.00413e8c
mov edi, 0x432ab8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x432468
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x42a4d4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
push ecx
push edx
call fcn.004039a0
mov edi, 0x432ab8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x432468
mov eax, ecx
mov esi, edi
mov edi, edx
push str.INST16.exe
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x40]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x144]
push ecx
push edx
call fcn.004039a0
mov edi, 0x432ab8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x432468
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x42a4bc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x50]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x154]
push ecx
push edx
call fcn.004039a0
lea edx, [esp + 0x58]
mov edi, 0x432ab8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x432468
mov eax, ecx
mov esi, edi
mov edi, edx
push str..utl
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x60]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x164]
push ecx
push edx
call fcn.004039a0
mov edi, 0x432ab8
or ecx, 0xffffffff
xor eax, eax
add esp, 0x40
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x28]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x432468
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str..umd
and ecx, 3
lea edx, [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
push ecx
push edx
call fcn.004039a0
mov al, byte [0x432bc9]
add esp, 0x10
test al, al
je 0x40361f
push str..cat
lea ecx, [esp + 0xc]
call fcn.00413e2e
push 0x4324a0
lea eax, [esp + 0x24]
push str.c:UPDDMKINFdisk1_
push eax
mov dword [esp + 0x348], 1
call fcn.00414049
add esp, 0xc
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x344], 2
call fcn.004140d9
lea ecx, [esp + 0x20]
mov byte [esp + 0x33c], 5
call fcn.00413e8c
lea ecx, [esp + 8]
mov byte [esp + 0x33c], 4
call fcn.00413e8c
push 0x42a48c
lea ecx, [esp + 0x1c]
call fcn.00413ead
push eax
call fcn.0041a731
add esp, 8
test eax, eax
je 0x40360b
push eax
call fcn.0041a683
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x33c], 0xffffffff
call fcn.00413e8c
push ebx
push 0x20
mov ecx, 0x432418
call fcn.00401160
push 0x432468
lea eax, [esp + 0x134]
push str.licence.
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.004039a0
add esp, 0x10
mov ecx, 0x432418
push 0x21
call fcn.00401160
mov edi, str.MAINDIR
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x432468
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x134]
and ecx, 3
push 0x42a470
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.004039a0
add esp, 0x10
mov ecx, 0x432418
push 0x22
call fcn.00401160
mov edi, 0x432ab8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.SYSDIR
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x432bc9]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test al, al
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jne 0x403722
lea eax, [esp + 0x130]
push 0x104
push eax
call ebx
push 0x432478
lea ecx, [esp + 0x134]
push 0x42a470
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004039a0
add esp, 0x10
mov ecx, 0x432418
push 0x23
call fcn.00401160
mov edi, 0x432ab8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.DRV32_
or ecx, 0xffffffff
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 al, byte [0x432bc9]
mov ecx, edx
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
jne 0x4037b9
lea eax, [esp + 0x130]
push 0x104
push eax
call ebx
push 0x24
mov ecx, 0x432418
call fcn.00401160
mov al, byte [0x432bc9]
test al, al
jne 0x403837
call fcn.00415668
test eax, eax
jne 0x403806
mov edi, 0x42a45c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x130]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.drivers
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x130]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x432488
lea eax, [esp + 0x134]
push 0x42a470
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.004039a0
add esp, 0x10
mov ecx, 0x432418
push 0x25
call fcn.00401160
mov edi, 0x432ab8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.WINDIR
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x432bc9]
mov ecx, ebx
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
jne 0x4038d2
lea eax, [esp + 0x130]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x432458
lea ecx, [esp + 0x134]
push 0x42a470
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004039a0
add esp, 0x10
mov ecx, 0x432418
push 0x26
call fcn.00401160
lea eax, [esp + 0x234]
push 0x104
push eax
push str.UPDD_Folder
push 0
call fcn.00410fa4
mov edi, str.uninst.dat
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x234]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x42a438
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x238]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0041a731
mov esi, eax
push esi
push str.REGHKEY_LOCAL_MACHINE_SYSTEMSystemCurrentControlSetServices_vxd_vpend
call fcn.0041a635
push esi
push 0x42a3e8
call fcn.0041a635
push esi
call fcn.0041a683
mov ecx, dword [esp + 0x354]
add esp, 0x1c
mov dword fs:[0], ecx
pop ebx
pop edi
pop esi
add esp, 0x338
ret