Function at 0x10015510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10067bf0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x10015530
mov al, 1
jmp 0x10015890
cmp dword [ebp + 8], 0
jne 0x1001553d
mov al, 1
jmp 0x10015890
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x1001554e
mov al, 1
jmp 0x10015890
mov edx, dword [ebp + 8]
push edx
call fcn.1003e420
add esp, 4
cmp eax, 0x200
jb 0x10015568
mov al, 1
jmp 0x10015890
mov eax, dword [ebp + 8]
push eax
call fcn.1003e420
add esp, 4
cmp eax, 3
jae 0x10015580
mov al, 1
jmp 0x10015890
push 0x1005a5d8
mov ecx, dword [ebp + 8]
push ecx
call fcn.10008370
add esp, 8
test eax, eax
je 0x1001559c
mov al, 1
jmp 0x10015890
push 0x1005a5dc
mov edx, dword [ebp + 8]
push edx
call fcn.10008370
add esp, 8
test eax, eax
je 0x100155b8
mov al, 1
jmp 0x10015890
push 0x1005a5e0
mov eax, dword [ebp + 8]
push eax
call fcn.10008370
add esp, 8
test eax, eax
je 0x100155d4
mov al, 1
jmp 0x10015890
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x207]
push ecx
call fcn.1003e4c0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.1003e420
add esp, 4
cmp eax, 0x200
jae 0x10015617
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.10008420
add esp, 8
movsx edx, byte [ebp - 0x208]
test edx, edx
je 0x10015631
lea eax, [ebp - 0x208]
push eax
call fcn.1003e8b9
add esp, 4
push str.MAILSLOT_
lea ecx, [ebp - 0x208]
push ecx
call fcn.10008370
add esp, 8
test eax, eax
je 0x10015650
mov al, 1
jmp 0x10015890
push str._INDEX_ALLOCATION
lea edx, [ebp - 0x208]
push edx
call fcn.10008370
add esp, 8
test eax, eax
je 0x1001566f
mov al, 1
jmp 0x10015890
push str.THUMBS.DB
lea eax, [ebp - 0x208]
push eax
call fcn.10008370
add esp, 8
test eax, eax
je 0x1001568e
mov al, 1
jmp 0x10015890
push 0x1005a610
lea ecx, [ebp - 0x208]
push ecx
call fcn.10008370
add esp, 8
test eax, eax
je 0x100156ad
mov al, 1
jmp 0x10015890
cmp dword [0x1012139c], 0
je 0x100156e4
push 0x1005a618
mov edx, dword [ebp + 8]
push edx
call fcn.10008370
add esp, 8
test eax, eax
jne 0x100156dd
push 0x2e
mov eax, dword [ebp + 8]
push eax
call fcn.10003a50
add esp, 8
test eax, eax
jne 0x100156e4
mov al, 1
jmp 0x10015890
lea ecx, [ebp - 0x208]
push ecx
call fcn.100150b0
add esp, 4
movzx edx, al
test edx, edx
je 0x10015701
mov al, 1
jmp 0x10015890
cmp dword [0x10142c00], 0
je 0x10015724
mov eax, dword [ebp + 8]
push eax
call fcn.10010210
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10015724
xor al, al
jmp 0x10015890
cmp dword [ebp + 0xc], 0
je 0x100157a0
mov byte [ebp - 0x408], 0
push 0x1ff
push 0
lea edx, [ebp - 0x407]
push edx
call fcn.1003e4c0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.1003e420
add esp, 4
cmp eax, 0x200
jae 0x1001576d
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.10008420
add esp, 8
movsx eax, byte [ebp - 0x408]
test eax, eax
je 0x10015787
lea ecx, [ebp - 0x408]
push ecx
call fcn.1003e8b9
add esp, 4
movsx edx, byte [ebp - 0x208]
movsx eax, byte [ebp - 0x408]
cmp edx, eax
jne 0x100157a0
mov al, 1
jmp 0x10015890
movsx ecx, byte [ebp - 0x208]
cmp ecx, 0x41
jl 0x100157b8
movsx edx, byte [ebp - 0x208]
cmp edx, 0x5a
jle 0x100157f9
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x100157f9
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 1]
cmp eax, 0x5c
je 0x100157f9
cmp dword [0x10120f8c], 0
jne 0x100157f9
lea ecx, [ebp - 0x208]
push ecx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x208]
push edx
call fcn.1003e8b9
add esp, 4
movsx eax, byte [0x1028e000]
test eax, eax
jne 0x10015809
call sym.TC_AD.DLL_FDrv
movsx ecx, byte [ebp - 0x207]
cmp ecx, 0x3a
jne 0x1001583b
movsx edx, byte [ebp - 0x208]
sub edx, 0x41
cmp edx, 0x1a
jge 0x1001583b
movsx eax, byte [ebp - 0x208]
movsx ecx, byte [eax + 0x1028dfbf]
cmp ecx, 3
jne 0x1001583b
mov al, 1
jmp 0x10015890
push 0x1005a620
mov edx, dword [ebp + 8]
push edx
call fcn.10008370
add esp, 8
test eax, eax
je 0x10015854
mov al, 1
jmp 0x10015890
mov eax, dword [ebp + 8]
push eax
call fcn.1003e420
add esp, 4
cmp eax, 2
jbe 0x1001588e
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 1]
cmp edx, 0x3a
je 0x1001588e
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x1001588a
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 1]
cmp eax, 0x5c
jne 0x1001588a
jmp 0x1001588e
mov al, 1
jmp 0x10015890
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e4ab
mov esp, ebp
pop ebp
ret