Function at 0x6f3be0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x773295
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xbc]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov esi, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x28], 0x6a0f10
mov eax, dword [esi + 0x18]
add eax, 3
mov dword [esp + 0xb4], 1
lea edi, [ebx + 0x10]
cmp eax, 0xf
je 0x6f3c84
push 1
push eax
lea ecx, [esp + 0x34]
call fcn.006af4a0
test al, al
je 0x6f3c84
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x44], edi
jae 0x6f3c81
lea eax, [esp + 0x30]
mov byte [eax], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x44], edi
jae 0x6f3c95
lea ecx, [esp + 0x30]
add eax, 3
push eax
push ebx
push ecx
call fcn.00755e40
lea edi, [esi + 4]
add esp, 0xc
cmp dword [edi + 0x18], 0x10
jb 0x6f3cb1
mov ecx, dword [edi + 4]
jmp 0x6f3cb4
lea ecx, [edi + 4]
cmp dword [esp + 0x44], 0x10
mov edx, dword [esp + 0x30]
jae 0x6f3cc3
lea edx, [esp + 0x30]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x6f3cc3
cmp dword [esi + 0x18], ebx
jne 0x6f3d38
test byte [esp + 0xc4], 1
mov ecx, ebp
je 0x6f3d0b
push 0x6a1124
call fcn.006b2240
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x28], 0x6a0f10
jb 0x6f3d04
mov eax, dword [esp + 0x30]
push eax
call fcn.00755e35
add esp, 4
mov eax, ebp
jmp 0x6f410c
push 0x69d075
call fcn.006b2240
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x28], 0x6a0f10
jb 0x6f3d04
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00755e35
add esp, 4
mov eax, ebp
jmp 0x6f410c
test byte [esp + 0xc4], 2
jne 0x6f3d60
push 1
push ebx
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov byte [esp + 0x24], 0x20
call fcn.006f2220
mov byte [esp + 0x18], 1
cmp eax, 0xffffffff
jne 0x6f3d65
mov byte [esp + 0x18], 0
cmp dword [esp + 0x44], 0x10
mov ebp, dword [esp + 0x30]
jae 0x6f3d74
lea ebp, [esp + 0x30]
mov esi, 0x10
cmp dword [edi + 0x18], esi
jb 0x6f3d83
mov edi, dword [edi + 4]
jmp 0x6f3d86
add edi, 4
cmp byte [esp + 0x18], 0
je 0x6f3d92
mov byte [ebp], 0x22
inc ebp
mov al, byte [edi]
mov cl, byte [edi + 1]
cmp al, cl
jne 0x6f3d9f
cmp al, 0x5c
je 0x6f3da7
cmp al, 0x2f
je 0x6f3da7
xor bl, bl
jmp 0x6f3da9
mov bl, 1
mov byte [esp + 0x17], 0
cmp cl, 0x3a
jne 0x6f3dc3
movsx eax, al
push eax
call fcn.00758a97
add esp, 4
mov byte [esp + 0x17], al
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x48], 0x6a10f0
mov byte [esp + 0xb4], 2
mov byte [esp + 0x16], 0
test bl, bl
jne 0x6f3e3f
test byte [esp + 0xc4], 1
je 0x6f3e3f
lea ecx, [esp + 0x48]
call fcn.006f3790
cmp dword [esp + 0x60], 1
jae 0x6f3e10
call fcn.007564b6
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], esi
jae 0x6f3e1e
lea eax, [esp + 0x50]
cmp byte [eax + 1], 0x3a
jne 0x6f3e3f
push 0
lea ecx, [esp + 0x4c]
call fcn.006b9100
movsx ecx, byte [eax]
push ecx
call fcn.00758a97
add esp, 4
mov byte [esp + 0x16], al
mov al, byte [esp + 0x17]
test al, al
je 0x6f3e70
test byte [esp + 0xc4], 1
je 0x6f3e57
cmp al, byte [esp + 0x16]
je 0x6f3e70
movsx edx, byte [edi]
push edx
call fcn.00758a97
mov byte [ebp], al
mov al, byte [esp + 0x1b]
inc ebp
add esp, 4
mov byte [ebp], 0x3a
inc ebp
test byte [esp + 0xc4], 1
je 0x6f3ea8
cmp al, byte [esp + 0x16]
je 0x6f3ea8
mov al, byte [esp + 0x17]
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0x3a
mov byte [esp + 0x22], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x48]
call fcn.006f3790
jmp 0x6f3ead
mov byte [esp + 0x16], 0
movsx esi, byte [esp + 0x17]
mov eax, dword [esp + 0x60]
neg esi
sbb esi, esi
and esi, 2
add esi, edi
test eax, eax
je 0x6f3f8e
cmp eax, 1
jae 0x6f3ed1
call fcn.007564b6
mov eax, dword [esp + 0x50]
mov edi, 0x10
cmp dword [esp + 0x64], edi
jae 0x6f3ee4
lea eax, [esp + 0x50]
cmp byte [eax + 1], 0x3a
jne 0x6f3ef7
push 2
push 0
lea ecx, [esp + 0x54]
call fcn.006aee10
mov edx, dword [esp + 0x60]
push edx
push esi
lea ecx, [esp + 0x70]
call fcn.006b9830
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 3
call fcn.006dbc60
test eax, eax
jne 0x6f3f4d
mov ecx, dword [esp + 0x60]
mov al, byte [ecx + esi]
test al, al
je 0x6f3f44
cmp al, 0x5c
je 0x6f3f3e
cmp ecx, 1
jne 0x6f3f4d
cmp byte [esp + 0x16], 0
jne 0x6f3f4d
inc esi
jmp 0x6f3f4d
lea esi, [ecx + esi + 1]
jmp 0x6f3f4d
mov byte [ebp], 0x2e
inc ebp
add esi, dword [esp + 0x60]
mov byte [esp + 0xb4], 2
mov dword [esp + 0x68], 0x6a0f10
cmp dword [esp + 0x84], edi
jb 0x6f3f73
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00755e35
add esp, 4
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
mov edi, dword [esp + 0xc0]
test edi, edi
jne 0x6f3f9e
mov edi, accept
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6f3fa3
sub eax, edx
mov edx, eax
cmp edx, edi
jle 0x6f3fe7
xor bl, bl
mov ecx, esi
mov al, byte [esi + 1]
inc esi
test al, al
je 0x6f3fe5
cmp al, 0x5c
jne 0x6f3fb6
test bl, bl
jne 0x6f3fdb
mov eax, dword [0x6a1130]
mov dword [ebp], eax
mov al, byte [0x6a1134]
mov byte [ebp + 4], al
add ebp, 4
mov bl, 1
sub ecx, esi
add edx, ecx
cmp edx, edi
jg 0x6f3fb4
jmp 0x6f3fe7
mov esi, ecx
mov edx, ebp
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x6f3ff0
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6f4000
sub eax, edx
add ebp, eax
mov al, byte [esp + 0x16]
test al, al
je 0x6f402b
mov byte [esp + 0x1e], cl
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0x3a
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [esp + 0x18], 0
je 0x6f4037
mov byte [ebp], 0x22
inc ebp
mov byte [ebp], 0
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x6f404a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x8c]
call fcn.006b2240
mov esi, dword [esp + 0x20]
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 4]
push ebx
lea edx, [esp + 0x94]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0xc0], 4
mov byte [ecx + 4], bl
call fcn.006aff00
mov ebp, 0x6a0f10
mov edi, 0x10
mov dword [esi], ebp
mov dword [esp + 0x88], ebp
cmp dword [esp + 0xa4], edi
jb 0x6f40b1
mov eax, dword [esp + 0x90]
push eax
call fcn.00755e35
add esp, 4
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], 0
mov dword [esp + 0x48], ebp
cmp dword [esp + 0x64], edi
jb 0x6f40e2
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00755e35
add esp, 4
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
mov dword [esp + 0x28], ebp
cmp dword [esp + 0x44], edi
jb 0x6f410a
mov edx, dword [esp + 0x30]
push edx
call fcn.00755e35
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.007562ca
add esp, 0xa4
ret 0xc