Function at 0x42dcb0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dcd2d
push eax
mov dword fs:[0], esp
sub esp, 0x54
cmp dword [0x4fd1cc], 0
push ebx
push esi
mov esi, ecx
push edi
mov byte [esi + 0x154], 1
mov word [esi + 0x630], 0
jne 0x42dcfb
call fcn.004a8b90
mov dword [0x4fd1cc], eax
test eax, eax
je 0x42e008
mov edx, dword [0x4fd1c8]
cmp dword [edx + 8], 0x14
jae 0x42dd1d
call fcn.004a8b90
mov edx, dword [0x4fd1c8]
mov dword [edx + 0xc], eax
test eax, eax
je 0x42e008
mov ecx, dword [edx + 4]
add dword [edx + 8], 0xffffffec
mov dword [0x4fd1c4], ecx
lea eax, [ecx + 0x14]
mov dword [edx + 4], eax
test ecx, ecx
je 0x42e008
lea eax, [esi + 0x390]
mov dword [ecx], vtable.Label.0
mov dword [ecx + 4], 0x4e3371
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [eax], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x10], eax
call fcn.0042bb50
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.0042e3e0
mov edi, eax
cmp edi, 3
jne 0x42dd9d
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.0042ea20
mov edi, eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0042bbe0
cmp edi, 1
jne 0x42e012
push 0
push 0
push 0
push 0x68
mov ecx, esi
call fcn.004358e0
test eax, eax
je 0x42e012
push dword [esi + 0x350]
mov ecx, esi
call fcn.0043fc70
test eax, eax
je 0x42e012
push dword [esi + 0x350]
mov ecx, esi
call fcn.0043fd80
cmp dword [esi + 0x358], 0
je 0x42de21
mov ecx, dword [esi + 0x35c]
mov eax, dword [esi + 0x350]
mov dword [ecx + 0x14], eax
mov ecx, dword [esi + 0x350]
mov eax, dword [esi + 0x35c]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x358]
mov dword [esi + 0x350], eax
xor ebx, ebx
cmp dword [esi + 0x36c], ebx
jle 0x42dea4
lea eax, [esi + 0x390]
mov dword [ebp - 0x10], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esi + 0x368]
mov edi, dword [eax + ebx*4]
cmp byte [edi + 0x51], 0
jne 0x42de9b
test byte [edi + 0x50], 4
jne 0x42de9b
cmp byte [edi + 0x53], 0
jne 0x42de9b
lea eax, [edi + 0x34]
mov byte [edi + 0x53], 1
push eax
push dword [edi + 0x20]
mov ecx, esi
push edi
call fcn.0044e4c0
lea eax, [edi + 0x40]
mov ecx, esi
push eax
push dword [edi + 0x28]
push edi
call fcn.0044e4c0
lea eax, [edi + 0x3c]
mov ecx, esi
push eax
push dword [edi + 0x24]
push edi
call fcn.0044e4c0
lea eax, [edi + 0x48]
mov ecx, esi
push eax
push dword [edi + 0x2c]
push edi
call fcn.0044e4c0
inc ebx
cmp ebx, dword [esi + 0x36c]
jl 0x42de40
cmp dword [esi + 0x140], 0
je 0x42ded2
mov ecx, esi
call fcn.0043c0a0
test eax, eax
je 0x42e012
mov eax, dword [esi + 0x140]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esi + 0x140], 0
cmp dword [0x4fc2b0], 0
je 0x42dee2
mov ecx, esi
call fcn.0044e610
mov ecx, dword [esi + 0x638]
test ecx, ecx
je 0x42df07
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 [0x4fb99c]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
inc dword [esi + 0x150]
mov ecx, esi
push 0
push 0
push 0
push 0x68
call fcn.004358e0
test eax, eax
je 0x42e012
push 0
push 0
push 0
push 0x68
mov ecx, esi
call fcn.004358e0
test eax, eax
je 0x42e012
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x354]
push 0
push 0
mov ecx, dword [ecx]
push 0
mov dword [ecx + 8], eax
mov ecx, esi
push dword [esi + 0x350]
call fcn.0043fe10
test eax, eax
je 0x42e012
push dword [esi + 0x350]
mov ecx, esi
call fcn.00440250
test eax, eax
je 0x42e012
lea eax, [ebp + 0xf]
mov ecx, esi
push eax
push 3
lea eax, [ebp + 8]
push eax
push 0
push str.ErrorLevel
call fcn.0043eed0
test eax, eax
je 0x42dfa8
mov dword [0x4fb94c], eax
jmp 0x42dfcc
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.0043f410
mov dword [0x4fb94c], eax
test eax, eax
je 0x42e012
push 1
push 0
push 0xffffffffffffffff
push 0x4e33f8
mov ecx, eax
call fcn.004b01a0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0x14]
call fcn.00428930
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 + 0x390], 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