Function at 0x42dd30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c240d
push eax
mov dword fs:[0], esp
sub esp, 0x54
cmp dword [0x4db1dc], 0
push ebx
push esi
mov esi, ecx
push edi
mov byte [esi + 0x154], 1
mov word [esi + 0x630], 0
jne 0x42dd7b
call fcn.004a8e80
mov dword [0x4db1dc], eax
test eax, eax
je 0x42e088
mov edx, dword [0x4db1d8]
cmp dword [edx + 8], 0x14
jae 0x42dd9d
call fcn.004a8e80
mov edx, dword [0x4db1d8]
mov dword [edx + 0xc], eax
test eax, eax
je 0x42e088
mov ecx, dword [edx + 4]
add dword [edx + 8], 0xffffffec
mov dword [0x4db1d4], ecx
lea eax, [ecx + 0x14]
mov dword [edx + 4], eax
test ecx, ecx
je 0x42e088
lea eax, [esi + 0x390]
mov dword [ecx], vtable.Label.0
mov dword [ecx + 4], 0x4c3c29
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.0042bbc0
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.0042e460
mov edi, eax
cmp edi, 3
jne 0x42de1d
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.0042eab0
mov edi, eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0042bc50
cmp edi, 1
jne 0x42e092
push 0
push 0
push 0
push 0x68
mov ecx, esi
call fcn.004359f0
test eax, eax
je 0x42e092
push dword [esi + 0x350]
mov ecx, esi
call fcn.0043fa70
test eax, eax
je 0x42e092
push dword [esi + 0x350]
mov ecx, esi
call fcn.0043fb80
cmp dword [esi + 0x358], 0
je 0x42dea1
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 0x42df24
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 0x42df1b
test byte [edi + 0x50], 4
jne 0x42df1b
cmp byte [edi + 0x53], 0
jne 0x42df1b
lea eax, [edi + 0x34]
mov byte [edi + 0x53], 1
push eax
push dword [edi + 0x20]
mov ecx, esi
push edi
call fcn.0044e210
lea eax, [edi + 0x40]
mov ecx, esi
push eax
push dword [edi + 0x28]
push edi
call fcn.0044e210
lea eax, [edi + 0x3c]
mov ecx, esi
push eax
push dword [edi + 0x24]
push edi
call fcn.0044e210
lea eax, [edi + 0x48]
mov ecx, esi
push eax
push dword [edi + 0x2c]
push edi
call fcn.0044e210
inc ebx
cmp ebx, dword [esi + 0x36c]
jl 0x42dec0
cmp dword [esi + 0x140], 0
je 0x42df52
mov ecx, esi
call fcn.0043c080
test eax, eax
je 0x42e092
mov eax, dword [esi + 0x140]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esi + 0x140], 0
cmp dword [0x4da2c0], 0
je 0x42df62
mov ecx, esi
call fcn.0044e360
mov ecx, dword [esi + 0x638]
test ecx, ecx
je 0x42df87
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 [0x4d99ac]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
inc dword [esi + 0x150]
mov ecx, esi
push 0
push 0
push 0
push 0x68
call fcn.004359f0
test eax, eax
je 0x42e092
push 0
push 0
push 0
push 0x68
mov ecx, esi
call fcn.004359f0
test eax, eax
je 0x42e092
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.0043fc10
test eax, eax
je 0x42e092
push dword [esi + 0x350]
mov ecx, esi
call fcn.00440050
test eax, eax
je 0x42e092
lea eax, [ebp + 0xf]
mov ecx, esi
push eax
push 3
lea eax, [ebp + 8]
push eax
push 0
push str.ErrorLevel
call fcn.0043ece0
test eax, eax
je 0x42e028
mov dword [0x4d995c], eax
jmp 0x42e04c
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.0043f230
mov dword [0x4d995c], eax
test eax, eax
je 0x42e092
push 1
push 0
push 0xffffffffffffffff
push 0x4c3cb0
mov ecx, eax
call fcn.004b04f0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0x14]
call fcn.00428ac0
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