Function at 0x6dbdb50
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x6dbdb58
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x6dbe1bc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, esi
call fcn.06db5f20
test al, al
jne 0x6dbe184
cmp dword [ebp + 8], 0
je 0x6dbe184
cmp dword [ebp + 0x10], 0
je 0x6dbe184
test esi, esi
je 0x6dbe184
call fcn.06db6864
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
call fcn.06db43bc
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.06db43bc
lea ecx, [ebp - 4]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.06dbd1b4
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
call fcn.06dbcae8
mov edx, dword [ebp - 0xc]
mov eax, 0x6dbe1d8
call fcn.06db5e9c
test al, al
je 0x6dbdbf6
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.06db43bc
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.06db6d50
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x6dbdc0d
sub eax, 4
mov eax, dword [eax]
cmp eax, 4
jge 0x6dbdc16
mov al, 1
jmp 0x6dbdc36
lea eax, [ebp - 0x2c]
call fcn.06db71b4
lea eax, [ebp - 0x2c]
mov edx, 0x6dbe1e4
call fcn.06db45cc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.06db6258
test al, al
je 0x6dbdc3e
mov al, 1
jmp 0x6dbdc5e
lea eax, [ebp - 0x30]
call fcn.06db6324
lea eax, [ebp - 0x30]
mov edx, 0x6dbe1e4
call fcn.06db45cc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.06db6258
test al, al
jne 0x6dbe184
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, 0x6dbe1f0
call fcn.06db4618
mov eax, dword [ebp - 0x34]
push eax
call fcn.06db75b4
lea ecx, [ebp - 0x14]
mov edx, 0x6dbe204
mov eax, 0x80000002
call fcn.06db9438
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.06db5e9c
test al, al
jne 0x6dbdcca
push dword [ebp - 0x10]
push 0x6dbe240
push dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.06db4694
mov ecx, dword [ebp - 0x14]
mov edx, 0x6dbe204
mov eax, 0x80000002
call fcn.06db91ec
lea eax, [ebp - 0x20]
mov edx, 0x6dbe24c
call fcn.06db43bc
mov eax, dword [ebp - 0x10]
call fcn.06db4790
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [ebp - 0x38]
mov edx, dword [0x6de31bc]
mov edx, dword [edx]
call fcn.06db451c
mov eax, dword [ebp - 0x38]
call fcn.06db6800
lea eax, [ebp - 0x3c]
mov edx, dword [0x6de3118]
mov edx, dword [edx]
call fcn.06db451c
mov eax, dword [ebp - 0x3c]
call fcn.06db6800
mov eax, 0x6dbe258
call fcn.06db6800
mov eax, 0x6dbe26c
call fcn.06db6800
mov eax, 0x6dbe27c
call fcn.06db6800
mov eax, 0x6dbe290
call fcn.06db6800
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.06db4618
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.06db6dd8
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x18]
call fcn.06db6d94
push 0x6dbe2a4
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.06db6e70
push dword [ebp - 0x48]
push 0x6dbe2d8
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.06db4694
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov eax, 0x80000002
call fcn.06db91ec
lea edx, [ebp - 0x28]
mov eax, 0x6dbe2ec
call fcn.06dbd968
cmp dword [ebp - 0x28], 0
je 0x6dbe184
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
add edx, 0xc4
mov ecx, 0x126
call fcn.06db4594
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x28]
add edx, 0x20c
mov ecx, 6
call fcn.06db338c
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x60]
call fcn.06db3188
mov edx, 0x6dbe2f8
lea eax, [ebp - 0x60]
mov cl, 7
call fcn.06db3158
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x50]
call fcn.06db4588
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x18]
call fcn.06db45cc
mov eax, dword [ebp - 0x50]
pop edx
call fcn.06db5e9c
test al, al
je 0x6dbde59
mov bl, 1
push dword [ebp - 0x20]
push esi
push 0x6dbe304
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0x28]
add edx, 0x20c
mov ecx, 6
call fcn.06db4594
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.06db4694
mov eax, dword [ebp - 0x64]
push eax
call fcn.06db75b4
jmp 0x6dbe184
cmp dword [ebp - 4], 0
je 0x6dbdeb2
mov eax, dword [ebp - 4]
call fcn.06dbcc20
test al, al
jne 0x6dbde84
lea eax, [ebp - 0x6c]
mov ecx, 0x6dbe320
mov edx, dword [ebp - 4]
call fcn.06db4618
mov eax, dword [ebp - 0x6c]
push eax
call fcn.06db75b4
push 0x6dbe338
push dword [ebp - 4]
push 0x6dbe364
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.06db4694
mov edx, dword [ebp - 0x70]
mov ecx, 2
mov eax, 0x80000002
call fcn.06db93d8
jmp 0x6dbdeba
mov eax, dword [ebp - 0x24]
call fcn.06dbd7dc
mov eax, dword [ebp - 0x1c]
call fcn.06db71a4
test al, al
je 0x6dbdeda
mov eax, dword [ebp - 0x1c]
call fcn.06db7468
test al, al
je 0x6dbdeda
mov eax, dword [ebp - 0x10]
call fcn.06dbccb8
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov eax, 0x6dbe374
call fcn.06dbdb08
mov eax, 0x6dbe388
call fcn.06dbdb08
mov eax, 0x6dbe39c
call fcn.06dbdb08
lea eax, [ebp - 0x74]
mov edx, dword [0x6de31bc]
mov edx, dword [edx]
call fcn.06db451c
mov eax, dword [ebp - 0x74]
call fcn.06dbdb08
lea eax, [ebp - 0x78]
mov edx, dword [0x6de3118]
mov edx, dword [edx]
call fcn.06db451c
mov eax, dword [ebp - 0x78]
call fcn.06dbdb08
mov eax, dword [ebp - 0x1c]
call fcn.06db6788
test al, al
je 0x6dbdf59
lea eax, [ebp - 0x7c]
mov ecx, 0x6dbe3b0
mov edx, dword [ebp - 0x20]
call fcn.06db4618
mov eax, dword [ebp - 0x7c]
push eax
call fcn.06db75b4
jmp 0x6dbdf72
lea eax, [ebp - 0x80]
mov ecx, 0x6dbe3d4
mov edx, dword [ebp - 0x20]
call fcn.06db4618
mov eax, dword [ebp - 0x80]
push eax
call fcn.06db75b4
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x218]
mov eax, dword [ebp - 0x28]
add eax, 0x21c
mov ecx, dword [ebp - 0x1c]
call fcn.06dbb718
test al, al
jne 0x6dbdf9a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
call fcn.06db790c
lea eax, [ebp - 0x88]
mov edx, dword [0x6de3118]
mov edx, dword [edx]
call fcn.06db451c
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x10]
call fcn.06db4618
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x218]
mov eax, dword [ebp - 0x28]
add eax, 0x21c
call fcn.06dbb718
mov eax, dword [ebp - 0x1c]
call fcn.06db71a4
test al, al
jne 0x6dbe008
lea eax, [ebp - 0x8c]
mov ecx, 0x6dbe3fc
mov edx, dword [ebp - 0x20]
call fcn.06db4618
mov eax, dword [ebp - 0x8c]
push eax
call fcn.06db75b4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.06db6ad0
cmp dword [ebp - 4], 0
je 0x6dbe062
mov eax, dword [ebp - 4]
call fcn.06dbd428
test al, al
jne 0x6dbe062
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.06dbd428
test al, al
jne 0x6dbe062
push dword [ebp - 0x20]
push dword [ebp - 4]
push 0x6dbe41c
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.06db4694
mov eax, dword [ebp - 0x90]
push eax
call fcn.06db75b4
cmp dword [ebp - 4], 0
jne 0x6dbe075
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.06db7d3c
mov dword [ebp - 0x24], eax
push 0xbb8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x28]
add edx, 0xc4
mov ecx, 0x126
call fcn.06db4594
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x28]
add edx, 0x20c
mov ecx, 6
call fcn.06db338c
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x60]
call fcn.06db3188
mov edx, 0x6dbe2f8
lea eax, [ebp - 0x60]
mov cl, 7
call fcn.06db3158
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x98]
call fcn.06db4588
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x18]
call fcn.06db45cc
mov eax, dword [ebp - 0x98]
pop edx
call fcn.06db5e9c
mov ebx, eax
test bl, bl
je 0x6dbe11e
lea eax, [ebp - 0x9c]
mov ecx, 0x6dbe438
mov edx, dword [ebp - 0x20]
call fcn.06db4618
mov eax, dword [ebp - 0x9c]
push eax
call fcn.06db75b4
jmp 0x6dbe17c
lea eax, [ebp - 0xa0]
mov ecx, 0x6dbe458
mov edx, dword [ebp - 0x20]
call fcn.06db4618
mov eax, dword [ebp - 0xa0]
push eax
call fcn.06db75b4
mov edx, dword [ebp + 0x10]
mov eax, 0x6dbe470
call fcn.06db5e9c
test al, al
je 0x6dbe15e
mov edx, esi
mov eax, 0x6dbe484
call fcn.06db5e9c
test al, al
je 0x6dbe166
mov eax, dword [ebp - 0x1c]
call fcn.06db6788
mov eax, dword [ebp - 4]
call fcn.06dbd428
test al, al
jne 0x6dbe17c
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.06db7d3c
mov eax, dword [ebp - 0x10]
call fcn.06dbd59c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6dbe1c3
lea eax, [ebp - 0xa0]
mov edx, 0x10
call fcn.06db4348
lea eax, [ebp - 0x50]
mov edx, 0xa
call fcn.06db4348
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.06db4348
ret