Function at 0x40aceb
Capabilities:
Set current directory

Disassembly:
mov eax, 0x414964
call fcn.00413ff0
sub esp, 0x11c
push ebx
push esi
push edi
mov edi, 0x425178
mov ecx, edi
call fcn.0040cf42
push dword [0x425530]
call fcn.0040c93a
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
push dword [0x425530]
call fcn.00407df0
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
push dword [0x425530]
call fcn.00407f29
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
push dword [0x425530]
call fcn.0040707d
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
push dword [0x425530]
call fcn.00406bb6
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
push dword [0x425530]
call fcn.00407357
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
push dword [0x425530]
call fcn.004075d1
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
push dword [0x425530]
call fcn.004078cc
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
push dword [0x425530]
call fcn.00407a46
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
push dword [0x425530]
call fcn.00407c30
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
mov ebx, 0x425318
push ebx
push dword [0x425530]
call fcn.0040cb37
pop ecx
test eax, eax
pop ecx
je 0x40afc5
call fcn.0040a9a9
mov esi, eax
test esi, esi
jne 0x40afc5
mov eax, dword [0x425530]
add eax, 0xe0
cmp dword [eax], esi
je 0x40af0c
lea ecx, [ebp - 0x128]
push ecx
push dword [eax]
push ebx
call fcn.00402c1d
add esp, 0xc
lea eax, [ebp - 0x128]
mov ecx, edi
push eax
call fcn.0040cef6
test eax, eax
mov dword [0x42031c], eax
jne 0x40afc5
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.InUsePluginDataArr
call fcn.0040d12a
mov eax, dword [0x425530]
push dword [eax + 0x130]
call fcn.0040143b
add esp, 0x14
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40aedc
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x40ae8a
mov esi, dword [eax + 0x18]
sub esi, ecx
sar esi, 4
push esi
mov ecx, edi
call fcn.0040d005
lea ecx, [ebp - 0x24]
call fcn.0040d10b
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
test esi, esi
jle 0x40aed0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call fcn.00401249
lea ecx, [ebp - 0x24]
call fcn.0040d40f
push eax
mov ecx, edi
push dword [ebp - 0x10]
call fcn.0040d09f
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x40aea6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004015e5
mov eax, dword [0x42030c]
mov ecx, edi
mov dword [0x425180], eax
call fcn.0040cf4a
test eax, eax
mov dword [0x42031c], eax
je 0x40af0c
xor ecx, ecx
cmp eax, 4
setne cl
dec ecx
and ecx, 0xffffffce
add ecx, 0x3c
mov esi, ecx
jmp 0x40afc5
call fcn.0040aab0
mov esi, eax
test esi, esi
jne 0x40afc5
push eax
call fcn.0040abc2
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
call edi
push dword [0x425530]
call fcn.0040ce32
mov esi, eax
pop ecx
test esi, esi
jne 0x40afc5
mov eax, dword [0x425530]
mov ecx, dword [eax + 0x90]
cmp ecx, esi
je 0x40af61
push ecx
push ebx
call fcn.0040c03e
pop ecx
pop ecx
jmp 0x40afbe
mov ecx, dword [eax + 0x94]
cmp ecx, esi
je 0x40af72
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIexplore.exe
jmp 0x40af81
mov ecx, dword [eax + 0x98]
cmp ecx, esi
je 0x40af85
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsNetscape.exe
push ecx
push ebx
jmp 0x40afb6
mov ecx, dword [eax + 0x9c]
cmp ecx, esi
je 0x40af93
push ecx
push esi
jmp 0x40af58
mov ecx, dword [eax + 0xa0]
cmp ecx, esi
je 0x40afa5
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIexplore.exe
push ecx
jmp 0x40afb5
mov eax, dword [eax + 0xa4]
cmp eax, esi
je 0x40afbe
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsNetscape.exe
push eax
push esi
call fcn.0040c0af
add esp, 0xc
push 0x425420
call edi
mov eax, dword [0x42030c]
test eax, eax
je 0x40afdd
push 0
push esi
push 0x41f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4