Function at 0x42eec0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ccdcd
push eax
mov dword fs:[0], esp
sub esp, 0x54
cmp dword [0x4fc368], 0
push ebx
push esi
mov esi, ecx
push edi
mov byte [esi + 0x254], 1
mov word [esi + 0xaf8], 0
jne 0x42ef0b
call fcn.004ad2a0
mov dword [0x4fc368], eax
test eax, eax
je 0x42f209
mov ecx, dword [0x4fc364]
cmp dword [ecx + 8], 0x14
jae 0x42ef2d
call fcn.004ad2a0
mov ecx, dword [0x4fc364]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x42f209
mov edx, dword [ecx + 4]
add dword [ecx + 8], 0xffffffec
mov dword [0x4fc360], edx
lea eax, [edx + 0x14]
mov dword [ecx + 4], eax
test edx, edx
je 0x42f209
mov dword [edx], vtable.Label.0
lea ecx, [ebp - 0x60]
mov dword [edx + 4], 0x4cec30
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [esi + 0x650], edx
call fcn.0042d1f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
push dword [ebp + 0xc]
mov ecx, esi
push 0
push 1
push dword [ebp + 8]
push eax
call fcn.0042f5d0
mov edi, eax
cmp edi, 3
jne 0x42efa8
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.0042fc00
mov edi, eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0042d280
cmp edi, 1
jne 0x42f213
push 0
push 0
push 0
push 0x68
mov ecx, esi
call fcn.00436750
test eax, eax
je 0x42f213
push dword [esi + 0x610]
mov ecx, esi
call fcn.004407a0
test eax, eax
je 0x42f213
push dword [esi + 0x610]
mov ecx, esi
call fcn.004408b0
cmp dword [esi + 0x618], 0
je 0x42f02c
mov ecx, dword [esi + 0x61c]
mov eax, dword [esi + 0x610]
mov dword [ecx + 0x14], eax
mov ecx, dword [esi + 0x610]
mov eax, dword [esi + 0x61c]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x618]
mov dword [esi + 0x610], eax
xor ebx, ebx
cmp dword [esi + 0x62c], ebx
jle 0x42f0a4
nop word [eax + eax]
mov eax, dword [esi + 0x628]
mov edi, dword [eax + ebx*4]
cmp byte [edi + 0x51], 0
jne 0x42f09b
test byte [edi + 0x50], 4
jne 0x42f09b
cmp byte [edi + 0x53], 0
jne 0x42f09b
lea eax, [edi + 0x34]
mov byte [edi + 0x53], 1
push eax
push dword [edi + 0x20]
mov ecx, esi
push edi
call fcn.0044e6d0
lea eax, [edi + 0x40]
mov ecx, esi
push eax
push dword [edi + 0x28]
push edi
call fcn.0044e6d0
lea eax, [edi + 0x3c]
mov ecx, esi
push eax
push dword [edi + 0x24]
push edi
call fcn.0044e6d0
lea eax, [edi + 0x48]
mov ecx, esi
push eax
push dword [edi + 0x2c]
push edi
call fcn.0044e6d0
inc ebx
cmp ebx, dword [esi + 0x62c]
jl 0x42f040
cmp dword [esi + 0x240], 0
je 0x42f0d2
mov ecx, esi
call fcn.0043cd60
test eax, eax
je 0x42f213
mov eax, dword [esi + 0x240]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esi + 0x240], 0
cmp dword [0x4fb454], 0
je 0x42f0e2
mov ecx, esi
call fcn.0044e820
mov ecx, dword [esi + 0xb00]
test ecx, ecx
je 0x42f107
mov eax, dword [ecx]
push 1
call dword [eax]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [0x4faaac]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [esi + 0x250]
mov ecx, esi
push 0
push 0
push 0
push 0x68
call fcn.00436750
test eax, eax
je 0x42f213
push 0
push 0
push 0
push 0x68
mov ecx, esi
call fcn.00436750
test eax, eax
je 0x42f213
mov ecx, dword [esi + 0x650]
mov eax, dword [esi + 0x614]
push 0
push 0
mov dword [ecx + 8], eax
mov ecx, esi
push 0
push dword [esi + 0x610]
call fcn.00440950
test eax, eax
je 0x42f213
push dword [esi + 0x610]
mov ecx, esi
call fcn.00440d90
test eax, eax
je 0x42f213
lea eax, [ebp + 0xf]
mov ecx, esi
push eax
push 3
lea eax, [ebp + 8]
push eax
push 0
push str.ErrorLevel
call fcn.0043f980
test eax, eax
je 0x42f1a9
mov dword [0x4faa64], eax
jmp 0x42f1cd
xor eax, eax
mov ecx, esi
cmp byte [ebp + 0xf], al
setne al
inc eax
push eax
push dword [ebp + 8]
push 0
push str.ErrorLevel
call fcn.0043ffc0
mov dword [0x4faa64], eax
test eax, eax
je 0x42f213
push 1
push 0
push 0xffffffffffffffff
push 0x4cecf8
mov ecx, eax
call fcn.004b4bf0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0x14]
call fcn.0042a2a0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esi + 0x650], 0
mov ecx, dword [ebp - 0xc]
or eax, 0xffffffff
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc