Function at 0x100154f0
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 0x10015510
mov al, 1
jmp 0x10015870
cmp dword [ebp + 8], 0
jne 0x1001551d
mov al, 1
jmp 0x10015870
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x1001552e
mov al, 1
jmp 0x10015870
mov edx, dword [ebp + 8]
push edx
call fcn.1003e400
add esp, 4
cmp eax, 0x200
jb 0x10015548
mov al, 1
jmp 0x10015870
mov eax, dword [ebp + 8]
push eax
call fcn.1003e400
add esp, 4
cmp eax, 3
jae 0x10015560
mov al, 1
jmp 0x10015870
push 0x1005a5d8
mov ecx, dword [ebp + 8]
push ecx
call fcn.10008370
add esp, 8
test eax, eax
je 0x1001557c
mov al, 1
jmp 0x10015870
push 0x1005a5dc
mov edx, dword [ebp + 8]
push edx
call fcn.10008370
add esp, 8
test eax, eax
je 0x10015598
mov al, 1
jmp 0x10015870
push 0x1005a5e0
mov eax, dword [ebp + 8]
push eax
call fcn.10008370
add esp, 8
test eax, eax
je 0x100155b4
mov al, 1
jmp 0x10015870
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x207]
push ecx
call fcn.1003e4a0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.1003e400
add esp, 4
cmp eax, 0x200
jae 0x100155f7
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 0x10015611
lea eax, [ebp - 0x208]
push eax
call fcn.1003e899
add esp, 4
push str.MAILSLOT_
lea ecx, [ebp - 0x208]
push ecx
call fcn.10008370
add esp, 8
test eax, eax
je 0x10015630
mov al, 1
jmp 0x10015870
push str._INDEX_ALLOCATION
lea edx, [ebp - 0x208]
push edx
call fcn.10008370
add esp, 8
test eax, eax
je 0x1001564f
mov al, 1
jmp 0x10015870
push str.THUMBS.DB
lea eax, [ebp - 0x208]
push eax
call fcn.10008370
add esp, 8
test eax, eax
je 0x1001566e
mov al, 1
jmp 0x10015870
push 0x1005a610
lea ecx, [ebp - 0x208]
push ecx
call fcn.10008370
add esp, 8
test eax, eax
je 0x1001568d
mov al, 1
jmp 0x10015870
cmp dword [0x1012139c], 0
je 0x100156c4
push 0x1005a618
mov edx, dword [ebp + 8]
push edx
call fcn.10008370
add esp, 8
test eax, eax
jne 0x100156bd
push 0x2e
mov eax, dword [ebp + 8]
push eax
call fcn.10003a50
add esp, 8
test eax, eax
jne 0x100156c4
mov al, 1
jmp 0x10015870
lea ecx, [ebp - 0x208]
push ecx
call fcn.10015090
add esp, 4
movzx edx, al
test edx, edx
je 0x100156e1
mov al, 1
jmp 0x10015870
cmp dword [0x10142c00], 0
je 0x10015704
mov eax, dword [ebp + 8]
push eax
call fcn.100101f0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10015704
xor al, al
jmp 0x10015870
cmp dword [ebp + 0xc], 0
je 0x10015780
mov byte [ebp - 0x408], 0
push 0x1ff
push 0
lea edx, [ebp - 0x407]
push edx
call fcn.1003e4a0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.1003e400
add esp, 4
cmp eax, 0x200
jae 0x1001574d
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 0x10015767
lea ecx, [ebp - 0x408]
push ecx
call fcn.1003e899
add esp, 4
movsx edx, byte [ebp - 0x208]
movsx eax, byte [ebp - 0x408]
cmp edx, eax
jne 0x10015780
mov al, 1
jmp 0x10015870
movsx ecx, byte [ebp - 0x208]
cmp ecx, 0x41
jl 0x10015798
movsx edx, byte [ebp - 0x208]
cmp edx, 0x5a
jle 0x100157d9
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x100157d9
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 1]
cmp eax, 0x5c
je 0x100157d9
cmp dword [0x10120f8c], 0
jne 0x100157d9
lea ecx, [ebp - 0x208]
push ecx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x208]
push edx
call fcn.1003e899
add esp, 4
movsx eax, byte [0x1028e000]
test eax, eax
jne 0x100157e9
call sym.TC_AD.DLL_FDrv
movsx ecx, byte [ebp - 0x207]
cmp ecx, 0x3a
jne 0x1001581b
movsx edx, byte [ebp - 0x208]
sub edx, 0x41
cmp edx, 0x1a
jge 0x1001581b
movsx eax, byte [ebp - 0x208]
movsx ecx, byte [eax + 0x1028dfbf]
cmp ecx, 3
jne 0x1001581b
mov al, 1
jmp 0x10015870
push 0x1005a620
mov edx, dword [ebp + 8]
push edx
call fcn.10008370
add esp, 8
test eax, eax
je 0x10015834
mov al, 1
jmp 0x10015870
mov eax, dword [ebp + 8]
push eax
call fcn.1003e400
add esp, 4
cmp eax, 2
jbe 0x1001586e
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 1]
cmp edx, 0x3a
je 0x1001586e
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x1001586a
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 1]
cmp eax, 0x5c
jne 0x1001586a
jmp 0x1001586e
mov al, 1
jmp 0x10015870
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003e48b
mov esp, ebp
pop ebp
ret