Function at 0x6c93cc
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3d
push 0
push 0
dec ecx
jne 0x6c93d4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405138
lea eax, [ebp - 0x1b8]
mov edx, dword [0x408644]
call fcn.0040585c
xor eax, eax
push ebp
push 0x6c997a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6ec200]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
mov edx, dword [eax]
call dword [edx + 0xd4]
lea eax, [ebp - 0x40]
mov edx, dword [0x6ec538]
mov edx, dword [edx]
call fcn.00404d30
lea eax, [ebp - 0x1c0]
push eax
xor ecx, ecx
mov edx, 0x6c9990
mov eax, dword [ebp - 0x40]
call fcn.00448ed8
mov eax, dword [ebp - 0x1c0]
lea edx, [ebp - 0x1bc]
call fcn.00409540
mov edx, dword [ebp - 0x1bc]
lea eax, [ebp - 0x40]
call fcn.00404d30
lea eax, [ebp - 0x3c]
call fcn.00404c98
mov dl, 1
mov eax, dword [0x476260]
call fcn.00476360
mov dword [ebp - 0x58], eax
mov edx, 0x80000002
mov eax, dword [ebp - 0x58]
call fcn.00476400
mov edx, 0x6c999c
mov eax, dword [ebp - 0x58]
call fcn.00476588
lea ecx, [ebp - 0x3c]
mov edx, 0x6c99cc
mov eax, dword [ebp - 0x58]
call fcn.004767e4
mov eax, dword [ebp - 0x58]
call fcn.004763d0
mov eax, dword [ebp - 0x58]
call fcn.00403f2c
mov dl, 1
mov eax, dword [0x41aa50]
call fcn.00403efc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x51], 0
mov dl, 1
mov eax, dword [0x41aa50]
call fcn.00403efc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
call fcn.006c9278
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x6ebe18]
mov eax, dword [eax]
mov ecx, 3
mov edx, 1
call fcn.004051a8
lea eax, [ebp - 0x1c4]
push eax
mov eax, dword [0x6ec594]
mov eax, dword [eax]
mov ecx, 0x6c99e4
mov edx, 0x6c9990
call fcn.00448ed8
mov eax, dword [ebp - 0x1c4]
lea edx, [ebp - 0x2c]
call fcn.00409540
push 0x6c99f0
push dword [ebp - 0x2c]
push 0x6c9a04
lea eax, [ebp - 0x1c8]
mov edx, 3
call fcn.00405010
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
je 0x6c95bc
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x50]
inc edx
mov eax, dword [ebp - 0x48]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp - 0x30]
mov eax, 0x6c9a04
call fcn.0040528c
mov ebx, eax
mov edx, dword [ebp - 0x30]
mov eax, 0x6c9a10
call fcn.0040528c
add eax, 0xa
sub ebx, eax
push ebx
mov edx, dword [ebp - 0x30]
mov eax, 0x6c9a10
call fcn.0040528c
mov edx, eax
add edx, 0xa
mov eax, dword [ebp - 0x30]
pop ecx
call fcn.004051a8
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
call fcn.00404f9c
mov eax, dword [ebp - 0x3c]
call fcn.00409efc
mov ecx, dword [0x6ec0b8]
mov ecx, dword [ecx]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
call fcn.00404f9c
lea eax, [ebp - 0x1cc]
push eax
mov ecx, 0x6c9a24
mov edx, 0x6c9a30
mov eax, dword [ebp - 0xc]
call fcn.00448ed8
mov edx, dword [ebp - 0x1cc]
lea eax, [ebp - 0xc]
call fcn.00404d30
mov eax, dword [ebp - 0xc]
call fcn.00409bdc
test al, al
je 0x6c98d4
mov eax, dword [ebp - 0xc]
call fcn.00405148
push eax
call sub.kernel32.dll_SetCurrentDirectoryA_1
lea ecx, [ebp - 0x1b8]
mov edx, 0x3f
mov eax, 0x6c9a3c
call fcn.00409c64
test eax, eax
jne 0x6c98d4
lea eax, [ebp - 0x1d4]
mov ecx, 0x6c9a4c
mov edx, dword [ebp - 0x34]
call fcn.00404f9c
mov eax, dword [ebp - 0x1d4]
lea edx, [ebp - 0x1d0]
call fcn.004092d0
mov eax, dword [ebp - 0x1d0]
push eax
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 0x1ac]
call fcn.004092d0
mov edx, dword [ebp - 0x1d8]
pop eax
call fcn.00405094
jne 0x6c98c1
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x6c98c1
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x1dc]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1dc]
lea edx, [ebp - 0x10]
call fcn.00409540
mov edx, dword [ebp - 0x10]
mov eax, 0x6c9a5c
call fcn.0040528c
test eax, eax
jle 0x6c9720
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 0x10]
call fcn.00404e78
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x6c9a04
call fcn.0040528c
mov ecx, eax
sub ecx, 0x24
mov edx, 0x24
mov eax, dword [ebp - 0x10]
call fcn.004051a8
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 0x19]
call fcn.00404e78
mov edx, dword [ebp - 0x10]
mov eax, 0x6c9a78
call fcn.0040528c
test eax, eax
jle 0x6c9765
lea eax, [ebp - 0x1e0]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x6c9a04
call fcn.0040528c
mov ecx, eax
sub ecx, 0xa
mov edx, 0xa
mov eax, dword [ebp - 0x10]
call fcn.004051a8
mov eax, dword [ebp - 0x1e0]
lea edx, [ebp - 0x24]
call fcn.00409540
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00405094
jne 0x6c98b5
mov eax, dword [ebp - 0x20]
mov edx, 0x6c9a8c
call fcn.00405094
jne 0x6c98b5
mov edx, dword [ebp - 0x10]
mov eax, 0x6c9a98
call fcn.0040528c
test eax, eax
jle 0x6c97ce
lea eax, [ebp - 0x1e4]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x6c9a04
call fcn.0040528c
mov ecx, eax
sub ecx, 0xc
mov edx, 0xc
mov eax, dword [ebp - 0x10]
call fcn.004051a8
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x18]
call fcn.00409540
mov edx, dword [ebp - 0x10]
mov eax, 0x6c9aac
call fcn.0040528c
test eax, eax
jle 0x6c98b5
lea eax, [ebp - 0x1ec]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x6c9abc
call fcn.0040528c
mov ecx, eax
sub ecx, 7
mov edx, 7
mov eax, dword [ebp - 0x10]
call fcn.004051a8
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1e8]
xor edx, edx
call fcn.00491164
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1c]
call fcn.00409540
mov eax, dword [0x6ec380]
cmp dword [eax], 3
jne 0x6c986f
mov eax, dword [0x6ec3f0]
cmp byte [eax], 0
je 0x6c985f
mov byte [ebp - 0x52], 1
mov eax, dword [0x6ec200]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x6c98b5
mov byte [ebp - 0x51], 1
mov dl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x64]
jmp 0x6c98b5
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
call fcn.00405094
jne 0x6c98b5
mov eax, dword [0x6ec3f0]
cmp byte [eax], 0
je 0x6c98a7
mov byte [ebp - 0x52], 1
mov eax, dword [0x6ec200]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x6c98b5
mov byte [ebp - 0x51], 1
mov dl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x64]
inc dword [ebp - 0x4c]
dec dword [ebp - 0x5c]
jne 0x6c96b1
lea eax, [ebp - 0x1b8]
call fcn.00409cb4
test eax, eax
je 0x6c9639
xor eax, eax
push ebp
push 0x6c98f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
call fcn.00403f2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6c990a
cmp byte [ebp - 0x52], 0
je 0x6c992e
mov eax, dword [0x6ec200]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xe8]
dec eax
jne 0x6c992e
mov eax, dword [0x6ec200]
mov eax, dword [eax]
call fcn.00672a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9981
lea eax, [ebp - 0x1ec]
mov edx, 0xd
call fcn.00404cbc
lea eax, [ebp - 0x1b8]
mov edx, dword [0x408644]
call fcn.0040592c
lea eax, [ebp - 0x60]
call fcn.00404c98
lea eax, [ebp - 0x40]
mov edx, 0xe
call fcn.00404cbc
lea eax, [ebp - 4]
call fcn.00404c98
ret