Function at 0x4093d0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x416ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x460
push ebx
push ebp
push esi
push edi
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
xor esi, esi
mov edi, str.Win98InfNotAvail_n
or ecx, 0xffffffff
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x24], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
mov dword [esp + 0x490], esi
call fcn.00402510
test al, al
je 0x409454
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.Win98InfNotAvail_n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
xor esi, esi
mov byte [eax + ebx], 0
call fcn.00405060
mov ecx, dword [0x41eb74]
xor eax, eax
lea edi, [esp + 0x28]
push esi
mov edx, dword [ecx]
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov ecx, 0xe
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push esi
lea ecx, [esp + 0x68]
push eax
push ecx
push edx
call fcn.0040f81f
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x50]
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 edx, [esp + 0x88]
and ecx, 3
push 0x38
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xfa
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
mov edi, str.Rundll.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x54]
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 ecx, 0xe
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov edi, str.Inst98.dll_EntryPoint
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x88]
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
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edi, str.noID
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x88]
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
lea edx, [esp + 0x88]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41b930
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 ecx, ebx
mov ebx, dword [esp + 0x484]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
mov edi, 0x41821c
je 0x4095bd
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x88]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x88]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004085b0
add esp, 4
mov esi, eax
test ebx, ebx
je 0x40961b
mov al, byte [ebx - 1]
test al, al
je 0x409611
cmp al, 0xff
je 0x409611
dec al
mov byte [ebx - 1], al
jmp 0x40961b
dec ebx
push ebx
call fcn.0040e98e
add esp, 4
mov ecx, dword [esp + 0x470]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x46c
ret