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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43e78c
push eax
mov dword fs:[0], esp
sub esp, 0x32c
mov ecx, 0x4540c0
push esi
push edi
push 0x1f
call fcn.004011a0
lea eax, [esp + 0x12c]
push 0x104
push eax
push str.UPDD_Folder
push 0
call fcn.00413c6a
mov al, byte [0x454871]
test al, al
je 0x4039b2
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 0x4039b2
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.00433453
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x10]
push edx
call fcn.00416cb2
lea eax, [esp + 0x10]
mov dword [esp + 0x33c], 0
push eax
call fcn.00404f30
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x33c], 0xffffffff
call fcn.00416d10
mov edi, 0x454760
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x454110
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x44a5dc
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.00403f70
mov edi, 0x454760
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x454110
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.00403f70
mov edi, 0x454760
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x454110
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x44a5c4
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.00403f70
lea edx, [esp + 0x58]
mov edi, 0x454760
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x454110
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.00403f70
mov edi, 0x454760
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 0x454110
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.00403f70
mov al, byte [0x454871]
add esp, 0x10
test al, al
je 0x403bef
push str..cat
lea ecx, [esp + 0xc]
call fcn.00416cb2
push 0x454148
lea eax, [esp + 0x24]
push str.c:UPDDMKINFdisk1_
push eax
mov dword [esp + 0x348], 1
call fcn.00416ecd
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.00416f5d
lea ecx, [esp + 0x20]
mov byte [esp + 0x33c], 5
call fcn.00416d10
lea ecx, [esp + 8]
mov byte [esp + 0x33c], 4
call fcn.00416d10
push 0x44a594
lea ecx, [esp + 0x1c]
call fcn.00416d31
push eax
call fcn.00433c01
add esp, 8
test eax, eax
je 0x403bdb
push eax
call fcn.00433b53
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x33c], 0xffffffff
call fcn.00416d10
push ebx
push 0x20
mov ecx, 0x4540c0
call fcn.004011a0
push 0x454110
lea eax, [esp + 0x134]
push str.licence.
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00403f70
add esp, 0x10
mov ecx, 0x4540c0
push 0x21
call fcn.004011a0
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 0x454110
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 0x44a578
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00403f70
add esp, 0x10
mov ecx, 0x4540c0
push 0x22
call fcn.004011a0
mov edi, 0x454760
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 [0x454871]
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 0x403cf2
lea eax, [esp + 0x130]
push 0x104
push eax
call ebx
push 0x454120
lea ecx, [esp + 0x134]
push 0x44a578
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00403f70
add esp, 0x10
mov ecx, 0x4540c0
push 0x23
call fcn.004011a0
mov edi, 0x454760
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 [0x454871]
mov ecx, edx
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
jne 0x403d89
lea eax, [esp + 0x130]
push 0x104
push eax
call ebx
push 0x24
mov ecx, 0x4540c0
call fcn.004011a0
mov al, byte [0x454871]
test al, al
jne 0x403e07
call fcn.00418537
test eax, eax
jne 0x403dd6
mov edi, 0x44a564
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 0x454130
lea eax, [esp + 0x134]
push 0x44a578
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00403f70
add esp, 0x10
mov ecx, 0x4540c0
push 0x25
call fcn.004011a0
mov edi, 0x454760
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 [0x454871]
mov ecx, ebx
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
jne 0x403ea2
lea eax, [esp + 0x130]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x454100
lea ecx, [esp + 0x134]
push 0x44a578
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00403f70
add esp, 0x10
mov ecx, 0x4540c0
push 0x26
call fcn.004011a0
lea eax, [esp + 0x234]
push 0x104
push eax
push str.UPDD_Folder
push 0
call fcn.00413c6a
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 0x44a540
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.00433c01
mov esi, eax
push esi
push str.REGHKEY_LOCAL_MACHINE_SYSTEMSystemCurrentControlSetServices_vxd_vpend
call fcn.00433b05
push esi
push 0x44a4f0
call fcn.00433b05
push esi
call fcn.00433b53
mov ecx, dword [esp + 0x354]
add esp, 0x1c
mov dword fs:[0], ecx
pop ebx
pop edi
pop esi
add esp, 0x338
ret