Function at 0x42c270
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ecx, 0x14
push edi
mov byte [esi + 0x154], 1
mov word [esi + 0x630], 0
call fcn.00497860
mov dword [esp + 0x10], eax
test eax, eax
je 0x42c2c4
mov dword [eax], vtable.Label.0
mov dword [eax + 4], 0x4d0335
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
jmp 0x42c2c6
xor eax, eax
mov dword [esi + 0x390], eax
test eax, eax
je 0x42c4e1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0042cc30
cmp eax, 1
jne 0x42c4e1
push 0
push 0
push 0
push 0x68
mov ecx, esi
call fcn.004330c0
test eax, eax
je 0x42c4e1
push dword [esi + 0x350]
mov ecx, esi
call fcn.0043b090
test eax, eax
je 0x42c4e1
push dword [esi + 0x350]
mov ecx, esi
call fcn.0043b1a0
cmp dword [esi + 0x358], 0
je 0x42c356
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 0x42c3c4
mov eax, dword [esi + 0x368]
mov edi, dword [eax + ebx*4]
cmp byte [edi + 0x51], 0
jne 0x42c3bb
test byte [edi + 0x50], 4
jne 0x42c3bb
cmp byte [edi + 0x53], 0
jne 0x42c3bb
lea eax, [edi + 0x34]
mov byte [edi + 0x53], 1
push eax
push dword [edi + 0x20]
mov ecx, esi
push edi
call fcn.00447910
lea eax, [edi + 0x40]
mov ecx, esi
push eax
push dword [edi + 0x28]
push edi
call fcn.00447910
lea eax, [edi + 0x3c]
mov ecx, esi
push eax
push dword [edi + 0x24]
push edi
call fcn.00447910
lea eax, [edi + 0x48]
mov ecx, esi
push eax
push dword [edi + 0x2c]
push edi
call fcn.00447910
inc ebx
cmp ebx, dword [esi + 0x36c]
jl 0x42c360
cmp dword [esi + 0x140], 0
je 0x42c3f2
mov ecx, esi
call fcn.00437710
test eax, eax
je 0x42c4e1
mov eax, dword [esi + 0x140]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esi + 0x140], 0
cmp dword [0x4e8298], 0
je 0x42c402
mov ecx, esi
call fcn.00447a60
mov ecx, dword [esi + 0x638]
test ecx, ecx
je 0x42c41d
mov eax, dword [ecx]
push 1
call dword [eax]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [0x4e7984]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
inc dword [esi + 0x150]
mov ecx, esi
push 0
push 0
push 0
push 0x68
call fcn.004330c0
test eax, eax
je 0x42c4e1
push 0
push 0
push 0
push 0x68
mov ecx, esi
call fcn.004330c0
test eax, eax
je 0x42c4e1
mov ecx, dword [esi + 0x390]
mov eax, dword [esi + 0x354]
push 0
push 0
mov dword [ecx + 8], eax
mov ecx, esi
push 0
push dword [esi + 0x350]
call fcn.0043b220
test eax, eax
je 0x42c4e1
push dword [esi + 0x350]
mov ecx, esi
call fcn.0043b660
test eax, eax
je 0x42c4e1
push 3
push 0
push str.ErrorLevel
mov ecx, esi
call fcn.0043a3b0
mov dword [0x4e7934], eax
test eax, eax
je 0x42c4e1
push 1
push 0
push 0xffffffffffffffff
push 0x4d03bc
mov ecx, eax
call fcn.0049e6b0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x10]
call fcn.00426fd0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc