Function at 0x6bcb50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x76e816
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
call fcn.006ad030
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push 9
xor ebx, ebx
push ebx
push 0x69d2c8
mov dword [esp + 0x2c], ebx
mov ecx, dword [edi + 0x24c]
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x48], edi
call ecx
cmp eax, ebx
jne 0x6bce55
lea edx, [esp + 0x8c]
push edx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x6bce55
push 2
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x74]
call fcn.006b9830
mov dword [esp + 0x3a0], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1a0]
push edx
push eax
mov dword [esp + 0x4c], 0x100
mov edx, dword [edi + 0x294]
push ecx
call edx
sub eax, ebx
je 0x6bcc42
sub eax, 0xea
jne 0x6bce2f
inc dword [esp + 0x18]
jmp 0x6bcc02
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 0x24c]
push 9
push ebx
lea ecx, [esp + 0x198]
push ecx
push edx
mov dword [esp + 0x34], ebx
call eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x28], 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
lea edx, [esp + 0x34]
push edx
mov edx, dword [edi + 0x29c]
lea eax, [esp + 0x2a0]
push eax
push ebx
push ecx
mov dword [esp + 0x44], 0x100
call edx
sub eax, 0
je 0x6bccb1
sub eax, 0xea
jne 0x6bcdd0
inc ebx
jmp 0x6bcc70
cmp dword [esp + 0x28], 1
jne 0x6bcd61
cmp dword [esp + 0x24], 2
jb 0x6bcd61
push 2
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x54]
call fcn.006b9830
mov eax, dword [esp + 0x64]
mov byte [esp + 0x3a0], 1
mov edi, 0x10
test eax, eax
je 0x6bcd09
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x6bccfd
lea ecx, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov eax, dword [esp + 0x64]
cmp eax, 1
ja 0x6bcd13
call fcn.00755a8b
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], edi
jae 0x6bcd21
lea eax, [esp + 0x54]
cmp byte [eax + 1], 0x3a
jne 0x6bcd3c
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esi + 0xf0]
call fcn.006bc5e0
mov byte [esp + 0x3a0], 0
mov dword [esp + 0x4c], 0x6a0f10
cmp dword [esp + 0x68], edi
jb 0x6bcd66
mov eax, dword [esp + 0x54]
push eax
call fcn.00755e35
add esp, 4
jmp 0x6bcd66
mov edi, 0x10
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x6bcd8a
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], edi
jae 0x6bcd82
lea eax, [esp + 0x74]
push ecx
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x3c]
add esi, 0xf0
push edx
mov ecx, esi
call fcn.0073bfc0
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
test eax, eax
je 0x6bcdb2
cmp eax, esi
je 0x6bcdb7
call fcn.007564b6
cmp dword [esp + 0x3c], edi
je 0x6bcdc2
mov byte [esp + 0x17], 1
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
inc ebx
jmp 0x6bcc70
sub eax, 0x19
jne 0x6bce79
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x2a4]
push eax
call ecx
cmp byte [esp + 0x17], 0
jne 0x6bce9a
mov edx, dword [esi + 0x108]
mov eax, dword [edx + 4]
add esi, 0xf0
push eax
mov ecx, esi
call fcn.006ba340
mov eax, dword [esi + 0x18]
inc dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
mov esi, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x6bcc02
sub eax, 0x19
jne 0x6bce41
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x2a4]
push ecx
call edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x3a0], 0xffffffff
call fcn.006d1790
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.007562ca
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x6c], 0x6a0f10
jb 0x6bce55
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00755e35
add esp, 4
jmp 0x6bce55
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x2a4]
push edx
call eax
jmp 0x6bce41